56ab0c7f by xiaomiao

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents ce70133c 12df1038
Showing 37 changed files with 417 additions and 317 deletions
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-25 16:09:44
* @LastEditTime: 2023-08-15 10:01:26
-->
<template>
<transition name="msgbox-fade">
......@@ -148,8 +148,8 @@
.ls-title {
padding: 16px;
color: #4a4e56;
// background: linear-gradient(3deg, #edf0f7, #f4f5f6);
color: #ffffff;
background: linear-gradient(3deg, #409eff, #a7cbee);
font-size: 16px;
}
......@@ -185,7 +185,7 @@
right: 26px;
font-size: 24px;
cursor: pointer;
color: #4a4e56;
color: #ffffff;
}
/deep/.el-loading-mask {
......
......@@ -54,7 +54,9 @@ service.interceptors.response.use(
*/
if (response.status == 200) {
return response.data;
} else {
}else if (response.status == 2002){
Message.error(response.message);
}else {
handleErrorData(response.data);
}
return response;
......
import { log } from "bpmn-js-token-simulation";
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-15 11:02:38
*/
var qlxxPage = [
{ qllx: "A01", id: "tdsyq", form: "tdsyq.vue", label: "集体土地所有权" },
{ qllx: "A02", id: "tdsyq", form: "tdsyq.vue", label: "国家土地所有权" },
......@@ -41,7 +43,7 @@ var qlxxPage = [
];
//组装登记簿树形结构
export function loadTreeData(qlxxData) {
export function loadTreeData (qlxxData, index) {
let treedata = [];
//加载封面
treedata.push({ id: "djbfm", form: "djbfm.vue", label: "登记簿封面" });
......@@ -74,19 +76,19 @@ export function loadTreeData(qlxxData) {
* @param {*} bdcdylx
* @author: renchao
*/
export function getNode(qllx, qlxx, bdcdylx) {
export function getNode (qllx, qlxx, bdcdylx) {
let node;
for (var i = 0; i < qlxxPage.length; i++) {
if (qlxxPage[i].qllx == qllx) {
if (qllx == "A04" || qllx == "A06" || qllx == "A08") {
if (bdcdylx == "4") {
node = { id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label};
node = { id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label };
} else {
node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label};
node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label };
}
} else {
node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label};
node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label };
}
break;
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:51:37
* @LastEditTime: 2023-08-15 10:39:19
-->
<template>
<div class="bdcqldjml">
......@@ -18,7 +18,7 @@
</tr>
<tr v-for="(item, index) in bdcqlml" :key="index">
<td>{{ index + 1 }}</td>
<td>{{ item.bdcdyh }}</td>
<td><el-link type="primary" @click="handleSelectBdcdyh(item.bdcdyh)" :underline="false">{{ item.bdcdyh }} </el-link></td>
<td>{{ item.bdclx }}</td>
<td>{{ item.szbs }}</td>
<td>{{ item.bz }}</td>
......@@ -30,19 +30,25 @@
<script>
import { getBdcqldjmlByBdcdyid } from "@/api/djbDetail.js";
export default {
props: ["formData"],
data () {
return {
bdcqlml: [],
propsParam: this.$attrs,
};
propsParam: this.$attrs
}
},
mounted () {
getBdcqldjmlByBdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
if (res.code === 200) {
this.bdcqlml = res.result;
}
});
})
},
methods: {
handleSelectBdcdyh (val) {
this.$emit('getBdcdyh', val);
}
}
};
</script>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-10 16:28:55
* @LastEditTime: 2023-08-15 10:57:30
-->
<template>
<div class="content">
......@@ -11,7 +11,7 @@
</el-tree>
</div>
<div class="right">
<component :is="componentTag" v-bind="currentSelectProps" />
<component :is="componentTag" @getBdcdyh="getBdcdyh" v-bind="currentSelectProps" />
</div>
</div>
</template>
......@@ -42,17 +42,21 @@
},
props: ["formData"],
mounted () {
this.loadData();
this.loadData(this.formData.bdcdyh);
},
methods: {
getBdcdyh (val) {
console.log(val, ';222222222222');
// this.loadData(val);
},
/**
* @description: loadData
* @author: renchao
*/
loadData () {
loadData (val) {
getBdcqljqtsx({
bdcdyid: this.formData.bdcdyid,
bdcdyh: this.formData.bdcdyh,
bdcdyh: val,
}).then((res) => {
if (res.code === 200) {
this.treedata = loadTreeData(res.result, this.formData.bdcdyh);
......@@ -60,15 +64,15 @@
this.defaultNode = getNode(this.formData.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, this.formData.bdcdylx || "");
this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点
this.loadComponent(this.defaultNode.form);
});
})
}
});
})
this.currentSelectProps = {
bdcdyid: this.formData.bdcdyid,
bdcdyh: this.formData.bdcdyh,
qllx: this.formData.qllx,
bsmQlxx: this.formData.bsmQlxx,
};
bsmQlxx: this.formData.bsmQlxx
}
},
/**
* @description: handleNodeClick
......@@ -86,12 +90,11 @@
* @author: renchao
*/
loadComponent (form) {
console.log(form, 'formformformform');
this.componentTag = (r) =>
require.ensure([], () => r(require("@/views/registerBook/" + form)));
},
require.ensure([], () => r(require("@/views/registerBook/" + form)))
}
}
}
};
</script>
<style scoped lang="scss">
/deep/.rollTable {
......
......@@ -10,7 +10,11 @@
{{ title }}
<div class="checkbox">
<el-checkbox-group v-model="checkList" @change="checkChange">
<el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox>
<el-checkbox
v-for="item in qsztList"
:key="item.value"
:label="item.value"
>{{ item.label }}</el-checkbox>
</el-checkbox-group>
</div>
</div>
......@@ -18,10 +22,11 @@
<!-- 固定前三个 -->
<table class="xxTable">
<tr v-for="(item, colindex) in columns" :key="colindex">
<td>
{{ item.label }}
</td>
<td v-for="(row, index) in tableData" :key="index" :class="[
<td>{{ item.label }}</td>
<td
v-for="(row, index) in tableData"
:key="index"
:class="[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
row.qlzt == '4' ? 'linshi' : '',
......@@ -30,28 +35,19 @@
item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : ''
]">
]"
>
<div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'">
<el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button>
<el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button>
</div>
<div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'">
有效
</div>
<div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'">
正在补录
</div>
<div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'">
正在申请
</div>
<div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'">
正在注销
</div>
<span v-if="item.prop == 'qszt'">
{{ getQsztName(row[item.prop]) }}
</span>
<div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'">有效</div>
<div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'">正在补录</div>
<div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'">正在申请</div>
<div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'">正在注销</div>
<span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span>
<span v-else> {{ row[item.prop] }}</span>
<span v-else>{{ row[item.prop] }}</span>
</td>
<td v-for="count in emptycolNum" :key="~count"></td>
</tr>
......@@ -59,16 +55,16 @@
</div>
</div>
</div>
</template>
</template>
<script>
import { datas } from "./qlxxFormData.js";
import { getSjlx } from "@/utils/dictionary.js";
import { getLqList } from "@/api/djbDetail.js";
export default {
data () {
<script>
import { datas } from "./qlxxFormData.js";
import { getSjlx } from "@/utils/dictionary.js";
import { getLqList } from "@/api/djbDetail.js";
export default {
data() {
return {
title: "林地使用权登记信息",
title: "林权登记信息",
qsztList: datas.columns().qsztList,
checkList: datas.columns().checkList,
//传递参数
......@@ -81,7 +77,7 @@
columns: datas.columns().LDSYQ,
};
},
created () {
created() {
this.loadData();
},
methods: {
......@@ -89,13 +85,12 @@
* @description: loadData
* @author: renchao
*/
loadData () {
loadData() {
if (this.$parent.addRepairRecord) {
this.columns.unshift({
prop: "cz",
label: "操作"
})
label: "操作",
});
}
getLqList({
bdcdyid: this.propsParam.bdcdyid,
......@@ -104,9 +99,9 @@
}).then((res) => {
if (res.code === 200) {
this.tableData = res.result;
this.tableData.forEach(item => {
item.sjlx = getSjlx(item.sjlx)
})
this.tableData.forEach((item) => {
item.sjlx = getSjlx(item.sjlx);
});
if (this.tableData.length < datas.columns().emptycolNum) {
this.emptycolNum =
datas.columns().emptycolNum - this.tableData.length;
......@@ -120,7 +115,7 @@
* @description: checkChange
* @author: renchao
*/
checkChange () {
checkChange() {
if (this.checkList.length === 0) {
this.tableData = [];
this.emptycolNum = datas.columns().emptycolNum;
......@@ -133,7 +128,7 @@
* @param {*} code
* @author: renchao
*/
getQsztName (code) {
getQsztName(code) {
let name = "";
for (let item of this.qsztList) {
if (item.value == code) {
......@@ -150,31 +145,32 @@
* @param {*} del
* @author: renchao
*/
editDialog (row, del) {
this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$parent.addRepairRecord(row, del)
editDialog(row, del) {
this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.$parent.addRepairRecord(row, del);
this.$message({
type: 'success',
message: '补录成功!'
type: "success",
message: "补录成功!",
});
}).catch(() => {
})
.catch(() => {
this.$message({
type: 'info',
message: '取消编辑'
type: "info",
message: "取消编辑",
});
});
},
},
};
</script>
};
</script>
<style lang="scss" scoped>
@import "./qlxxCommon.scss";
</style>
@import "./qlxxCommon.scss";
</style>
\ No newline at end of file
......
......@@ -24,6 +24,116 @@ class data extends filter {
label: "历史",
},
],
TDSYQ: [
{
prop: "qszt",
label: "权属状态",
},
{
prop: "sjlx",
label: "数据类型",
},
{
prop: "qllxmc",
label: "权利类型",
},
{
prop: "djlxmc",
label: "登记类型",
},
{
prop: "ssywh",
label: "上手业务号",
},
{
prop: "dah",
label: "档案号",
},
{
prop: "ywh",
label: "业务号",
},
{
prop: "bdcdyh",
label: "不动产单元号",
},
{
prop: "zl",
label: "坐落",
},
{
prop: "gyqk",
label: "共有情况",
},
{
prop: "qlrlx",
label: "权利人类型",
},
{
prop: "qlrmc",
label: "权利人",
},
{
prop: "qlrzjzl",
label: "证件种类",
},
{
prop: "qlrzjhm",
label: "证件号",
},
{
prop: "ytmc",
label: "土地用途",
},
{
prop: "mjdw",
label: "面积单位",
},
{
prop: "gdmj",
label: "耕地面积",
},
{
prop: "ldmj",
label: "林地面积",
},
{
prop: "cdmj",
label: "草地面积",
},
{
prop: "qtnydmj",
label: "其他农用地面积",
},
{
prop: "jsydmj",
label: "建设用地面积",
},
{
prop: "wlydmj",
label: "未利用地面积",
},
{
prop: "djyy",
label: "登记原因",
},
{
prop: "bdcqzh",
label: "不动产权证号",
},
{
prop: "djsj",
label: "登记时间",
},
{
prop: "dbr",
label: "登簿人",
},
{
prop: "fj",
label: "附记",
},
],
JSYDSYQ: [
{
prop: "qszt",
......@@ -1174,12 +1284,12 @@ class data extends filter {
label: "共有情况",
},
{
prop: "qlrlx",
label: "权利人类型",
prop: "sllmsyq1",
label: "森林林木所有权人",
},
{
prop: "qlrmc",
label: "权利人",
prop: "sllmsyq2",
label: "森林林木使用权人",
},
{
prop: "qlrzjzl",
......@@ -1190,24 +1300,68 @@ class data extends filter {
label: "证件号",
},
{
prop: "qlxzmc",
label: "权利性质",
prop: "ldsyqxz",
label: "林地所有权性质",
},
{
prop: "ytmc",
label: "土地用途",
prop: "fbf",
label: "发包方",
},
{
prop: "fbfdm",
label: "发包方代码",
},
{
prop: "fbfmc",
label: "发包方名称",
prop: "syqmj",
label: "使用权面积",
},
{
prop: "mjmc",
label: "使用权面积",
prop: "ldsyqssj",
label: "林地使用(承包)起始时间",
},
{
prop: "ldsyjssj",
label: "林地使用(承包)结束时间",
},
{
prop: "ldsyqx",
label: "林地使用(承包)期限",
},
{
prop: "sllb",
label: "森林类别",
},
{
prop: "zylz",
label: "主要树种",
},
{
prop: "zs",
label: "株数",
},
{
prop: "lz",
label: "林种",
},
{
prop: "qy",
label: "起源",
},
{
prop: "zlnd",
label: "造林年度",
},
{
prop: "lb",
label: "林班",
},
{
prop: "xb",
label: "小班",
},
{
prop: "xdm",
label: "小地名",
},
{
prop: "djjg",
......
......@@ -78,7 +78,7 @@
//空列值个数
emptycolNum: datas.columns().emptycolNum,
//列名称对象
columns: datas.columns().JSYDSYQ,
columns: datas.columns().TDSYQ,
};
},
created () {
......
......@@ -15,57 +15,57 @@
<el-form :model="form" v-show="n == 0" label-width="135px" ref="ruleForm">
<el-row>
<el-col :span="8">
<el-form-item label="申请分类" v-if="form.ywDetail && form.ywDetail.sqfl">
<el-select v-model="form.ywDetail.sqfl" disabled placeholder="请选择" class="width100">
<el-form-item label="申请分类" v-if="form.sqdjyw">
<el-select v-model="form.sqdjyw.sqfl" disabled placeholder="请选择" class="width100">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记业务编码" v-if="form.ywDetail && form.ywDetail.djywbm">
<el-input v-model="form.ywDetail.djywbm" disabled></el-input>
<el-form-item label="登记业务编码" v-if="form.sqdjyw">
<el-input v-model="form.sqdjyw.djywbm" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="登记业务名称" v-if="form.ywDetail && form.ywDetail.djywmc">
<el-input v-model="form.ywDetail.djywmc" disabled></el-input>
<el-form-item label="登记业务名称" v-if="form.sqdjyw">
<el-input v-model="form.sqdjyw.djywmc" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="发起业务单元类型" v-if="form.ywDetail && form.ywDetail.fqywdylx">
<el-select v-model="form.ywDetail.fqywdylx" disabled placeholder="请选择" class="width100">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
<el-form-item label="发起业务单元类型" v-if="form.sqdjyw">
<el-select v-model="form.sqdjyw.sqywdylx" disabled placeholder="请选择" class="width100">
<el-option v-for="item in sqywdylx" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="是否启用" prop="enabled">
<el-radio-group v-model="form.ywDetail.enabled">
<el-form-item label="是否启用" prop="enabled" v-if="form.sqdjyw">
<el-radio-group v-model="form.sqdjyw.enabled">
<el-radio label="1">启用</el-radio>
<el-radio label="0">禁用</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="业务流程ID" prop="flowid">
<el-input v-model="form.ywDetail.flowid"></el-input>
<el-form-item label="业务流程ID" prop="flowid" v-if="form.sqdjyw">
<el-input v-model="form.sqdjyw.flowid"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="流程参数" prop="flowparams">
<el-input v-model="form.ywDetail.flowparams"></el-input>
<el-col :span="24">
<el-form-item label="流程参数" prop="flowparams" v-if="form.sqdjyw">
<el-input v-model="form.sqdjyw.flowparams"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="登记原因设置" prop="sfqydjyymb">
<el-radio-group v-model="form.ywDetail.sfqydjyymb">
<el-form-item label="登记原因设置" prop="sfqydjyymb" v-if="form.sqdjyw">
<el-radio-group v-model="form.sqdjyw.sfqydjyymb">
<el-radio label="1">启用</el-radio>
<el-radio label="0">禁用</el-radio>
</el-radio-group>
......@@ -73,7 +73,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="登记情形及材料">
<el-input v-model="form.ywDetail.djqxcl" placeholder="仅支持execl文件导入"></el-input>
<el-input v-model="form.fileUrl" placeholder="仅支持execl文件导入"></el-input>
</el-form-item>
</el-col>
<el-col :span="1">
......@@ -85,8 +85,8 @@
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="登记原因模板" prop="djyy">
<el-input type="textarea" :rows="4" placeholder="请输入内容" v-model="form.ywDetail.djyy">
<el-form-item label="登记原因模板" prop="djyy" v-if="form.sqdjyw">
<el-input type="textarea" :rows="4" placeholder="请输入内容" v-model="form.sqdjyw.djyy">
</el-input>
</el-form-item>
</el-col>
......@@ -102,7 +102,7 @@
:pagination="false" :data="form.clxx">
</lb-table>
</el-collapse-item>
<el-collapse-item title="刷选权利设置" name="3" v-if="form.ywDetail.sfsxql == '1'">
<el-collapse-item title="刷选权利设置" name="3" v-if="form.sqdjyw && form.sqdjyw.sfsxql == '1'">
<div class="dyztsd-title">
<b>请勾选需要查询的权利信息</b>
<div>
......@@ -143,6 +143,7 @@
import { upward, down } from "@/utils/operation";
import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/sysSqdjyw.js";
import { datas, sendThis } from "./sqywDetail";
import store from '@/store/index.js'
export default {
name: "componentDialog",
props: {
......@@ -151,21 +152,27 @@
default: () => { }
}
},
data () {
return {
key: 0,
tn: 0,
n: 0,
djlxList: [],
options: [],
sqywdylx:store.getters.dictData['sqywdylx'],
options: [
{label:"正常申请",value:"1"},
{label:"一并申请",value:"2"},
{label:"补录申请",value:"3"}
],
imgUploadUrl: uploadUrl(),
title: "",
activeName: "1",
form: {
bsmSqyw: '',
ywDetail: {},
djqx: [],
clxx: []
// bsmSqyw: '',
// ywDetail: {},
// djqx: [],
// clxx: []
},
djqxCol: datas.djqxCol(),
clxxCol: datas.clxxCol(),
......@@ -248,13 +255,16 @@
let _this = this
getSqdjywDetail(bsmSqyw).then((res) => {
if (res.code === 200) {
_this.form.bsmSqyw = res.result.bsmSqyw
_this.form.ywDetail = res.result.ywDetail
_this.$set(_this.form, 'djqx', res.result.djqx)
_this.$set(_this.form, 'sxql', res.result.sxql)
_this.$set(_this.form, 'clxx', res.result.clxx)
_this.$set(_this.form, 'sxzt', res.result.sxzt)
_this.$set(_this.form, 'ywDetail', res.result.ywDetail)
_this.form=res.result;
// _this.form.bsmSqyw = res.result.bsmSqyw;
// _this.form.ywDetail = res.result.ywDetail;
// _this.$set(_this.form, 'djqx', res.result.djqx);
// _this.$set(_this.form, 'sxql', res.result.sxql);
// _this.$set(_this.form, 'clxx', res.result.clxx);
// _this.$set(_this.form, 'sxzt', res.result.sxzt);
// _this.$set(_this.form, 'ywDetail', res.result.ywDetail);
// _this.$set(_this.form, 'sqdjyw', res.result.sqdjyw);
// _this.$set(_this.form, 'parentRule', res.result.parentRule);
} else {
this.$alert(res.message)
}
......
......@@ -61,11 +61,11 @@ class data extends filter {
},
{
prop: "czsj",
prop: "updatetime",
label: "最近操作时间"
},
{
prop: "czr",
prop: "updater",
label: "最近操作人"
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-01 15:19:13
* @LastEditTime: 2023-08-15 09:43:21
-->
<template>
<div class="clxx">
......@@ -13,9 +13,7 @@
type="primary"
native-type="submit"
@click="viewDetail"
style="width: 100%; margin-top: 10px"
>查看明细</el-button
>
style="width: 100%; margin-top: 10px">申请材料目录</el-button>
<div class="item">
材料目录({{ tableData.length }})
<div style="margin-top: 10px">
......@@ -26,21 +24,17 @@
color: black;
font-size: 14px;
"
v-if="tableData.length == 0"
>
v-if="tableData.length == 0">
暂无数据
</div>
<div
v-for="(item, index) in tableData"
:key="item.bsmSj"
:class="['child', treeCheckId == item.bsmSj ? 'checked' : '']"
@click="treeClick(item, index)"
>
@click="treeClick(item, index)">
<span v-if="item.isrequired == 1" class="required">必选</span>
{{ item.sjmc }}
<span class="cl_number"
>({{ item.children ? item.children.length : 0 }})</span
>
<span class="cl_number">({{ item.children ? item.children.length : 0 }})</span>
</div>
</div>
</div>
......@@ -49,9 +43,7 @@
native-type="submit"
style="width: 100%"
@click="handleAdd()"
v-if="ableOperation"
>新增</el-button
>
v-if="ableOperation">新增</el-button>
</div>
<image-preview
ref="imageRef"
......@@ -60,22 +52,21 @@
:ableOperation="ableOperation"
@updateList="updateList"
@nextPriview="nextPriview"
@prevPriview="prevPriview"
/>
@prevPriview="prevPriview" />
</div>
</div>
<clxxAddDialog v-model="isDialog" />
</div>
</template>
<script>
import { mapGetters } from "vuex";
import clxxAddDialog from "../dialog/clxxAddDialog.vue";
import clxxDetailDialog from "../dialog/clxxDetailDialog.vue";
import imagePreview from "@/views/components/imagePreview.vue";
import { InitClml, saveClml } from "@/api/clxx.js";
export default {
import { mapGetters } from "vuex";
import clxxAddDialog from "../dialog/clxxAddDialog.vue";
import clxxDetailDialog from "../dialog/clxxDetailDialog.vue";
import imagePreview from "@/views/components/imagePreview.vue";
import { InitClml, saveClml } from "@/api/clxx.js";
export default {
components: { clxxAddDialog, imagePreview, clxxDetailDialog },
data() {
data () {
return {
//表单是否可操作
ableOperation: true,
......@@ -99,7 +90,7 @@ export default {
computed: {
...mapGetters(["dictData"]),
},
created() {
created () {
this.clmlInitList(1);
},
computed: {
......@@ -107,12 +98,12 @@ export default {
},
watch: {
workFresh: {
handler(newVal, oldVal) {
handler (newVal, oldVal) {
if (newVal) this.clmlInitList(1);
},
},
},
mounted() {
mounted () {
this.ableOperation = this.$parent.ableOperation;
},
methods: {
......@@ -121,7 +112,7 @@ export default {
* @description: 自动预览
* @author: renchao
*/
nextPriview() {
nextPriview () {
if (this.treeCheckIndex < this.tableData.length) {
this.treeCheckIndex++;
this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj;
......@@ -134,7 +125,7 @@ export default {
* @description: prevPriview
* @author: renchao
*/
prevPriview() {
prevPriview () {
if (this.treeCheckIndex >= 1) {
this.treeCheckIndex--;
this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj;
......@@ -149,7 +140,7 @@ export default {
* @param {*} type
* @author: renchao
*/
clmlInitList(type) {
clmlInitList (type) {
//type 1:列表初始化 2:新增材料
return new Promise((resolve) => {
this.unitData = this.$parent.unitData;
......@@ -189,7 +180,7 @@ export default {
* @param {*} item
* @author: renchao
*/
setChecked(item) {
setChecked (item) {
this.treeCheckId = item.bsmSj;
this.title = item.sjmc;
this.titleYs = 1;
......@@ -202,7 +193,7 @@ export default {
* @param {*} val
* @author: renchao
*/
updateList(val) {
updateList (val) {
let that = this;
if (val.children.length != 0) {
//删除最后一张图片时 val=null
......@@ -230,7 +221,7 @@ export default {
* @description: 添加材料目录
* @author: renchao
*/
handleAdd() {
handleAdd () {
this.isDialog = true;
},
// 新增弹窗保存
......@@ -239,7 +230,7 @@ export default {
* @param {*} data
* @author: renchao
*/
addSave(data) {
addSave (data) {
let obj = {
bsmSlsq: this.$parent.bsmSlsq,
isrequired: "1",
......@@ -251,7 +242,7 @@ export default {
sfxjcl: "1", // 是否必选
};
if (this.$route.query.sqywbm == "DJBBL") {
obj.bsmSldy=this.$parent.bsmRepair
obj.bsmSldy = this.$parent.bsmRepair
}
saveClml(obj).then(async (res) => {
if (res.code == 200) {
......@@ -271,7 +262,7 @@ export default {
* @param {*} index
* @author: renchao
*/
treeClick(item, index) {
treeClick (item, index) {
this.previewImg.index = 0;
this.treeCheckId = item?.bsmSj;
this.treeCheckIndex = index;
......@@ -285,7 +276,7 @@ export default {
* @param {*} index
* @author: renchao
*/
imgClick(item, index) {
imgClick (item, index) {
this.showImg = item;
this.titleYs = index + 1;
},
......@@ -296,7 +287,7 @@ export default {
* @param {*} code
* @author: renchao
*/
dicStatus(val, code) {
dicStatus (val, code) {
let data = this.$store.getters.dictData[code],
name = "暂无";
if (data) {
......@@ -309,49 +300,49 @@ export default {
}
},
//查看明细
viewDetail() {
viewDetail () {
this.$store.dispatch("user/reWorkFresh", false);
this.$popupDialog(
"查看明细",
"申请材料目录",
"workflow/components/dialog/clxxDetailDialog",
{
data: this.tableData,
unitData: this.$parent.unitData,
ableOperation: this.$parent.ableOperation,
bsmRepair:this.$parent.bsmRepair
bsmRepair: this.$parent.bsmRepair
},
"60%",
true
);
},
//设置tableData
setTableData(tableData) {
setTableData (tableData) {
this.$nextTick((res) => {
this.tableData = tableData;
});
},
},
};
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/mixin.scss";
.active {
.active {
background: $light-blue !important;
color: #fff;
}
}
.required {
.required {
font-size: 12px;
color: $pink;
float: left;
}
}
.cl_number {
.cl_number {
float: right;
}
}
.clxx {
.clxx {
width: 100%;
display: flex;
padding-left: 5px;
......@@ -457,5 +448,5 @@ export default {
}
}
}
}
}
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-02 09:53:05
* @LastEditTime: 2023-08-15 09:43:46
-->
<template>
<div class="clmlmx-box">
<div class="title">申请材料目录</div>
<lb-table :column="column" :key="key" :heightNumSetting="true" :calcHeight="600" :pagination="false" :data="tableData">
</lb-table>
<div class="text-center">
......@@ -61,7 +60,7 @@
label: "材料名称",
render: (h, scope) => {
return (
this.formData.ableOperation ?
(this.formData.ableOperation && scope.row.isrequired != '1') ?
<el-input value={scope.row.sjmc} onInput={(val) => { scope.row.sjmc = val }}></el-input> : <span>{scope.row.sjmc}</span>
)
}
......
......@@ -34,6 +34,10 @@ export function getForm(tabName, djywbm) {
case "fwsyqslxx300":
form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue");
break;
//林地使用权
case "lqslxx":
form = require("@/views/ywbl/slsqxx/lqslxx");
break;
case "plfdcq2":
form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue");
break;
......@@ -95,6 +99,9 @@ export function getForm(tabName, djywbm) {
case "fdcq2Qlxx":
form = require("@/views/registerBook/fdcq2.vue");
break;
case "lqQlxx":
form = require("@/views/registerBook/ldsyq.vue");
break;
case "diyaqQlxx":
form = require("@/views/registerBook/diyaq.vue");
break;
......@@ -110,10 +117,6 @@ export function getForm(tabName, djywbm) {
case "zdjbxxImg":
form = require("@/views/workflow/components/zdt.vue");
break;
//林地使用权
case "lqslxx":
form = require("@/views/ywbl/slsqxx/lqslxx");
break;
default:
form = require("@/views/error-page/404.vue");
break;
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-14 12:49:48
* @LastEditTime: 2023-08-15 10:24:21
-->
<template>
<div class="slxx">
......@@ -338,15 +338,15 @@
* @author: renchao
*/
onSubmit () {
let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
if (arr.length > 0) {
this.$message({
showClose: true,
message: "土地用途不能为空",
type: "error",
});
return false;
}
// let arr = this.ruleForm.tdytqxList || [] .filter(item => !item.yt)
// if (arr.length > 0) {
// this.$message({
// showClose: true,
// message: "土地用途不能为空",
// type: "error",
// });
// return false;
// }
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......
......@@ -94,10 +94,6 @@
data: [],
},
bdcdysz: [],
bsmSqyw:
this.sqywInfo.nodetype === "djlx"
? this.sqywInfo.bsmSqyw
: this.sqywInfo.parentid,
};
},
mounted () {
......@@ -131,12 +127,8 @@
if (!this.isJump) {
this.loading = true
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm:
this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc:
this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -153,7 +145,7 @@
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -96,6 +96,7 @@
* @author: renchao
*/
queryClick () {
console.log("sdfsdf");
this.$startLoading();
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -116,12 +117,12 @@
this.$message.error("请至少选择一条数据");
return;
}
this.loading = true
this.loading = true;
startBusinessFlow({
bsmSqyw: this.sqywInfo.parentid,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
// djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
// djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -137,7 +138,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -168,10 +168,6 @@
data: [],
},
bdcdysz: [],
bsmSqyw:
this.sqywInfo.nodetype === "djlx"
? this.sqywInfo.bsmSqyw
: this.sqywInfo.parentid,
};
},
mounted () {
......@@ -243,12 +239,10 @@
if (!this.isJump) {
this.loading = true
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bsmSqyw: this.sqywInfo.bsmSqyw,
//sjlx: 'zrz',
sjlx: this.activeName,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -264,7 +258,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......@@ -285,7 +279,7 @@
store.dispatch('user/refreshPage', true);
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -70,10 +70,6 @@
data: [],
},
bdcdysz: [],
bsmSqyw:
this.sqywInfo.nodetype === "djlx"
? this.sqywInfo.bsmSqyw
: this.sqywInfo.parentid,
};
},
mounted () {
......@@ -107,10 +103,8 @@
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -126,7 +120,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -104,10 +104,8 @@
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.parentid,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -123,7 +121,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -86,10 +86,6 @@
data: [],
},
bdcdysz: [],
bsmSqyw:
this.sqywInfo.nodetype === "djlx"
? this.sqywInfo.bsmSqyw
: this.sqywInfo.parentid,
};
},
mounted () {
......@@ -111,7 +107,7 @@
*/
queryClick () {
this.$startLoading();
this.queryForm.bsmSqyw = this.bsmSqyw;
this.queryForm.bsmSqyw = this.sqywInfo.bsmSqyw;
selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
......@@ -132,10 +128,8 @@
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -151,7 +145,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -182,7 +182,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -111,8 +111,6 @@
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -128,7 +126,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -110,8 +110,6 @@
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -127,7 +125,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -117,10 +117,8 @@
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.parentid,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -136,7 +134,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -237,10 +237,8 @@
submitForm () {
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.parentid,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -256,7 +254,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -76,10 +76,6 @@
data: [],
},
bdcdysz: [],
bsmSqyw:
this.sqywInfo.nodetype === "djlx"
? this.sqywInfo.bsmSqyw
: this.sqywInfo.parentid,
};
},
mounted () {
......@@ -114,10 +110,8 @@
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -133,7 +127,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -76,10 +76,6 @@
data: [],
},
bdcdysz: [],
bsmSqyw:
this.sqywInfo.nodetype === "djlx"
? this.sqywInfo.bsmSqyw
: this.sqywInfo.parentid,
};
},
mounted () {
......@@ -133,7 +129,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -76,10 +76,6 @@
data: [],
},
bdcdysz: [],
bsmSqyw:
this.sqywInfo.nodetype === "djlx"
? this.sqywInfo.bsmSqyw
: this.sqywInfo.parentid,
};
},
mounted () {
......@@ -114,10 +110,8 @@
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.bsmSqyw,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -133,7 +127,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -117,10 +117,8 @@
}
this.loading = true
startBusinessFlow({
bsmSqyw: this.sqywInfo.parentid,
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -136,7 +134,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -110,8 +110,6 @@
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -127,7 +125,7 @@
this.$popupCacel()
}
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -109,8 +109,6 @@
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
if (res.code == 200) {
this.$message({
......@@ -125,7 +123,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -109,9 +109,7 @@
this.loading = true
startTogetherFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
bdcdysz: this.bdcdysz
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -127,7 +125,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -110,8 +110,6 @@
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -127,7 +125,7 @@
this.$popupCacel()
}
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -111,8 +111,6 @@
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -128,7 +126,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -112,8 +112,6 @@
startBusinessFlow({
bsmSqyw: this.sqywInfo.bsmSqyw,
bdcdysz: this.bdcdysz,
djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
}).then((res) => {
this.loading = false
if (res.code == 200) {
......@@ -129,7 +127,7 @@
}
this.$popupCacel()
} else {
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%')
ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true)
}
}).catch(() => {
this.loading = false
......
......@@ -148,7 +148,6 @@
* @author: renchao
*/
sqywlxClick (item) {
console.log("item", item);
this.btnDisabled = true;
this.selectType = item.type;
this.sqywQllxList.forEach(item => {
......@@ -173,7 +172,6 @@
* @author: renchao
*/
qllxClick (index) {
console.log("业务", index);
this.btnDisabled = true;
this.sqywQllxList.forEach(item => {
if (item.check) item.check = false;
......@@ -200,9 +198,9 @@
this.btnDisabled = false;
// this.djqxList = []
} else {
this.getNextNode(data[index].bsmSqyw);
this.btnDisabled = true;
}
this.getNextNode(data[index].bsmSqyw);
},
//获取下个节点类型数据
/**
......@@ -212,6 +210,7 @@
*/
getNextNode (bsmSqyw) {
getNextNode(bsmSqyw).then(res => {
if (res.result) {
if (res.result.djqx) {
this.djqxList = res.result.djqx;
this.djqxList.forEach(item => {
......@@ -224,6 +223,7 @@
this.$set(item, 'selected', false);
});
}
}
})
},
......@@ -235,7 +235,6 @@
getRepairBiz () {
getRepairBiz().then(res => {
if (res) {
console.log("res", res);
this.djqxList = res.result;
}
})
......@@ -259,7 +258,6 @@
dialogClick () {
this.openDialog();
},
//收藏操作
/**
* @description: 收藏操作
* @param {*} item
......@@ -357,7 +355,6 @@
this.handleSelectYw(item, list)
this.openDialog()
},
// 选择不动产信息
/**
* @description: 选择不动产信息
* @author: renchao
......@@ -370,7 +367,10 @@
* @author: renchao
*/
openDialog () {
let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : '';
let title = this.selectParam.djywmc;
if (this.selectParam.nodetype == "djqx") {
title += "(" + this.selectParam.nodename + ")";
}
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "90%", true)
},
/**
......
......@@ -38,7 +38,6 @@
* @author: renchao
*/
loadView (view) {
console.log(view, 'view');
return (r) =>
require.ensure([], () => r(require(`./components/${view}.vue`)));
},
......