字典
This commit is contained in:
@@ -593,6 +593,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.$dict.load(['sex', 'education', 'politicsStatus', 'job', 'faithType', 'nation', 'maritalStatus', 'militaryStatus', 'householdName', 'householdRelation', ]).then(()=> {
|
||||||
this.disabledLevel = this.user.info.areaMap[this.user.info.areaId].length;
|
this.disabledLevel = this.user.info.areaMap[this.user.info.areaId].length;
|
||||||
if (!this.params.id) {
|
if (!this.params.id) {
|
||||||
// this.baseInfo.householdAreaId = JSON.parse(JSON.stringify(this.user.info.areaId))
|
// this.baseInfo.householdAreaId = JSON.parse(JSON.stringify(this.user.info.areaId))
|
||||||
@@ -601,6 +602,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.getDetail(this.params.id);
|
this.getDetail(this.params.id);
|
||||||
}
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user