居民需求

This commit is contained in:
liuye
2022-06-08 14:32:51 +08:00
parent ee61c8f194
commit 4ecfaa0e28
6 changed files with 26 additions and 206 deletions

View File

@@ -25,7 +25,10 @@
<div class="card">
<AiCell title label="联络信息" />
<AiCell label="联系方式">{{ resident.phone }}</AiCell>
<AiCell label="现住址">{{ resident.currentAreaName + resident.currentAddress }}</AiCell>
<AiCell label="现住址">{{ resident.currentAreaName }}
<span v-if="resident.currentAddressGroup">{{resident.currentAddressGroup}}</span>
<span v-if="resident.currentAddressNo">{{resident.currentAddressNo}}</span>
</AiCell>
</div>
<div class="card">
<AiCell title label="家庭信息" />
@@ -73,7 +76,7 @@ export default {
return obj
},
family() {
return this.top.detail?.residentInfo?.family?.map((e) => ({ ...e, householdRelation: e.householdRelation || '户主' }))
return this.top.detail?.residentInfo?.family?.map((e) => ({ ...e, householdRelation: e.householdRelation || '户主', idNumber : e.idNumber?.replace(/(\d{10}).+/g, '$1******')}))
},
},
data() {