|
@@ -448,6 +448,7 @@ export default {
|
|
|
this.$refs.edit.tenant.parent_id = this.selection[0].id
|
|
|
}
|
|
|
this.$refs.edit.type = "add"
|
|
|
+ this.$refs.edit.setTenant({})
|
|
|
this.dialog.title = this.$t("common.add")
|
|
|
this.dialog.isVisible = true
|
|
|
},
|
|
@@ -567,10 +568,10 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
+ this.$refs.edit.type = "edit"
|
|
|
this.$refs.edit.setTenant(row)
|
|
|
// this.$refs.edit.tenant.parent_name = row.name
|
|
|
- // this.$refs.edit.tenant.parent_id = row.id
|
|
|
- this.$refs.edit.type = "edit"
|
|
|
+ // this.$refs.edit.tenant.parent_id = row.id
|
|
|
this.dialog.title = this.$t("common.edit")
|
|
|
this.dialog.isVisible = true
|
|
|
},
|