From 7d05c69630d066c0992368423f90e440e3638f91 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期日, 29 九月 2024 11:01:51 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue b/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue index bfed7cd..6961dfb 100644 --- a/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue +++ b/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue @@ -142,7 +142,7 @@ if (code === "data_view") { row.checkTheStatus = check; } else if (!row.checkTheStatus) { - this.$message.warning('娓呭厛鍕鹃�夋煡鐪嬫寜閽紒'); + this.$message.warning('璇峰厛鍕鹃�夋煡鐪嬫寜閽紒'); // 鍦ㄦ潯浠朵笉婊¤冻鏃跺皢澶氶�夋鐘舵�佽缃负false row[id] = false; } @@ -190,7 +190,7 @@ Object.keys(this.classifyAuthData[index]).forEach((key) => { this.$set(this.classifyAuthData[index].authButton, item.code, false); }); - if (item.code === "data_view") { + if(item.code === "data_view"){ this.classifyAuthData[index].authButton.allDisabled = false; } } @@ -289,6 +289,7 @@ classifyAuthList: [], isCLear: false, //榛樿鏄竻绌� classifyId: this.TreeNode.oid, + authType: 'data_auth', }; let isRepeat = false; if (this.classifyAuthData.length > 0) { @@ -314,7 +315,7 @@ let itemButtonList = []; //绛涢�夊嚭鎸夐挳鍕鹃�変负true鐨勫垪 for (let key in item) { - if (item[key] === true) { + if (item[key] === true && key !== 'checkTheStatus') { itemButtonList.push(key); } } -- Gitblit v1.9.3