删除网格类型和等级
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user