From cef9b23e12937467b90ec4e598b122675d878a0e Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Fri, 25 Mar 2022 11:15:29 +0800 Subject: [PATCH] zx --- src/router/payment.js | 8 +++ .../Basic/Authority/depend/permissions.vue | 4 +- src/views/Basic/Authority/index.vue | 4 ++ src/views/Basic/Employee/depend/form.vue | 18 +++-- src/views/Basic/Employee/index.vue | 6 +- .../_houseHoldAudit/depend/config.js | 10 +-- .../EstateInfo/_houseHoldAudit/index.vue | 15 ++-- .../_houseHoldInfo/depend/addForm.vue | 6 +- .../_houseHoldInfo/depend/config.js | 21 ++++++ .../Basic/EstateInfo/_houseHoldInfo/index.vue | 19 +++++ src/views/Basic/WorkOrder/finishDrawer.vue | 2 +- .../Activity/_activityManage/depend/config.js | 24 +++---- .../_activityManage/depend/detail.vue | 72 ++++++++++++------- .../Activity/_organizers/depend/form.js | 21 ++++-- .../Activity/_organizers/depend/form.vue | 2 +- .../Operation/BBS/_topic/depend/config.js | 6 +- src/views/Operation/BBS/_topic/index.vue | 2 +- .../News/_newsManage/depend/config.js | 10 +-- .../News/_newsManage/depend/form.vue | 2 - .../Operation/News/_newsManage/index.vue | 1 - .../Operation/clientSet/depend/table.vue | 7 +- src/views/Operation/clientSet/index.vue | 4 +- .../BillManage/_payInfo/depend/config.js | 30 ++++++++ .../Payment/BillManage/_payInfo/index.vue | 33 +++++++++ .../ChargeStandardManage/depend/config.js | 30 ++++++++ .../Shop/GoodsManage/_jcookList/index.vue | 7 +- src/views/Shop/ScoreSetting/index.vue | 43 ++++++----- vue.config.js | 1 + 28 files changed, 309 insertions(+), 99 deletions(-) create mode 100644 src/views/Payment/BillManage/_payInfo/depend/config.js create mode 100644 src/views/Payment/BillManage/_payInfo/index.vue 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 }" > -