BUG 29186
This commit is contained in:
@@ -25,7 +25,8 @@
|
|||||||
</ai-table>
|
</ai-table>
|
||||||
</template>
|
</template>
|
||||||
</ai-list>
|
</ai-list>
|
||||||
<ai-dialog title="添加户主" :visible.sync="dialog" @closed="form={residentList: []},residents=[]" @onConfirm="submit" width="1200px">
|
<ai-dialog title="添加户主" :visible.sync="dialog" @closed="form={residentList: []},residents=[]" @onConfirm="submit"
|
||||||
|
width="1200px">
|
||||||
<ai-area-get v-model="form.areaId" :instance="instance" :root="user.info.areaId" @change="getResident"/>
|
<ai-area-get v-model="form.areaId" :instance="instance" :root="user.info.areaId" @change="getResident"/>
|
||||||
<el-row type="flex" class="mar-t16">
|
<el-row type="flex" class="mar-t16">
|
||||||
<ai-table ref="Residents" :tableData="residents" :total="list.total" :current.sync="list.current"
|
<ai-table ref="Residents" :tableData="residents" :total="list.total" :current.sync="list.current"
|
||||||
@@ -134,14 +135,10 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSearchArea(v) {
|
|
||||||
this.form.residentList = []
|
|
||||||
this.getResident(v)
|
|
||||||
},
|
|
||||||
getResident() {
|
getResident() {
|
||||||
let {areaId} = this.form
|
let {areaId} = this.form
|
||||||
this.instance.post("/app/appresident/list", null, {
|
this.instance.post("/app/appresident/list", null, {
|
||||||
params: {householdName: 1, areaId, ...this.list}
|
params: {householdName: 1, areaId, ...this.list, auditStatus: 1}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
// this.residents = res.data.records?.map(e => ({dictValue: e.id, dictName: e.name}))
|
// this.residents = res.data.records?.map(e => ({dictValue: e.id, dictName: e.name}))
|
||||||
|
|||||||
Reference in New Issue
Block a user