删除网格类型和等级

This commit is contained in:
2022-05-04 21:53:21 +08:00
parent 73166c5893
commit 23d7d41515
3 changed files with 14 additions and 24 deletions

View File

@@ -55,11 +55,9 @@ export default {
}
},
onLoad(option) {
this.$dict.load('girdType').then(() => {
this.id = option.id
this.fromType = option.fromType
this.getDetail()
})
},
onShow() {
if (this.fromType == 'add') {
@@ -80,7 +78,6 @@ export default {
if (this.fromType == 'add') {
this.form.parentGirdId = this.detailInfo.id
this.form.parentGirdName = this.detailInfo.girdName
this.form.girdType = Number(this.detailInfo.girdType) + 1
this.$forceUpdate()
}
}