From 1e7080e7eda1fee128c4e20d2d8169d1fdcfe400 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Wed, 11 May 2022 16:08:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E6=88=BF=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/resiChangeTransfer.vue | 16 +- .../modules/plugins/change/changedeath.vue | 6 +- .../plugins/change/changerelocation.vue | 46 +- .../modules/plugins/change/changewelfare.vue | 6 +- src/views/modules/plugins/rent/renthouse.vue | 473 ++++++++++++-- .../modules/plugins/rent/renthouseForm.vue | 606 ++++++++++++++++++ 6 files changed, 1101 insertions(+), 52 deletions(-) create mode 100644 src/views/modules/plugins/rent/renthouseForm.vue diff --git a/src/views/components/resiChangeTransfer.vue b/src/views/components/resiChangeTransfer.vue index 363da052..33bafc8f 100644 --- a/src/views/components/resiChangeTransfer.vue +++ b/src/views/components/resiChangeTransfer.vue @@ -283,9 +283,7 @@ export default { this.dataForm.idCard = row.ID_CARD this.dataForm.mobile = row.MOBILE - this.dataForm.oldDept = row.GRID_ID - this.dataForm.oldAddress = row.HOME_ID - this.dataForm.ownerName = row.NAME + await this.loadHouseInfo(row.HOME_ID) this.dataForm.name = row.NAME this.dataForm.gender = row.GENDER @@ -296,6 +294,18 @@ export default { await this.getAgencylist() }, + async loadHouseInfo (homeId) { + const url = "/gov/org/ichouse/" + homeId + const { data, code, msg } = await requestGet(url) + if (code === 0) { + this.dataForm.oldDept = '' + this.dataForm.oldAddress = row.houseName + this.dataForm.ownerName = row.ownerName + } else { + this.$message.error(msg) + } + + }, //根据人员id获取根组织信息 async loadRootAgency () { diff --git a/src/views/modules/plugins/change/changedeath.vue b/src/views/modules/plugins/change/changedeath.vue index 965084d6..357c5247 100644 --- a/src/views/modules/plugins/change/changedeath.vue +++ b/src/views/modules/plugins/change/changedeath.vue @@ -70,7 +70,11 @@ - + + + diff --git a/src/views/modules/plugins/change/changerelocation.vue b/src/views/modules/plugins/change/changerelocation.vue index b5fc3f4e..b628ddc2 100644 --- a/src/views/modules/plugins/change/changerelocation.vue +++ b/src/views/modules/plugins/change/changerelocation.vue @@ -166,7 +166,11 @@ align="center" width="50"> - + + + @@ -190,6 +194,10 @@ + @@ -197,6 +205,8 @@ diff --git a/src/views/modules/plugins/rent/renthouseForm.vue b/src/views/modules/plugins/rent/renthouseForm.vue new file mode 100644 index 00000000..a6058463 --- /dev/null +++ b/src/views/modules/plugins/rent/renthouseForm.vue @@ -0,0 +1,606 @@ + + + +