From d01a7b58fa7d78b4d080e4a42bffa79a9c7f5aca Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 20 Apr 2022 18:04:59 +0800 Subject: [PATCH] BUG 29227 --- packages/party/AppPartyScore/psList.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/party/AppPartyScore/psList.vue b/packages/party/AppPartyScore/psList.vue index 76f265eb..f9fd2def 100644 --- a/packages/party/AppPartyScore/psList.vue +++ b/packages/party/AppPartyScore/psList.vue @@ -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 } })