style:权利人信息
Showing
12 changed files
with
86 additions
and
79 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) { | ... | ... |
This diff is collapsed.
Click to expand it.
| 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