bug
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<div class="right">
|
<div class="right">
|
||||||
<div class="rightTop">
|
<div class="rightTop">
|
||||||
<span class="names">{{ data.resident && data.resident.name }}</span>
|
<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>
|
<span class="householdNames" v-else>
|
||||||
{{ $dict.getLabel('householdRelation', data.resident && data.resident.householdRelation) }}
|
{{ $dict.getLabel('householdRelation', data.resident && data.resident.householdRelation) }}
|
||||||
</span>
|
</span>
|
||||||
@@ -127,7 +127,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '家庭成员信息'
|
document.title = '家庭成员信息'
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getDetail() {
|
getDetail() {
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '居民详情'
|
document.title = '居民详情'
|
||||||
this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName')
|
this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName')
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user