diff --git a/src/views/Basic/Authority/depend/form.vue b/src/views/Basic/Authority/depend/form.vue index c378b9d..93836d5 100644 --- a/src/views/Basic/Authority/depend/form.vue +++ b/src/views/Basic/Authority/depend/form.vue @@ -85,7 +85,8 @@ export default { } } }); - } + }; + }, findId(list,id){ list.forEach(item => { @@ -120,7 +121,7 @@ export default { if(val){ this.form.id = val this.findId(this.rolelist,val) - console.log(this.editInfo); + // console.log(this.editInfo); this.form.name = this.editInfo.name this.form.parentId = this.editInfo.parentId this.form.authorityLevel = this.editInfo.authorityLevel diff --git a/src/views/Basic/Authority/depend/permissions.vue b/src/views/Basic/Authority/depend/permissions.vue index 21d969c..feb7c7f 100644 --- a/src/views/Basic/Authority/depend/permissions.vue +++ b/src/views/Basic/Authority/depend/permissions.vue @@ -30,6 +30,7 @@ { this.menus = res.data; - console.log(res.data) + // console.log(res.data) this.defaultCheck(this.menus); }); } else if (data === undefined) { @@ -116,7 +118,8 @@ export default { } }, rolechange(data) { - if (data) { + this.treeShow = data; + if (data != undefined) { this.checkedKeys = []; this.roleId = this.roleList[data].id; FindAllMenus({ roleId: this.roleId }).then((res) => { @@ -125,7 +128,7 @@ export default { }); } else { this.roleId = null; - this.menus = []; + // this.menus = []; } }, defaultCheck(arr) { @@ -139,7 +142,7 @@ export default { this.checkedKeys.push(item.id); } } - console.log(this.checkedKeys) + // console.log(this.checkedKeys) }, onExpand(expandedKeys) { this.expandedKeys = expandedKeys; diff --git a/src/views/Basic/Authority/index.vue b/src/views/Basic/Authority/index.vue index e7461df..ecf2355 100644 --- a/src/views/Basic/Authority/index.vue +++ b/src/views/Basic/Authority/index.vue @@ -346,10 +346,10 @@ export default { this.send.show = false; }, Actions(data) { - console.log(data); + // console.log(data); }, selectionChoosed(data) { - console.log(data); + // console.log(data); this.tableChoosed = data; }, }, diff --git a/src/views/Payment/PayPlan/index.vue b/src/views/Payment/PayPlan/index.vue index e676a39..809a7d4 100644 --- a/src/views/Payment/PayPlan/index.vue +++ b/src/views/Payment/PayPlan/index.vue @@ -1,10 +1,50 @@