|
@@ -362,6 +362,7 @@ export default {
|
|
|
getMenuTreeselect() {
|
|
|
menuTreeselect().then(response => {
|
|
|
this.menuOptions = response.data;
|
|
|
+ console.log(this.menuOptions)
|
|
|
});
|
|
|
},
|
|
|
/** 查询部门树结构 */
|
|
@@ -491,8 +492,10 @@ export default {
|
|
|
},
|
|
|
// 树权限(父子联动)
|
|
|
handleCheckedTreeConnect(value, type) {
|
|
|
+
|
|
|
if (type == 'menu') {
|
|
|
this.form.menuCheckStrictly = value ? true: false;
|
|
|
+ console.log(value,this.form.menuCheckStrictly)
|
|
|
} else if (type == 'dept') {
|
|
|
this.form.deptCheckStrictly = value ? true: false;
|
|
|
}
|
|
@@ -500,7 +503,7 @@ export default {
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd() {
|
|
|
this.reset();
|
|
|
- // this.getMenuTreeselect();
|
|
|
+ this.getMenuTreeselect();
|
|
|
this.open = true;
|
|
|
this.title = "添加角色";
|
|
|
},
|