diff --git a/src/router/payment.js b/src/router/payment.js index 40a9112..3668fb7 100644 --- a/src/router/payment.js +++ b/src/router/payment.js @@ -53,6 +53,14 @@ export default [ redirect: '/Payment/ActivityManage', meta: {title: '账单管理'}, children: [ + { + path: '/BillManage/PayInfo', + name: "PayInfo", + title: "账单明细", + hide: false, + component: resolve => require(['@/views/Payment/BillManage/_payInfo'], resolve), + meta: {title: '账单明细'}, + }, { path: '/BillManage/PayList', name: "PayList", diff --git a/src/views/Basic/Authority/depend/permissions.vue b/src/views/Basic/Authority/depend/permissions.vue index 3e0f8fd..21d969c 100644 --- a/src/views/Basic/Authority/depend/permissions.vue +++ b/src/views/Basic/Authority/depend/permissions.vue @@ -31,7 +31,7 @@ class="tree" v-model="checkedKeys" checkable - checkStrictly + :defaultExpandAll="true" :replace-fields="replaceFields" :expanded-keys="expandedKeys" :selected-keys="selectedKeys" @@ -108,6 +108,7 @@ export default { this.roleId = data; FindAllMenus({ roleId: this.roleId }).then((res) => { this.menus = res.data; + console.log(res.data) this.defaultCheck(this.menus); }); } else if (data === undefined) { @@ -138,6 +139,7 @@ export default { this.checkedKeys.push(item.id); } } + 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 606aeb8..e7461df 100644 --- a/src/views/Basic/Authority/index.vue +++ b/src/views/Basic/Authority/index.vue @@ -227,6 +227,7 @@ export default { }, success() { this.getData(); + this.getPeople(); }, addClose() { this.add.show = false; @@ -328,6 +329,9 @@ export default { // this.form.roleId = arr.toString() // }, async sendSubmit() { + if(this.form.roleId == ''){ + this.form.roleId = null + }; const res = await assignRoles(this.form); if (res.code === 200) { this.$message.success(res.msg); diff --git a/src/views/Basic/Employee/depend/form.vue b/src/views/Basic/Employee/depend/form.vue index e061194..1d54f58 100644 --- a/src/views/Basic/Employee/depend/form.vue +++ b/src/views/Basic/Employee/depend/form.vue @@ -9,7 +9,7 @@ :rules="rules" :wrapper-col="{ span: 18 }" > -