This commit is contained in:
liuye
2022-01-04 15:29:14 +08:00

View File

@@ -82,6 +82,11 @@ export default {
familyList: [],
}
},
created() {
console.log('居民档案性别(无字典)', this.resident.sex)
console.log('居民档案性别(有字典)', this.$dict.getLabel('sex', this.resident.sex))
console.log('居民档案字典值', this.$dict.getDict('sex'))
},
onShow() {
document.title = '居民详情'
this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName')