From b3042224aa7a288fc996cd2542e777362abbc9f6 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 22 八月 2024 10:24:11 +0800 Subject: [PATCH] 分类授权-数据授权取消checkTheStatus传参 --- 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..ad57d3a 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