This commit is contained in:
liuye
2022-04-26 11:36:59 +08:00
parent 48b3839eca
commit ab146f9a69

View File

@@ -13,8 +13,7 @@
:disabled="isEdit"/> -->
<el-input size="small" class="user-selecter" v-model="form.name" placeholder="请输入姓名" clearable :disabled="isEdit || isSelectUser">
<template slot="append">
<ai-person-select :instance="instance" @selectPerson="checkName">
</ai-person-select>
<ai-person-select :instance="instance" @selectPerson="checkName" :url="'/app/appresident/list?areaId='+user.info.areaId"></ai-person-select>
</template>
</el-input>
</el-form-item>
@@ -282,7 +281,8 @@ export default {
this.form.name = ''
this.form.idNumber = ''
this.form.phone =''
this.form.areaId = ''
this.form.currentAreaId = ''
this.form.currentAddress = ''
this.form.birthDate = ''
this.form.sex = ''
this.form.age = ''
@@ -291,7 +291,8 @@ export default {
this.form.name = e.name
this.form.idNumber = e.idNumber
this.form.phone = e.phone
this.form.areaId = e.householdAreaId
this.form.currentAreaId = e.currentAreaId
this.form.currentAddress = e.currentAddress
this.handleIdNumberAutocomplete(e.idNumber)
this.isSelectUser = true
},
@@ -309,7 +310,6 @@ export default {
res.data.healthyStatusList = res.data.healthyStatus.split(',')
}
this.form = {...res.data}
console.log(res.data)
}
})
},