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/ClassifyAuthDialog.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
index 54d9096..eab7324 100644
--- a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
@@ -142,7 +142,7 @@
       if (code === "classify_view") {
         row.checkTheStatus = check;
       } else if (!row.checkTheStatus) {
-        this.$message.warning('娓呭厛鍕鹃�夋煡鐪嬫寜閽紒');
+        this.$message.warning('璇峰厛鍕鹃�夋煡鐪嬫寜閽紒');
         // 鍦ㄦ潯浠朵笉婊¤冻鏃跺皢澶氶�夋鐘舵�佽缃负false
         row[id] = false;
       }
@@ -291,6 +291,7 @@
         classifyId: this.TreeNode.oid,
         authType: 'classify_auth',
       };
+      console.log('classifyAuthData',this.classifyAuthData);
       let isRepeat = false;
       if (this.classifyAuthData.length > 0) {
         // 閬嶅巻鏁扮粍锛屾瘮杈冨悗闈㈢殑瀵硅薄鐨剅oleData鏄惁涓庡墠闈㈢殑瀵硅薄鐩哥瓑
@@ -315,7 +316,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