From dedbadd96ab7e1533572b25511fd201678c64dad Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 17 十月 2024 09:56:18 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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 c7d9d60..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