This commit is contained in:
yanran200730
2021-12-23 14:32:35 +08:00
parent 0dc5f5d7b2
commit bba21ea9f4
3 changed files with 9 additions and 6 deletions

View File

@@ -73,7 +73,9 @@
props: {
instance: Function,
dict: Object,
params: Object
params: Object,
areaId: String,
areaName: String
},
data () {
@@ -100,8 +102,8 @@
},
created () {
this.form.areaId = this.user.info.areaId
this.form.areaName = this.user.info.areaName
this.form.areaId = this.areaId
this.form.areaName = this.areaName
this.disabledLevel = this.user.info.areaList.length - 1
if (this.params && this.params.id) {
this.id = this.params.id