From 296f034c06ca8542b39878f860ffa5b909914338 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 18 一月 2024 22:29:53 +0800
Subject: [PATCH] 数据授权查询接口更改

---
 Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
index 7024c51..d161011 100644
--- a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
@@ -113,6 +113,11 @@
       currentRow: {}
     };
   },
+  computed: {},
+  mounted() {
+  },
+  created() {
+  },
   watch: {
     // 鐩戝惉鐖剁粍浠朵紶鐨勭獥鍙f樉绀洪殣钘忕殑鍊�
     visible() {
@@ -177,18 +182,13 @@
                 this.classifyAuthData.push(item);
                 this.addIndex = this.classifyAuthData.length - 1; //娣诲姞琛屼笅鏍囩瓑浜巆lassifyAuthData鐨勯暱搴�-1
                 this.roleHandlerMethods(authData.roleId, 'create', index)
-                console.log('index', index)
+                // console.log('index', index)
               })
             }
           });
         });
       }
     },
-  },
-  computed: {},
-  mounted() {
-  },
-  created() {
   },
   methods: {
     roleHandlerMethods(id, type, index) {
@@ -201,8 +201,8 @@
         const filteredItems = this.classifyAuthButton.filter(item => {
           return !res.data.data.find(x => x.id === item.id);
         });
-        console.log('绂佺敤鎸夐挳',filteredItems)
-        console.log('涓嶇鐢ㄦ寜閽�',res.data.data)
+        // console.log('绂佺敤鎸夐挳',filteredItems)
+        // console.log('涓嶇鐢ㄦ寜閽�',res.data.data)
         //鎷胯〃鏍煎垪澶村惊鐜拰娌℃湁瀵瑰簲鐨勫睘鎬ц繘琛屾瘮杈�
         this.classifyAuthHeader.forEach((item) => {
           const isMatched = filteredItems.some(x => x.id === item.prop);
@@ -243,7 +243,7 @@
             this.classifyAuthData[classIndex].allDisabled = false;
           }
         });
-        console.log('classifyAuthData',this.classifyAuthData)
+        // console.log('classifyAuthData',this.classifyAuthData)
         //寮哄埗鍒锋柊琛ㄦ牸
         this.itemKey = uuidv4();
       })
@@ -295,7 +295,7 @@
         this.$message.warning("褰撳墠绉熸埛涓嶅瓨鍦ㄨ鑹蹭俊鎭紒");
         return;
       }
-      console.log('this.roleList', this.roleList)
+      // console.log('this.roleList', this.roleList)
       this.addIndex++; //鑷畾涔夌敓鎴愭坊鍔犺涓嬫爣
       let item = {
         roleData: this.roleList[0].id,
@@ -307,7 +307,6 @@
       this.classifyAuthButton.forEach(data => {
         Vue.set(item, data.id, false);
       })
-      //console.log(item)
       this.classifyAuthData.push(item);
       this.roleHandlerMethods(this.roleList[0].id, 'add', this.addIndex)
     },

--
Gitblit v1.9.3