Browse Source

修改迁入死亡

shibei_master
wanggongfeng 3 years ago
parent
commit
60ab2c05fb
  1. 12
      src/views/components/resiChangeTransfer.vue

12
src/views/components/resiChangeTransfer.vue

@ -169,7 +169,7 @@
<script>
import util from '@js/util.js';
import { Loading } from 'element-ui' // Loading
import { requestPost } from '@/js/dai/request'
import { requestPost, requestGet } from '@/js/dai/request'
let loading //
export default {
@ -283,7 +283,7 @@ export default {
this.dataForm.idCard = row.ID_CARD
this.dataForm.mobile = row.MOBILE
await this.loadHouseInfo(row.HOME_ID)
await this.loadHouseInfo(row.HOME_ID_VALUE)
this.dataForm.name = row.NAME
this.dataForm.gender = row.GENDER
@ -294,13 +294,13 @@ export default {
await this.getAgencylist()
},
async loadHouseInfo (homeId) {
const url = "/gov/org/ichouse/" + homeId
async loadHouseInfo (homeIdValue) {
const url = "/gov/org/ichouse/" + homeIdValue
const { data, code, msg } = await requestGet(url)
if (code === 0) {
this.dataForm.oldDept = ''
this.dataForm.oldAddress = row.houseName
this.dataForm.ownerName = row.ownerName
this.dataForm.oldAddress = data.houseName
this.dataForm.ownerName = data.ownerName
} else {
this.$message.error(msg)
}

Loading…
Cancel
Save