diff --git a/src/views/components/resiChangeTransfer.vue b/src/views/components/resiChangeTransfer.vue index b7a0d18c1..33bafc8f2 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 () { @@ -619,8 +629,3 @@ export default { margin-left: 10px; } - diff --git a/src/views/components/resiTransfer.vue b/src/views/components/resiTransfer.vue index 68dfc49ed..709b18d12 100644 --- a/src/views/components/resiTransfer.vue +++ b/src/views/components/resiTransfer.vue @@ -492,8 +492,3 @@ export default { margin-left: 10px; } - \ No newline at end of file diff --git a/src/views/modules/communityService/dqfwzx/cpts/order.vue b/src/views/modules/communityService/dqfwzx/cpts/order.vue index 5c795214f..eb6163f25 100644 --- a/src/views/modules/communityService/dqfwzx/cpts/order.vue +++ b/src/views/modules/communityService/dqfwzx/cpts/order.vue @@ -430,9 +430,3 @@ export default { margin-top: 30px; } - - diff --git a/src/views/modules/communityService/dqfwzx/cpts/orderList.vue b/src/views/modules/communityService/dqfwzx/cpts/orderList.vue index 691e789ee..0153ff985 100644 --- a/src/views/modules/communityService/dqfwzx/cpts/orderList.vue +++ b/src/views/modules/communityService/dqfwzx/cpts/orderList.vue @@ -198,9 +198,3 @@ export default { margin-top: 30px; } - - diff --git a/src/views/modules/communityService/shzz/cpts/edit.vue b/src/views/modules/communityService/shzz/cpts/edit.vue index 7b24dd04d..af275e9dc 100644 --- a/src/views/modules/communityService/shzz/cpts/edit.vue +++ b/src/views/modules/communityService/shzz/cpts/edit.vue @@ -505,9 +505,3 @@ export default { margin-top: 30px; } - - diff --git a/src/views/modules/communityService/sqzzz/cpts/edit.vue b/src/views/modules/communityService/sqzzz/cpts/edit.vue index 59ec51c32..f68176ee2 100644 --- a/src/views/modules/communityService/sqzzz/cpts/edit.vue +++ b/src/views/modules/communityService/sqzzz/cpts/edit.vue @@ -532,9 +532,3 @@ export default { } } - - diff --git a/src/views/modules/plugins/change/changedeath.vue b/src/views/modules/plugins/change/changedeath.vue index 965084d62..d71363517 100644 --- a/src/views/modules/plugins/change/changedeath.vue +++ b/src/views/modules/plugins/change/changedeath.vue @@ -30,7 +30,7 @@ placeholder="请输入手机"> - - + + + {{scope.row.name}} + + @@ -137,7 +141,8 @@ export default { }, timeRange: '', dataForm: { - id: '' + id: '', + name: '' }, // 显示人员详情 showedPeopleMoreInfo: false, @@ -163,6 +168,34 @@ export default { peopleMore }, methods: { + exportHandle () { + const url = this.mixinViewModuleOptions.exportURL + this.$http({ + method: 'GET', + url, + responseType: 'blob', + params: this.dataForm + }).then(res => { + // this.download(res.data, title + '.xls') + if (res.headers["content-disposition"]) { + let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1]) + console.log('filename', fileName) + let blob = new Blob([res.data], { type: 'application/vnd.ms-excel' }) + var url = window.URL.createObjectURL(blob) + var aLink = document.createElement('a') + aLink.style.display = 'none' + aLink.href = url + aLink.setAttribute('download', fileName) + document.body.appendChild(aLink) + aLink.click() + document.body.removeChild(aLink) //下载完成移除元素 + window.URL.revokeObjectURL(url) //释放掉blob对象 + } else this.$message.error('下载失败') + }).catch(err => { + console.log('err', err) + return this.$message.error('网络错误') + }) + }, resetForm(formName) { for(const n in this.dataForm) { this.dataForm[n] = '' diff --git a/src/views/modules/plugins/change/changerelocation.vue b/src/views/modules/plugins/change/changerelocation.vue index b5fc3f4e3..d6181065b 100644 --- a/src/views/modules/plugins/change/changerelocation.vue +++ b/src/views/modules/plugins/change/changerelocation.vue @@ -166,9 +166,14 @@ align="center" width="50"> - + + + {{scope.row.name}} + + + @@ -176,7 +181,6 @@ - + @@ -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 000000000..c9c30ac8f --- /dev/null +++ b/src/views/modules/plugins/rent/renthouseForm.vue @@ -0,0 +1,607 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 出租 + 闲置 + 自住 + + + + + + + + + + + + + + + + + + 更新房屋信息 + + + + + + 取 消 + 确 定 + + + + + +