diff --git a/src/views/projectFront/configManage/roleManage.vue b/src/views/projectFront/configManage/roleManage.vue index f9ff23d0..ae22d915 100644 --- a/src/views/projectFront/configManage/roleManage.vue +++ b/src/views/projectFront/configManage/roleManage.vue @@ -172,14 +172,19 @@
-
- 全选 -
+ + @@ -236,7 +241,15 @@ export default { }, data() { return { - checkAll:false, //是否全选 + myTree:{ + data:[], + props: { + label: "name", + children: "menuList", + }, + treeAllChildNode: [], // 数所有的可选择的子节点 + checkAll:false, //是否全选 + }, addEditForm: { roleName: "", roleDesc: "", @@ -271,10 +284,6 @@ export default { // total: 0, //总条数 // }, // count: 0, - props: { - label: "name", - children: "menuList", - }, projectMenus:[], selectRoleMenus:[], allOperateList:[], @@ -498,14 +507,15 @@ export default { // console.log('选择',this.$refs.tree.getCheckedKeys()); }, // 全选反选 - selectAll(){ - // if(this.checkAll){ - // // console.log('111111',this.$refs) - // this.$refs.tree.setCheckedNodes(this.projectMenus); - // }else{ - // this.$refs.tree.setCheckedKeys([]) - // } - }, + // selectAll(){ + // if(this.checkAll){ + // // for(let i = 0;) + // console.log('111111',this.$refs) + // this.$refs.tree.setCheckedNodes(this.projectMenus); + // }else{ + // this.$refs.tree.setCheckedKeys([]) + // } + // }, }, }; diff --git a/src/views/projectFront/laborManage/personModule/administration.vue b/src/views/projectFront/laborManage/personModule/administration.vue index 27b57616..68221608 100644 --- a/src/views/projectFront/laborManage/personModule/administration.vue +++ b/src/views/projectFront/laborManage/personModule/administration.vue @@ -260,7 +260,7 @@ @@ -1870,10 +1870,12 @@ export default { data.menuList.forEach((item)=>{ if(item.actionList){ item.actionList.forEach((item2)=>{ - if(item2.actionCode = 'akey_issued' ){ - this.key = true ; - // console.log('key',this.key) + if(item2.actionCode == 'akey_issued'){ + this.key = false + } else { + this.key = true } + console.log('this.key',this.key) }) } }) diff --git a/src/views/projectFront/laborManage/personModule/laborComponent.vue b/src/views/projectFront/laborManage/personModule/laborComponent.vue index a9c7db66..e5a85d7f 100644 --- a/src/views/projectFront/laborManage/personModule/laborComponent.vue +++ b/src/views/projectFront/laborManage/personModule/laborComponent.vue @@ -2461,9 +2461,12 @@ export default { data.menuList.forEach((item)=>{ if(item.actionList){ item.actionList.forEach((item2)=>{ - if(item2.actionCode = 'akey_issued'){ + if(item2.actionCode == 'akey_issued'){ this.key = true + } else { + this.key = false } + console.log('this.key',this.key) }) } })