选择人员
This commit is contained in:
@@ -13,7 +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" :url="'/app/appresident/list?areaId='+user.info.areaId"></ai-person-select>
|
||||
<ai-person-select :instance="instance" @selectPerson="checkName" :url="'/app/appresident/list?auditStatus=1&householdName=1&areaId='+user.info.areaId"></ai-person-select>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
||||
@@ -358,6 +358,7 @@
|
||||
<ai-person-select
|
||||
:instance="instance"
|
||||
@selectPerson="checkName"
|
||||
:url="'/app/appresident/list?auditStatus=1&areaId='+user.info.areaId"
|
||||
>
|
||||
</ai-person-select>
|
||||
</template>
|
||||
@@ -795,12 +796,15 @@ export default {
|
||||
this.form.birthDate = ''
|
||||
this.form.sex = ''
|
||||
this.form.age = ''
|
||||
this.form.currentAreaId = ''
|
||||
this.form.currentAddress = ''
|
||||
return
|
||||
}
|
||||
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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user