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