BUG 29227

This commit is contained in:
aixianling
2022-04-20 18:04:59 +08:00
parent d3cb80666e
commit d01a7b58fa

View File

@@ -45,8 +45,10 @@ export default {
},
familyCols() {
return [
{label: '与户主关系', prop: 'householdRelation', align: 'center', width: 165,
render: (h, {row}) => h('p', dict.getLabel('householdRelation', row.householdRelation||"户主"))},
{
label: '与户主关系', prop: 'householdRelation', align: 'center', width: 165,
render: (h, {row}) => h('p', dict.getLabel('householdRelation', row.householdRelation || "户主"))
},
{label: '类型', prop: 'residentType', align: 'center', dict: "residentType"},
{label: '姓名', prop: 'name', align: 'center'},
{label: '身份证号', render: (h, {row}) => h('p', this.idCardNoUtil.hideId(row.idNumber)), width: 165},
@@ -85,7 +87,7 @@ export default {
params: {idNumber}
}).then(res => {
if (res?.data) {
this.familyList = res.data?.records
this.familyList = res.data?.family || []
this.dialog = true
}
})