From a711dccad7fb6efe37073c21be4b9f16d1079ca3 Mon Sep 17 00:00:00 2001 From: luochenyi <541660090@qq.com> Date: Mon, 14 Mar 2022 14:54:33 +0800 Subject: [PATCH] 3.14bug --- src/components/searchForm/index.vue | 4 +- .../Basic/Authority/depend/permissions.vue | 6 +- src/views/Basic/Authority/index.vue | 7 +- src/views/Basic/Employee/depend/config.js | 144 +++++++++++++----- src/views/Basic/Employee/depend/form.vue | 24 ++- src/views/Basic/Employee/index.vue | 2 +- .../EstateInfo/_houseHoldAudit/index.vue | 1 + .../Basic/EstateInfo/_houseHoldInfo/index.vue | 2 +- .../Basic/EstateInfo/_houseManage/index.vue | 1 + .../Activity/_activityManage/depend/config.js | 6 +- 10 files changed, 142 insertions(+), 55 deletions(-) diff --git a/src/components/searchForm/index.vue b/src/components/searchForm/index.vue index 6b15489..48acf33 100644 --- a/src/components/searchForm/index.vue +++ b/src/components/searchForm/index.vue @@ -21,7 +21,7 @@ >{{ option.name }} - +
查询 @@ -42,7 +42,7 @@ export default { this.itemList = val let obj = {} for(let k of val){ - if(k.type==='time'){ + if(k.type === 'time'){ obj[k.start] = undefined obj[k.end] = undefined }else{ diff --git a/src/views/Basic/Authority/depend/permissions.vue b/src/views/Basic/Authority/depend/permissions.vue index 9746b16..3e0f8fd 100644 --- a/src/views/Basic/Authority/depend/permissions.vue +++ b/src/views/Basic/Authority/depend/permissions.vue @@ -129,8 +129,10 @@ export default { }, defaultCheck(arr) { for (let item of arr) { - if (item.isShow === true && item.childrenList !== null) { - this.checkedKeys.push(item.id); + if (item.childrenList !== null) { + if(item.isShow === true){ + this.checkedKeys.push(item.id); + } this.defaultCheck(item.childrenList); } else if (item.isShow === true) { this.checkedKeys.push(item.id); diff --git a/src/views/Basic/Authority/index.vue b/src/views/Basic/Authority/index.vue index 32619bc..606aeb8 100644 --- a/src/views/Basic/Authority/index.vue +++ b/src/views/Basic/Authority/index.vue @@ -1,6 +1,6 @@