log
This commit is contained in:
@@ -82,6 +82,11 @@ export default {
|
|||||||
familyList: [],
|
familyList: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
console.log('居民档案性别(无字典)', this.resident.sex)
|
||||||
|
console.log('居民档案性别(有字典)', this.$dict.getLabel('sex', this.resident.sex))
|
||||||
|
console.log('居民档案字典值', this.$dict.getDict('sex'))
|
||||||
|
},
|
||||||
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