|
@@ -291,18 +291,12 @@
|
|
|
},
|
|
|
|
|
|
submit() {
|
|
|
- let menuList = this.$refs.treeMenu.getCheckedKeys();
|
|
|
- let menuClientList = this.$refs.treeClientMenu.getCheckedKeys();
|
|
|
- const menuListHanlf = this.$refs.treeMenu.getHalfCheckedKeys();
|
|
|
- const menuClientListHanlf = this.$refs.treeMenu.getHalfCheckedKeys();
|
|
|
+ const menuList = this.$refs.treeMenu.getCheckedKeys();
|
|
|
+ const menuClientList = this.$refs.treeClientMenu.getCheckedKeys();
|
|
|
const dataScopeList = this.$refs.treeDataScope.getCheckedKeys();
|
|
|
const apiScopeList = this.$refs.treeApiScope.getCheckedKeys();
|
|
|
const tableOwnersList = this.$refs.tableOwners.getCheckedKeys();
|
|
|
|
|
|
- //合并半选
|
|
|
- menuList = menuList.concat(menuListHanlf)
|
|
|
- menuClientList = menuClientList.concat(menuClientListHanlf)
|
|
|
-
|
|
|
grant(this.idsArray, menuList, menuClientList, dataScopeList, apiScopeList, tableOwnersList).then(() => {
|
|
|
this.box = false;
|
|
|
this.$message({
|