角色管理修改
This commit is contained in:
@@ -623,9 +623,6 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
SuperiorRole() { // 点击选择上级角色按钮
|
SuperiorRole() { // 点击选择上级角色按钮
|
||||||
this.addForm.parentId = ''
|
|
||||||
this.addForm.parent = ''
|
|
||||||
this.nodeList3 = []
|
|
||||||
this.SuperiorRoleModel = true
|
this.SuperiorRoleModel = true
|
||||||
},
|
},
|
||||||
RolesAdd(type, row) { // 新增/编辑角色按钮
|
RolesAdd(type, row) { // 新增/编辑角色按钮
|
||||||
@@ -637,6 +634,8 @@ export default {
|
|||||||
this.addForm.parentId = ''
|
this.addForm.parentId = ''
|
||||||
this.addForm.parent = ''
|
this.addForm.parent = ''
|
||||||
this.addForm.id = ''
|
this.addForm.id = ''
|
||||||
|
this.nodeList3 = []
|
||||||
|
this.nodeList3.push(this.addForm.parentId)
|
||||||
} else {
|
} else {
|
||||||
this.addRoleTitle = '编辑角色'
|
this.addRoleTitle = '编辑角色'
|
||||||
this.addForm.name = row.name
|
this.addForm.name = row.name
|
||||||
|
|||||||
Reference in New Issue
Block a user