style:权利人信息
Showing
12 changed files
with
120 additions
and
119 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,26 +66,26 @@ | ... | @@ -71,26 +66,26 @@ |
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, |
... | @@ -98,7 +93,7 @@ export default { | ... | @@ -98,7 +93,7 @@ export default { |
98 | qllxDailog, | 93 | qllxDailog, |
99 | }, | 94 | }, |
100 | mixins: [WorkFlow], | 95 | mixins: [WorkFlow], |
101 | data() { | 96 | data () { |
102 | return { | 97 | return { |
103 | bsmSlsq: this.$route.query.bsmSlsq, | 98 | bsmSlsq: this.$route.query.bsmSlsq, |
104 | bestepid: this.$route.query.bestepid, | 99 | bestepid: this.$route.query.bestepid, |
... | @@ -128,7 +123,7 @@ export default { | ... | @@ -128,7 +123,7 @@ export default { |
128 | ableOperation: false, | 123 | ableOperation: false, |
129 | }; | 124 | }; |
130 | }, | 125 | }, |
131 | mounted() { | 126 | mounted () { |
132 | // this.getleftMenubl() | 127 | // this.getleftMenubl() |
133 | }, | 128 | }, |
134 | 129 | ||
... | @@ -138,7 +133,7 @@ export default { | ... | @@ -138,7 +133,7 @@ export default { |
138 | * @param {*} qllx | 133 | * @param {*} qllx |
139 | * @author: renchao | 134 | * @author: renchao |
140 | */ | 135 | */ |
141 | stepForm(qllx) { | 136 | stepForm (qllx) { |
142 | this.oneSelectProps.qllx = qllx; | 137 | this.oneSelectProps.qllx = qllx; |
143 | if (this.$refs.Menu.supplementarylist.length) { | 138 | if (this.$refs.Menu.supplementarylist.length) { |
144 | this.oneSelectProps.type = this.type; | 139 | this.oneSelectProps.type = this.type; |
... | @@ -152,13 +147,12 @@ export default { | ... | @@ -152,13 +147,12 @@ export default { |
152 | }); | 147 | }); |
153 | } | 148 | } |
154 | }, | 149 | }, |
155 | // 获取右侧选项卡 | ||
156 | /** | 150 | /** |
157 | * @description: 获取右侧选项卡 | 151 | * @description: 获取右侧选项卡 |
158 | * @param {*} val | 152 | * @param {*} val |
159 | * @author: renchao | 153 | * @author: renchao |
160 | */ | 154 | */ |
161 | getCurrentSelectProps(val) { | 155 | getCurrentSelectProps (val) { |
162 | this.bsmRepair = val.bsmRepair; | 156 | this.bsmRepair = val.bsmRepair; |
163 | if (val.bdcdyid) { | 157 | if (val.bdcdyid) { |
164 | this.oneSelectProps = val; | 158 | this.oneSelectProps = val; |
... | @@ -179,7 +173,7 @@ export default { | ... | @@ -179,7 +173,7 @@ export default { |
179 | * @description: 获取渲染登记簿列表 | 173 | * @description: 获取渲染登记簿列表 |
180 | * @author: renchao | 174 | * @author: renchao |
181 | */ | 175 | */ |
182 | getdjblist() { | 176 | getdjblist () { |
183 | getBdcqljqtsx({ | 177 | getBdcqljqtsx({ |
184 | bdcdyid: this.currentSelectProps.bdcdyid, | 178 | bdcdyid: this.currentSelectProps.bdcdyid, |
185 | bdcdyh: this.currentSelectProps.bdcdyh, | 179 | bdcdyh: this.currentSelectProps.bdcdyh, |
... | @@ -213,7 +207,7 @@ export default { | ... | @@ -213,7 +207,7 @@ export default { |
213 | * @param {*} handleClick | 207 | * @param {*} handleClick |
214 | * @author: renchao | 208 | * @author: renchao |
215 | */ | 209 | */ |
216 | handleClick(a) { | 210 | handleClick (a) { |
217 | let p = Object.keys(this.tabList[0]).filter( | 211 | let p = Object.keys(this.tabList[0]).filter( |
218 | (item) => item == "ableOperation" | 212 | (item) => item == "ableOperation" |
219 | ); | 213 | ); |
... | @@ -227,7 +221,7 @@ export default { | ... | @@ -227,7 +221,7 @@ export default { |
227 | * @param {*} activeName | 221 | * @param {*} activeName |
228 | * @author: renchao | 222 | * @author: renchao |
229 | */ | 223 | */ |
230 | beforeLeave(activeName) { | 224 | beforeLeave (activeName) { |
231 | if (activeName && activeName != 0) this.getFromRouter(activeName); | 225 | if (activeName && activeName != 0) this.getFromRouter(activeName); |
232 | }, | 226 | }, |
233 | //切换选项卡内容组件 | 227 | //切换选项卡内容组件 |
... | @@ -236,14 +230,14 @@ export default { | ... | @@ -236,14 +230,14 @@ export default { |
236 | * @param {*} tabname | 230 | * @param {*} tabname |
237 | * @author: renchao | 231 | * @author: renchao |
238 | */ | 232 | */ |
239 | getFromRouter(tabname) { | 233 | getFromRouter (tabname) { |
240 | this.componentTag = getForm(tabname); | 234 | this.componentTag = getForm(tabname); |
241 | }, | 235 | }, |
242 | /** | 236 | /** |
243 | * @description: closefp | 237 | * @description: closefp |
244 | * @author: renchao | 238 | * @author: renchao |
245 | */ | 239 | */ |
246 | closefp() { | 240 | closefp () { |
247 | this.splitScreen = this.splitScreen ? false : true; | 241 | this.splitScreen = this.splitScreen ? false : true; |
248 | this.$store.dispatch("app/set1tScreen", this.splitScreen); | 242 | this.$store.dispatch("app/set1tScreen", this.splitScreen); |
249 | this.getFromRouter(this.tabList[0].value); | 243 | this.getFromRouter(this.tabList[0].value); |
... | @@ -256,7 +250,7 @@ export default { | ... | @@ -256,7 +250,7 @@ export default { |
256 | * @param {*} del | 250 | * @param {*} del |
257 | * @author: renchao | 251 | * @author: renchao |
258 | */ | 252 | */ |
259 | addRepairRecord(row, del) { | 253 | addRepairRecord (row, del) { |
260 | let from = { | 254 | let from = { |
261 | bsmQlxx: "", | 255 | bsmQlxx: "", |
262 | bsmSlsq: this.bsmSlsq, | 256 | bsmSlsq: this.bsmSlsq, |
... | @@ -296,6 +290,6 @@ export default { | ... | @@ -296,6 +290,6 @@ export default { |
296 | }); | 290 | }); |
297 | }, | 291 | }, |
298 | }, | 292 | }, |
299 | }; | 293 | }; |
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