This commit is contained in:
花有清香月有阴
2022-01-04 14:33:53 +08:00
parent e41bd505f4
commit 6e77943d76
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
<div class="right">
<div class="rightTop">
<span class="names">{{ data.resident && data.resident.name }}</span>
<span class="householdNames" v-if="data.resident.householdName == 1">户主</span>
<span class="householdNames" v-if="data.resident && data.resident.householdName == 1">户主</span>
<span class="householdNames" v-else>
{{ $dict.getLabel('householdRelation', data.resident && data.resident.householdRelation) }}
</span>
@@ -127,7 +127,7 @@ export default {
})
},
onShow() {
document.title = '家庭成员信息'
document.title = '家庭成员信息'
},
methods: {
getDetail() {

View File

@@ -83,7 +83,7 @@ export default {
}
},
onShow() {
document.title = '居民详情'
document.title = '居民详情'
this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName')
},
}