style:权利人信息
Showing
12 changed files
with
302 additions
and
301 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-22 13:49:53 | 4 | * @LastEditTime: 2023-09-26 16:49:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -514,7 +514,6 @@ | ... | @@ -514,7 +514,6 @@ |
514 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | 514 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') |
515 | item.qlrmc = item.qymc | 515 | item.qlrmc = item.qymc |
516 | item.dz = item.dwdz | 516 | item.dz = item.dwdz |
517 | item.id = getUuid(16) | ||
518 | }) | 517 | }) |
519 | } | 518 | } |
520 | }) | 519 | }) |
... | @@ -539,9 +538,10 @@ | ... | @@ -539,9 +538,10 @@ |
539 | this.$confirm('是否同步材料信息?', '提示', { | 538 | this.$confirm('是否同步材料信息?', '提示', { |
540 | confirmButtonText: '确定', | 539 | confirmButtonText: '确定', |
541 | cancelButtonText: '取消', | 540 | cancelButtonText: '取消', |
541 | distinguishCancelAndClose: true,//区分取消与关闭 | ||
542 | }).then(() => { | 542 | }).then(() => { |
543 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { | 543 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { |
544 | that.$emit("updateDetail", _.cloneDeep({ ...val, qlrlx: '2' })); | 544 | that.$emit("updateDetail", _.cloneDeep({ ...val, qlrlx: '2', id: getUuid(16) })); |
545 | that.$emit("input", false); | 545 | that.$emit("input", false); |
546 | if (res.code == 200) { | 546 | if (res.code == 200) { |
547 | that.$message({ | 547 | that.$message({ |
... | @@ -552,11 +552,11 @@ | ... | @@ -552,11 +552,11 @@ |
552 | this.$message.error(res.message); | 552 | this.$message.error(res.message); |
553 | } | 553 | } |
554 | }) | 554 | }) |
555 | }).catch(() => { | 555 | }).catch(action => { |
556 | this.$message({ | 556 | if (action == 'cancel') { |
557 | type: 'info', | 557 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' })); |
558 | message: '已取消' | 558 | that.$emit("input", false); |
559 | }) | 559 | } |
560 | }) | 560 | }) |
561 | }, | 561 | }, |
562 | /** | 562 | /** |
... | @@ -575,7 +575,6 @@ | ... | @@ -575,7 +575,6 @@ |
575 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | 575 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') |
576 | item.qlrmc = item.qymc | 576 | item.qlrmc = item.qymc |
577 | item.dz = item.dwdz | 577 | item.dz = item.dwdz |
578 | item.id = getUuid(16) | ||
579 | }) | 578 | }) |
580 | } | 579 | } |
581 | }) | 580 | }) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-22 13:51:38 | 4 | * @LastEditTime: 2023-09-26 15:40:49 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -525,6 +525,7 @@ | ... | @@ -525,6 +525,7 @@ |
525 | this.$confirm('是否同步材料信息?', '提示', { | 525 | this.$confirm('是否同步材料信息?', '提示', { |
526 | confirmButtonText: '确定', | 526 | confirmButtonText: '确定', |
527 | cancelButtonText: '取消', | 527 | cancelButtonText: '取消', |
528 | distinguishCancelAndClose: true,//区分取消与关闭 | ||
528 | }).then(() => { | 529 | }).then(() => { |
529 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { | 530 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { |
530 | that.$emit("updateDetail", _.cloneDeep({ ...val, ywrlx: '2' })); | 531 | that.$emit("updateDetail", _.cloneDeep({ ...val, ywrlx: '2' })); |
... | @@ -538,11 +539,11 @@ | ... | @@ -538,11 +539,11 @@ |
538 | this.$message.error(res.message) | 539 | this.$message.error(res.message) |
539 | } | 540 | } |
540 | }) | 541 | }) |
541 | }).catch(() => { | 542 | }).catch(action => { |
542 | this.$message({ | 543 | if (action == 'cancel') { |
543 | type: 'info', | 544 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' })); |
544 | message: '已取消' | 545 | that.$emit("input", false); |
545 | }) | 546 | } |
546 | }) | 547 | }) |
547 | }, | 548 | }, |
548 | /** | 549 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-26 13:38:19 | 4 | * @LastEditTime: 2023-09-26 15:32:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -69,6 +69,7 @@ | ... | @@ -69,6 +69,7 @@ |
69 | bsmSlsq: this.$route.query.bsmSlsq, | 69 | bsmSlsq: this.$route.query.bsmSlsq, |
70 | //当前流程所在环节 | 70 | //当前流程所在环节 |
71 | bestepid: this.$route.query.bestepid, | 71 | bestepid: this.$route.query.bestepid, |
72 | bsmBusiness: this.$route.query.bsmBusiness, | ||
72 | //受理申请标识码 | 73 | //受理申请标识码 |
73 | bdcdyid: this.$route.query.bdcdyid, | 74 | bdcdyid: this.$route.query.bdcdyid, |
74 | //当前流程所在环节 | 75 | //当前流程所在环节 |
... | @@ -100,16 +101,8 @@ | ... | @@ -100,16 +101,8 @@ |
100 | this.delel = this.$parent.isEdit | 101 | this.delel = this.$parent.isEdit |
101 | this.loadBdcdylist(); | 102 | this.loadBdcdylist(); |
102 | }, | 103 | }, |
103 | computed: { | 104 | beforeDestroy () { |
104 | // ...mapGetters(["isRefresh"]), | 105 | sessionStorage.removeItem('keyPath') |
105 | }, | ||
106 | watch: { | ||
107 | // isRefresh: { | ||
108 | // handler(newVal, oldVal) { | ||
109 | // if (newVal) this.loadBdcdylist(); | ||
110 | // }, | ||
111 | // immediate: true, | ||
112 | // }, | ||
113 | }, | 106 | }, |
114 | methods: { | 107 | methods: { |
115 | /** | 108 | /** |
... | @@ -120,13 +113,14 @@ | ... | @@ -120,13 +113,14 @@ |
120 | var formdata = new FormData(); | 113 | var formdata = new FormData(); |
121 | if (this.bsmSlsq) { | 114 | if (this.bsmSlsq) { |
122 | formdata.append("bsmSlsq", this.bsmSlsq); | 115 | formdata.append("bsmSlsq", this.bsmSlsq); |
123 | formdata.append("bestepid", this.bestepid); | 116 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); |
117 | formdata.append("bsmBusiness", this.bsmBusiness ? this.bsmBusiness : ''); | ||
124 | leftMenu(formdata).then((res) => { | 118 | leftMenu(formdata).then((res) => { |
125 | if (res.code === 200 && res.result) { | 119 | if (res.code === 200 && res.result) { |
126 | this.currentSelectProps = res.result[0]; | 120 | this.currentSelectProps = res.result[0]; |
127 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | 121 | this.$emit("getCurrentSelectProps", this.currentSelectProps); |
128 | } | 122 | } |
129 | }) | 123 | }); |
130 | } | 124 | } |
131 | }, | 125 | }, |
132 | /** | 126 | /** |
... | @@ -135,26 +129,38 @@ | ... | @@ -135,26 +129,38 @@ |
135 | * @author: renchao | 129 | * @author: renchao |
136 | */ | 130 | */ |
137 | getleftMenubl (row) { | 131 | getleftMenubl (row) { |
132 | let that = this | ||
138 | leftMenubl(this.bsmSlsq).then((res) => { | 133 | leftMenubl(this.bsmSlsq).then((res) => { |
139 | this.supplementarylist = res.result; | 134 | this.supplementarylist = res.result; |
140 | if (row) { | 135 | if (row) { |
141 | this.supplementarylist.forEach((item, index) => { | 136 | this.supplementarylist.forEach((item, index) => { |
142 | if (item.bsmRepair == row.bsmRepair) { | 137 | if (item.bsmRepair == row.bsmRepair) { |
143 | this.activeIndex = index.toString() | 138 | this.activeIndex = index.toString() |
144 | // 补录成功后定位到该条记录 | ||
145 | this.unitClick(this.activeIndex) | 139 | this.unitClick(this.activeIndex) |
146 | } | 140 | } |
147 | }) | 141 | }) |
148 | if (row == "change") { | 142 | // if (row == "change") { |
149 | this.unitClick(0) | 143 | // if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { |
150 | } | 144 | // that.unitClick(sessionStorage.getItem('keyPath') - 0) |
145 | // that.activeIndex = sessionStorage.getItem('keyPath') | ||
146 | // } else { | ||
147 | // that.unitClick(0) | ||
148 | // that.activeIndex = "0" | ||
149 | // } | ||
150 | // } | ||
151 | } else { | 151 | } else { |
152 | if (this.supplementarylist.length) { | 152 | if (this.supplementarylist.length) { |
153 | this.unitClick(0) | 153 | if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { |
154 | this.activeIndex = "0" | 154 | that.unitClick(sessionStorage.getItem('keyPath') - 0) |
155 | that.activeIndex = sessionStorage.getItem('keyPath') | ||
156 | } else { | ||
157 | that.loadBdcdylist() | ||
158 | this.activeIndex = "-1"; | ||
159 | // that.unitClick(0) | ||
160 | // that.activeIndex = "0" | ||
161 | } | ||
155 | } else { | 162 | } else { |
156 | this.loadBdcdylist() | 163 | this.loadBdcdylist() |
157 | // this.$emit("getCurrentSelectProps", this.currentSelectProps); | ||
158 | } | 164 | } |
159 | } | 165 | } |
160 | }) | 166 | }) |
... | @@ -190,7 +196,7 @@ | ... | @@ -190,7 +196,7 @@ |
190 | this.loadBdcdylist() | 196 | this.loadBdcdylist() |
191 | window.currentSelect = {} | 197 | window.currentSelect = {} |
192 | this.activeIndex = "-1"; | 198 | this.activeIndex = "-1"; |
193 | sessionStorage.setItem('keyPath', -1); | 199 | sessionStorage.removeItem('keyPath') |
194 | }, | 200 | }, |
195 | /** | 201 | /** |
196 | * @description: 删除补录记录 | 202 | * @description: 删除补录记录 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-21 16:02:53 | 4 | * @LastEditTime: 2023-09-26 15:38:25 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -216,7 +216,6 @@ | ... | @@ -216,7 +216,6 @@ |
216 | }, | 216 | }, |
217 | methods: { | 217 | methods: { |
218 | /** | 218 | /** |
219 | * @handleupdateDetail: 删除 | ||
220 | * @param {*} value | 219 | * @param {*} value |
221 | * @author: renchao | 220 | * @author: renchao |
222 | */ | 221 | */ | ... | ... |
... | @@ -178,12 +178,12 @@ | ... | @@ -178,12 +178,12 @@ |
178 | this.$nextTick(() => { | 178 | this.$nextTick(() => { |
179 | if (val.length == 0 || !val) { | 179 | if (val.length == 0 || !val) { |
180 | that.tableDataList = _.cloneDeep([ | 180 | that.tableDataList = _.cloneDeep([ |
181 | { | 181 | // { |
182 | ywrmc: "", | 182 | // ywrmc: "", |
183 | dlrzjlx: "", | 183 | // dlrzjlx: "", |
184 | dlrzjh: "", | 184 | // dlrzjh: "", |
185 | fr: "", | 185 | // fr: "", |
186 | }, | 186 | // }, |
187 | ]); | 187 | ]); |
188 | } else { | 188 | } else { |
189 | that.tableDataList = _.cloneDeep(val); | 189 | that.tableDataList = _.cloneDeep(val); |
... | @@ -247,10 +247,8 @@ | ... | @@ -247,10 +247,8 @@ |
247 | this.isaddupdate = true; | 247 | this.isaddupdate = true; |
248 | }, | 248 | }, |
249 | /** | 249 | /** |
250 | * @description: 删除 | ||
251 | * @param {*} index | 250 | * @param {*} index |
252 | * @param {*} row | 251 | * @param {*} row |
253 | * @author: renchao | ||
254 | */ | 252 | */ |
255 | deleClick (index, row) { | 253 | deleClick (index, row) { |
256 | this.tableDataList.splice(index, 1); | 254 | this.tableDataList.splice(index, 1); | ... | ... |
... | @@ -226,7 +226,6 @@ export default { | ... | @@ -226,7 +226,6 @@ export default { |
226 | this.loading = false | 226 | this.loading = false |
227 | }) | 227 | }) |
228 | }, | 228 | }, |
229 | // 更新土地用途信息 | ||
230 | /** | 229 | /** |
231 | * @description: 更新土地用途信息 | 230 | * @description: 更新土地用途信息 |
232 | * @param {*} val | 231 | * @param {*} val |
... | @@ -246,7 +245,6 @@ export default { | ... | @@ -246,7 +245,6 @@ export default { |
246 | this.czrOptions = this.ruleForm.qlrData; | 245 | this.czrOptions = this.ruleForm.qlrData; |
247 | this.key++; | 246 | this.key++; |
248 | }, | 247 | }, |
249 | // 更新义务人信息 | ||
250 | /** | 248 | /** |
251 | * @description: 更新义务人信息 | 249 | * @description: 更新义务人信息 |
252 | * @param {*} val | 250 | * @param {*} val |
... | @@ -299,7 +297,7 @@ export default { | ... | @@ -299,7 +297,7 @@ export default { |
299 | return false; | 297 | return false; |
300 | } | 298 | } |
301 | } | 299 | } |
302 | 300 | this.$store.dispatch("user/refreshPage", false); | |
303 | save(this.ruleForm).then((res) => { | 301 | save(this.ruleForm).then((res) => { |
304 | if (res.code === 200) { | 302 | if (res.code === 200) { |
305 | this.$message({ | 303 | this.$message({ | ... | ... |
1 | /* | 1 | /* |
2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-22 13:34:56 | 4 | * @LastEditTime: 2023-09-26 14:25:23 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
... | @@ -23,6 +23,8 @@ export default { | ... | @@ -23,6 +23,8 @@ export default { |
23 | //是否开启材料分屏 | 23 | //是否开启材料分屏 |
24 | splitScreen: false, | 24 | splitScreen: false, |
25 | //设置表单组件是否刷选值 | 25 | //设置表单组件是否刷选值 |
26 | bsmSlsq: this.$route.query.bsmSlsq, | ||
27 | bestepid: this.$route.query.bestepid, | ||
26 | fresh: 10, | 28 | fresh: 10, |
27 | //左侧菜单数据集合 | 29 | //左侧菜单数据集合 |
28 | unitData: [], | 30 | unitData: [], |
... | @@ -327,10 +329,8 @@ export default { | ... | @@ -327,10 +329,8 @@ export default { |
327 | } | 329 | } |
328 | }) | 330 | }) |
329 | }, | 331 | }, |
330 | // 上传 | ||
331 | /** | 332 | /** |
332 | * @description: 上传 | 333 | * @description: 上传 |
333 | * @param {*} file | ||
334 | * @author: renchao | 334 | * @author: renchao |
335 | */ | 335 | */ |
336 | beforeUpload (file) { | 336 | beforeUpload (file) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 15:31:00 | 4 | * @LastEditTime: 2023-09-26 15:30:36 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -12,8 +12,7 @@ | ... | @@ -12,8 +12,7 @@ |
12 | <li | 12 | <li |
13 | @click="operation(item)" | 13 | @click="operation(item)" |
14 | v-for="(item, index) in leftButtonList" | 14 | v-for="(item, index) in leftButtonList" |
15 | :key="index" | 15 | :key="index"> |
16 | > | ||
17 | <svg-icon class="icon" :icon-class="item.icon" /> | 16 | <svg-icon class="icon" :icon-class="item.icon" /> |
18 | <span class="iconName">{{ item.name }}</span> | 17 | <span class="iconName">{{ item.name }}</span> |
19 | </li> | 18 | </li> |
... | @@ -22,8 +21,7 @@ | ... | @@ -22,8 +21,7 @@ |
22 | <li | 21 | <li |
23 | @click="operation(item)" | 22 | @click="operation(item)" |
24 | v-for="(item, index) in rightButtonList" | 23 | v-for="(item, index) in rightButtonList" |
25 | :key="index" | 24 | :key="index"> |
26 | > | ||
27 | <svg-icon class="icon" :icon-class="item.icon" /> | 25 | <svg-icon class="icon" :icon-class="item.icon" /> |
28 | <span class="iconName">{{ item.name }}</span> | 26 | <span class="iconName">{{ item.name }}</span> |
29 | </li> | 27 | </li> |
... | @@ -48,21 +46,18 @@ | ... | @@ -48,21 +46,18 @@ |
48 | <el-tabs | 46 | <el-tabs |
49 | v-model="tabName" | 47 | v-model="tabName" |
50 | :before-leave="beforeLeave" | 48 | :before-leave="beforeLeave" |
51 | @tab-click="handleClick" | 49 | @tab-click="handleClick"> |
52 | > | ||
53 | <el-tab-pane | 50 | <el-tab-pane |
54 | :label="item.name" | 51 | :label="item.name" |
55 | :name="item.value" | 52 | :name="item.value" |
56 | v-for="item in tabList" | 53 | v-for="item in tabList" |
57 | :key="item.value" | 54 | :key="item.value"> |
58 | > | ||
59 | </el-tab-pane> | 55 | </el-tab-pane> |
60 | </el-tabs> | 56 | </el-tabs> |
61 | <component | 57 | <component |
62 | :key="fresh" | 58 | :key="fresh" |
63 | :is="componentTag" | 59 | :is="componentTag" |
64 | v-bind="currentSelectProps" | 60 | v-bind="currentSelectProps" /> |
65 | /> | ||
66 | </div> | 61 | </div> |
67 | </div> | 62 | </div> |
68 | </div> | 63 | </div> |
... | @@ -71,231 +66,230 @@ | ... | @@ -71,231 +66,230 @@ |
71 | </div> | 66 | </div> |
72 | </template> | 67 | </template> |
73 | <style scoped lang="scss"> | 68 | <style scoped lang="scss"> |
74 | @import "~@/styles/mixin.scss"; | 69 | @import "~@/styles/mixin.scss"; |
75 | @import "./workFrame.scss"; | 70 | @import "./workFrame.scss"; |
76 | </style> | 71 | </style> |
77 | <script> | 72 | <script> |
78 | import WorkFlow from "./mixin/index"; | 73 | import WorkFlow from "./mixin/index"; |
79 | import { getForm } from "./flowform"; | 74 | import { getForm } from "./flowform"; |
80 | import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; | 75 | import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; |
81 | import NoticeBar from "@/components/NoticeBar/index"; | 76 | import NoticeBar from "@/components/NoticeBar/index"; |
82 | // import ProcessViewer from "./components/processViewer.vue"; | 77 | // import ProcessViewer from "./components/processViewer.vue"; |
83 | // 引入左侧菜单 | 78 | // 引入左侧菜单 |
84 | import { leftMenubl } from "@/api/djbRepair.js"; | 79 | import { leftMenubl } from "@/api/djbRepair.js"; |
85 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 80 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
86 | import qllxDailog from "./djbBook/components/qllxDailog"; | 81 | import qllxDailog from "./djbBook/components/qllxDailog"; |
87 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 82 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
88 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; | 83 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; |
89 | // 登记簿数据信息 | 84 | // 登记簿数据信息 |
90 | import { addRepairRecord } from "@/api/djbRepair.js"; | 85 | import { addRepairRecord } from "@/api/djbRepair.js"; |
91 | 86 | ||
92 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 87 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
93 | export default { | 88 | export default { |
94 | components: { | 89 | components: { |
95 | selectBdc, | 90 | selectBdc, |
96 | NoticeBar, | 91 | NoticeBar, |
97 | ordinaryMenu, | 92 | ordinaryMenu, |
98 | qllxDailog, | 93 | qllxDailog, |
99 | }, | ||
100 | mixins: [WorkFlow], | ||
101 | data() { | ||
102 | return { | ||
103 | bsmSlsq: this.$route.query.bsmSlsq, | ||
104 | bestepid: this.$route.query.bestepid, | ||
105 | bsmBusiness: this.$route.query.bsmBusiness, | ||
106 | //设置那个表单选中 | ||
107 | tabName: "", | ||
108 | // 弹框显示 | ||
109 | dialogVisible: true, | ||
110 | isEdit: false, | ||
111 | //表单集合 | ||
112 | tabList: [], | ||
113 | type: "READ_ONLY", | ||
114 | //选择加载哪一个组件 | ||
115 | componentTag: "", | ||
116 | //设置表单传递数据 | ||
117 | currentSelectProps: {}, | ||
118 | // 首次拿到的业务信息 | ||
119 | oneSelectProps: {}, | ||
120 | //材料信息选择卡索引 | ||
121 | oneget: true, | ||
122 | //页面监听时间 | ||
123 | _beforeUnload_time: "", | ||
124 | treedata: {}, | ||
125 | bsmRepair: "", | ||
126 | tabdata: [], | ||
127 | defaultNode: {}, | ||
128 | ableOperation: false, | ||
129 | }; | ||
130 | }, | ||
131 | mounted() { | ||
132 | // this.getleftMenubl() | ||
133 | }, | ||
134 | |||
135 | methods: { | ||
136 | /** | ||
137 | * @description: stepForm | ||
138 | * @param {*} qllx | ||
139 | * @author: renchao | ||
140 | */ | ||
141 | stepForm(qllx) { | ||
142 | this.oneSelectProps.qllx = qllx; | ||
143 | if (this.$refs.Menu.supplementarylist.length) { | ||
144 | this.oneSelectProps.type = this.type; | ||
145 | getBlYbxStepFormInfo(this.oneSelectProps).then((res) => { | ||
146 | this.$nextTick(function () { | ||
147 | this.tabList = res.result; | ||
148 | this.tabName = this.tabList[0].value; | ||
149 | this.ableOperation = this.tabList[0].ableOperation; | ||
150 | this.getFromRouter(this.tabName); | ||
151 | }); | ||
152 | }); | ||
153 | } | ||
154 | }, | 94 | }, |
155 | // 获取右侧选项卡 | 95 | mixins: [WorkFlow], |
156 | /** | 96 | data () { |
157 | * @description: 获取右侧选项卡 | 97 | return { |
158 | * @param {*} val | 98 | bsmSlsq: this.$route.query.bsmSlsq, |
159 | * @author: renchao | 99 | bestepid: this.$route.query.bestepid, |
160 | */ | 100 | bsmBusiness: this.$route.query.bsmBusiness, |
161 | getCurrentSelectProps(val) { | 101 | //设置那个表单选中 |
162 | this.bsmRepair = val.bsmRepair; | 102 | tabName: "", |
163 | if (val.bdcdyid) { | 103 | // 弹框显示 |
164 | this.oneSelectProps = val; | 104 | dialogVisible: true, |
165 | } | 105 | isEdit: false, |
166 | this.currentSelectProps = val; | 106 | //表单集合 |
167 | if (this.currentSelectProps.bsmRepair) { | 107 | tabList: [], |
168 | this.stepForm(this.currentSelectProps.qllx); | 108 | type: "READ_ONLY", |
169 | } else if (!this.oneget) { | 109 | //选择加载哪一个组件 |
170 | this.getdjblist(); | 110 | componentTag: "", |
171 | } | 111 | //设置表单传递数据 |
172 | if (this.oneget) { | 112 | currentSelectProps: {}, |
173 | this.oneget = false; | 113 | // 首次拿到的业务信息 |
174 | this.stepForm(this.currentSelectProps.qllx); | 114 | oneSelectProps: {}, |
175 | } | 115 | //材料信息选择卡索引 |
116 | oneget: true, | ||
117 | //页面监听时间 | ||
118 | _beforeUnload_time: "", | ||
119 | treedata: {}, | ||
120 | bsmRepair: "", | ||
121 | tabdata: [], | ||
122 | defaultNode: {}, | ||
123 | ableOperation: false, | ||
124 | }; | ||
125 | }, | ||
126 | mounted () { | ||
127 | // this.getleftMenubl() | ||
176 | }, | 128 | }, |
177 | // 获取渲染登记簿列表 | 129 | |
178 | /** | 130 | methods: { |
179 | * @description: 获取渲染登记簿列表 | 131 | /** |
180 | * @author: renchao | 132 | * @description: stepForm |
181 | */ | 133 | * @param {*} qllx |
182 | getdjblist() { | 134 | * @author: renchao |
183 | getBdcqljqtsx({ | 135 | */ |
184 | bdcdyid: this.currentSelectProps.bdcdyid, | 136 | stepForm (qllx) { |
185 | bdcdyh: this.currentSelectProps.bdcdyh, | 137 | this.oneSelectProps.qllx = qllx; |
186 | }).then((res) => { | 138 | if (this.$refs.Menu.supplementarylist.length) { |
187 | if (res.code === 200) { | 139 | this.oneSelectProps.type = this.type; |
188 | this.treedata = loadTreeData(res.result, this.bdcdyh); | 140 | getBlYbxStepFormInfo(this.oneSelectProps).then((res) => { |
189 | this.$nextTick(function () { | 141 | this.$nextTick(function () { |
190 | this.defaultNode = getNode(this.currentSelectProps.qllx, { | 142 | this.tabList = res.result; |
191 | linShi: 0, | 143 | this.tabName = this.tabList[0].value; |
192 | xianShi: 0, | 144 | this.ableOperation = this.tabList[0].ableOperation; |
193 | liShi: 0, | 145 | this.getFromRouter(this.tabName); |
194 | }); | 146 | }); |
195 | this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点 | ||
196 | }); | 147 | }); |
197 | let settree = JSON.parse(JSON.stringify(this.treedata)); | ||
198 | this.tabdata = [ | ||
199 | ...settree, | ||
200 | ...settree[1].children[0].children[0].children, | ||
201 | ]; | ||
202 | this.tabdata.forEach((item, index, arr) => { | ||
203 | arr[index].name = item.label; | ||
204 | arr[index].value = item.id; | ||
205 | }); | ||
206 | this.tabList = this.tabdata; | ||
207 | } | 148 | } |
208 | }); | 149 | }, |
209 | }, | 150 | /** |
210 | //选项卡切换事件 | 151 | * @description: 获取右侧选项卡 |
211 | /** | 152 | * @param {*} val |
212 | * @description: 右侧表单选项卡事件 | 153 | * @author: renchao |
213 | * @param {*} handleClick | 154 | */ |
214 | * @author: renchao | 155 | getCurrentSelectProps (val) { |
215 | */ | 156 | this.bsmRepair = val.bsmRepair; |
216 | handleClick(a) { | 157 | if (val.bdcdyid) { |
217 | let p = Object.keys(this.tabList[0]).filter( | 158 | this.oneSelectProps = val; |
218 | (item) => item == "ableOperation" | 159 | } |
219 | ); | 160 | this.currentSelectProps = val; |
220 | if (p) { | 161 | if (this.currentSelectProps.bsmRepair) { |
221 | this.ableOperation = this.tabList[a.index].ableOperation; | 162 | this.stepForm(this.currentSelectProps.qllx); |
222 | } | 163 | } else if (!this.oneget) { |
223 | }, | 164 | this.getdjblist(); |
224 | //右侧表单选项卡事件 | 165 | } |
225 | /** | 166 | if (this.oneget) { |
226 | * @description: 右侧表单选项卡事件 | 167 | this.oneget = false; |
227 | * @param {*} activeName | 168 | this.stepForm(this.currentSelectProps.qllx); |
228 | * @author: renchao | ||
229 | */ | ||
230 | beforeLeave(activeName) { | ||
231 | if (activeName && activeName != 0) this.getFromRouter(activeName); | ||
232 | }, | ||
233 | //切换选项卡内容组件 | ||
234 | /** | ||
235 | * @description: 切换选项卡内容组件 | ||
236 | * @param {*} tabname | ||
237 | * @author: renchao | ||
238 | */ | ||
239 | getFromRouter(tabname) { | ||
240 | this.componentTag = getForm(tabname); | ||
241 | }, | ||
242 | /** | ||
243 | * @description: closefp | ||
244 | * @author: renchao | ||
245 | */ | ||
246 | closefp() { | ||
247 | this.splitScreen = this.splitScreen ? false : true; | ||
248 | this.$store.dispatch("app/set1tScreen", this.splitScreen); | ||
249 | this.getFromRouter(this.tabList[0].value); | ||
250 | this.clxxForm = getForm(this.tabList[1].value); | ||
251 | }, | ||
252 | // 增加补录记录 | ||
253 | /** | ||
254 | * @description: 增加补录记录 | ||
255 | * @param {*} row | ||
256 | * @param {*} del | ||
257 | * @author: renchao | ||
258 | */ | ||
259 | addRepairRecord(row, del) { | ||
260 | let from = { | ||
261 | bsmQlxx: "", | ||
262 | bsmSlsq: this.bsmSlsq, | ||
263 | bsmSldy: this.currentSelectProps.bsmSldy, | ||
264 | operate: "C", | ||
265 | qllx: "", | ||
266 | }; | ||
267 | if (row) { | ||
268 | from.bsmQlxx = row.bsmQlxx; | ||
269 | if (del) { | ||
270 | from.operate = del; | ||
271 | } else { | ||
272 | from.operate = row.bsmQlxx ? "U" : "C"; | ||
273 | } | 169 | } |
274 | from.qllx = row.qllx; | 170 | }, |
275 | } | 171 | // 获取渲染登记簿列表 |
276 | addRepairRecord(from) | 172 | /** |
277 | .then((res) => { | 173 | * @description: 获取渲染登记簿列表 |
278 | if (res.code == "200") { | 174 | * @author: renchao |
279 | this.$refs.qllxlist.dialogVisible = false; | 175 | */ |
280 | this.$nextTick(() => { | 176 | getdjblist () { |
281 | this.$refs.Menu.getleftMenubl(res.result); | 177 | getBdcqljqtsx({ |
282 | this.$message({ | 178 | bdcdyid: this.currentSelectProps.bdcdyid, |
283 | type: "success", | 179 | bdcdyh: this.currentSelectProps.bdcdyh, |
284 | message: "补录成功!", | 180 | }).then((res) => { |
181 | if (res.code === 200) { | ||
182 | this.treedata = loadTreeData(res.result, this.bdcdyh); | ||
183 | this.$nextTick(function () { | ||
184 | this.defaultNode = getNode(this.currentSelectProps.qllx, { | ||
185 | linShi: 0, | ||
186 | xianShi: 0, | ||
187 | liShi: 0, | ||
285 | }); | 188 | }); |
189 | this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点 | ||
286 | }); | 190 | }); |
287 | } else { | 191 | let settree = JSON.parse(JSON.stringify(this.treedata)); |
288 | this.$alert(res.message, "提示", { | 192 | this.tabdata = [ |
289 | confirmButtonText: "确定", | 193 | ...settree, |
290 | type: "warning", | 194 | ...settree[1].children[0].children[0].children, |
195 | ]; | ||
196 | this.tabdata.forEach((item, index, arr) => { | ||
197 | arr[index].name = item.label; | ||
198 | arr[index].value = item.id; | ||
291 | }); | 199 | }); |
200 | this.tabList = this.tabdata; | ||
292 | } | 201 | } |
293 | }) | ||
294 | .catch((res) => { | ||
295 | console.log("错", res); | ||
296 | }); | 202 | }); |
203 | }, | ||
204 | //选项卡切换事件 | ||
205 | /** | ||
206 | * @description: 右侧表单选项卡事件 | ||
207 | * @param {*} handleClick | ||
208 | * @author: renchao | ||
209 | */ | ||
210 | handleClick (a) { | ||
211 | let p = Object.keys(this.tabList[0]).filter( | ||
212 | (item) => item == "ableOperation" | ||
213 | ); | ||
214 | if (p) { | ||
215 | this.ableOperation = this.tabList[a.index].ableOperation; | ||
216 | } | ||
217 | }, | ||
218 | //右侧表单选项卡事件 | ||
219 | /** | ||
220 | * @description: 右侧表单选项卡事件 | ||
221 | * @param {*} activeName | ||
222 | * @author: renchao | ||
223 | */ | ||
224 | beforeLeave (activeName) { | ||
225 | if (activeName && activeName != 0) this.getFromRouter(activeName); | ||
226 | }, | ||
227 | //切换选项卡内容组件 | ||
228 | /** | ||
229 | * @description: 切换选项卡内容组件 | ||
230 | * @param {*} tabname | ||
231 | * @author: renchao | ||
232 | */ | ||
233 | getFromRouter (tabname) { | ||
234 | this.componentTag = getForm(tabname); | ||
235 | }, | ||
236 | /** | ||
237 | * @description: closefp | ||
238 | * @author: renchao | ||
239 | */ | ||
240 | closefp () { | ||
241 | this.splitScreen = this.splitScreen ? false : true; | ||
242 | this.$store.dispatch("app/set1tScreen", this.splitScreen); | ||
243 | this.getFromRouter(this.tabList[0].value); | ||
244 | this.clxxForm = getForm(this.tabList[1].value); | ||
245 | }, | ||
246 | // 增加补录记录 | ||
247 | /** | ||
248 | * @description: 增加补录记录 | ||
249 | * @param {*} row | ||
250 | * @param {*} del | ||
251 | * @author: renchao | ||
252 | */ | ||
253 | addRepairRecord (row, del) { | ||
254 | let from = { | ||
255 | bsmQlxx: "", | ||
256 | bsmSlsq: this.bsmSlsq, | ||
257 | bsmSldy: this.currentSelectProps.bsmSldy, | ||
258 | operate: "C", | ||
259 | qllx: "", | ||
260 | }; | ||
261 | if (row) { | ||
262 | from.bsmQlxx = row.bsmQlxx; | ||
263 | if (del) { | ||
264 | from.operate = del; | ||
265 | } else { | ||
266 | from.operate = row.bsmQlxx ? "U" : "C"; | ||
267 | } | ||
268 | from.qllx = row.qllx; | ||
269 | } | ||
270 | addRepairRecord(from) | ||
271 | .then((res) => { | ||
272 | if (res.code == "200") { | ||
273 | this.$refs.qllxlist.dialogVisible = false; | ||
274 | this.$nextTick(() => { | ||
275 | this.$refs.Menu.getleftMenubl(res.result); | ||
276 | this.$message({ | ||
277 | type: "success", | ||
278 | message: "补录成功!", | ||
279 | }); | ||
280 | }); | ||
281 | } else { | ||
282 | this.$alert(res.message, "提示", { | ||
283 | confirmButtonText: "确定", | ||
284 | type: "warning", | ||
285 | }); | ||
286 | } | ||
287 | }) | ||
288 | .catch((res) => { | ||
289 | console.log("错", res); | ||
290 | }); | ||
291 | }, | ||
297 | }, | 292 | }, |
298 | }, | 293 | }; |
299 | }; | ||
300 | </script> | 294 | </script> |
301 | <style scoped lang="scss"></style> | 295 | <style scoped lang="scss"></style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-26 14:02:42 | 4 | * @LastEditTime: 2023-09-26 16:47:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -512,11 +512,10 @@ | ... | @@ -512,11 +512,10 @@ |
512 | let { total, records } = res.result; | 512 | let { total, records } = res.result; |
513 | this.tableDataQy.total = total; | 513 | this.tableDataQy.total = total; |
514 | this.tableDataQy.data = records; | 514 | this.tableDataQy.data = records; |
515 | this.tableDataQy.data.forEach(item => { | 515 | this.tableDataQy.data.forEach((item, index) => { |
516 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | 516 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') |
517 | item.sqrmc = item.qymc | 517 | item.sqrmc = item.qymc |
518 | item.txdz = item.dwdz | 518 | item.txdz = item.dwdz |
519 | item.id = getUuid(16) | ||
520 | }) | 519 | }) |
521 | } | 520 | } |
522 | }) | 521 | }) |
... | @@ -544,7 +543,7 @@ | ... | @@ -544,7 +543,7 @@ |
544 | distinguishCancelAndClose: true,//区分取消与关闭 | 543 | distinguishCancelAndClose: true,//区分取消与关闭 |
545 | }).then(() => { | 544 | }).then(() => { |
546 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { | 545 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { |
547 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' })); | 546 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2', id: getUuid(16) })); |
548 | that.$emit("input", false); | 547 | that.$emit("input", false); |
549 | if (res.code == 200) { | 548 | if (res.code == 200) { |
550 | that.$message({ | 549 | that.$message({ |
... | @@ -574,11 +573,10 @@ | ... | @@ -574,11 +573,10 @@ |
574 | let { total, records } = res.result; | 573 | let { total, records } = res.result; |
575 | this.tableDataYh.total = total; | 574 | this.tableDataYh.total = total; |
576 | this.tableDataYh.data = records; | 575 | this.tableDataYh.data = records; |
577 | this.tableDataYh.data.forEach(item => { | 576 | this.tableDataYh.data.forEach((item, index) => { |
578 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | 577 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') |
579 | item.sqrmc = item.qymc | 578 | item.sqrmc = item.qymc |
580 | item.txdz = item.dwdz | 579 | item.txdz = item.dwdz |
581 | item.id = getUuid(16) | ||
582 | }) | 580 | }) |
583 | } | 581 | } |
584 | }) | 582 | }) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-26 14:10:02 | 4 | * @LastEditTime: 2023-09-26 16:40:49 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -167,23 +167,35 @@ | ... | @@ -167,23 +167,35 @@ |
167 | handleupdateDetail (value) { | 167 | handleupdateDetail (value) { |
168 | let that = this | 168 | let that = this |
169 | let arr = this.tableData.map(item => item.zjh) | 169 | let arr = this.tableData.map(item => item.zjh) |
170 | // if (this.isaddupdate) { | ||
171 | // if (!arr.includes(value.zjh)) { | ||
172 | // this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | ||
173 | // this.$emit('upDateQlrxxList', this.tableDataList) | ||
174 | // } else { | ||
175 | // setTimeout(() => { | ||
176 | // that.$message.error('证件号不能重复') | ||
177 | // }, 1500) | ||
178 | // } | ||
179 | // } else { | ||
180 | // if (!arr.includes(value.zjh) || this.tableData[this.dataIndex].zjh == value.zjh) { | ||
181 | // this.tableDataList[this.dataIndex] = _.cloneDeep(value); | ||
182 | // this.$emit('upDateQlrxxList', this.tableDataList) | ||
183 | // } else { | ||
184 | // setTimeout(() => { | ||
185 | // that.$message.error('证件号不能重复') | ||
186 | // }, 1500) | ||
187 | // } | ||
188 | // } | ||
189 | |||
170 | if (this.isaddupdate) { | 190 | if (this.isaddupdate) { |
171 | if (!arr.includes(value.zjh)) { | 191 | if (!_.isEqual(value, this.tableData)) { |
172 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | 192 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); |
173 | this.$emit('upDateQlrxxList', this.tableDataList) | 193 | this.$emit("upDateQlrxxList", this.tableDataList); |
174 | } else { | ||
175 | setTimeout(() => { | ||
176 | that.$message.error('证件号不能重复') | ||
177 | }, 1500) | ||
178 | } | 194 | } |
179 | } else { | 195 | } else { |
180 | if (!arr.includes(value.zjh) || this.tableData[this.dataIndex].zjh == value.zjh) { | 196 | if (!_.isEqual(value, this.tableData)) { |
181 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | 197 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); |
182 | this.$emit('upDateQlrxxList', this.tableDataList) | 198 | this.$emit("upDateQlrxxList", this.tableDataList); |
183 | } else { | ||
184 | setTimeout(() => { | ||
185 | that.$message.error('证件号不能重复') | ||
186 | }, 1500) | ||
187 | } | 199 | } |
188 | } | 200 | } |
189 | this.key++ | 201 | this.key++ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-01 13:33:27 | 4 | * @LastEditTime: 2023-09-26 15:45:06 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -124,12 +124,6 @@ | ... | @@ -124,12 +124,6 @@ |
124 | let that = this | 124 | let that = this |
125 | this.$nextTick(() => { | 125 | this.$nextTick(() => { |
126 | if (val.length == 0 || !val) { | 126 | if (val.length == 0 || !val) { |
127 | // that.tableDataList = _.cloneDeep([{ | ||
128 | // sqrmc: '', | ||
129 | // dlrzjlx: '', | ||
130 | // dlrzjh: '', | ||
131 | // fr: '' | ||
132 | // }]) | ||
133 | } else { | 127 | } else { |
134 | that.tableDataList = _.cloneDeep(val) | 128 | that.tableDataList = _.cloneDeep(val) |
135 | } | 129 | } |
... | @@ -209,6 +203,7 @@ | ... | @@ -209,6 +203,7 @@ |
209 | * @author: renchao | 203 | * @author: renchao |
210 | */ | 204 | */ |
211 | deleClick (index, row) { | 205 | deleClick (index, row) { |
206 | debugger | ||
212 | this.tableDataList.splice(index, 1) | 207 | this.tableDataList.splice(index, 1) |
213 | this.$emit('upDateQlrxxList', this.tableDataList) | 208 | this.$emit('upDateQlrxxList', this.tableDataList) |
214 | }, | 209 | }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-20 14:27:17 | 4 | * @LastEditTime: 2023-09-26 15:16:04 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -446,6 +446,7 @@ | ... | @@ -446,6 +446,7 @@ |
446 | * @description: saveData | 446 | * @description: saveData |
447 | * @author: renchao | 447 | * @author: renchao |
448 | */ | 448 | */ |
449 | this.$store.dispatch("user/refreshPage", false); | ||
449 | saveData(this.ruleForm).then((res) => { | 450 | saveData(this.ruleForm).then((res) => { |
450 | if (res.code === 200) { | 451 | if (res.code === 200) { |
451 | this.$message({ | 452 | this.$message({ | ... | ... |
-
Please register or sign in to post a comment