From 686e93016c6a8d0353a63ac0bbdeaf8aba4bc053 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 25 一月 2024 11:00:07 +0800
Subject: [PATCH] 分类授权,数据授权进一步测试完善bug修改

---
 Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
index c891337..d6bc77c 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -123,6 +123,7 @@
         </el-dialog>
         <!-- 鍒嗙被鎺堟潈瀵硅瘽妗�-->
         <classify-auth-dialog
+          :TreeNode="TreeEditObj"
           :classifyData="classifyData"
           :visible.sync="classifyAuthVisible"
         ></classify-auth-dialog>
@@ -779,7 +780,7 @@
         this.$message.warning('璇疯嚦灏戦�夋嫨涓�鏉℃暟鎹紒')
         return;
       }
-      this.classifyData = this.nodeClickList;
+      // this.classifyData = this.nodeClickList;
       this.classifyAuthVisible = true;
     },
     // 鏁版嵁鎺堟潈瀵硅瘽妗嗘墦寮�
@@ -788,7 +789,7 @@
         this.$message.warning('璇疯嚦灏戦�夋嫨涓�鏉℃暟鎹紒')
         return;
       }
-      this.classifyData = this.nodeClickList;
+      // this.classifyData = this.nodeClickList;
       this.dataAuthVisible = true;
     },
     flowingDependHandler() {
@@ -1153,8 +1154,9 @@
     //鏍戠偣鍑讳簨浠�
     async nodeClick(data) {
       const response = this.findTheTopLevelNode(data,this.Treedata)
-      console.log(response)
-      console.log('response',response.attributes.id)
+      this.classifyData = response;
+      // console.log(response)
+      // console.log('response',response.attributes.id)
       this.allButtons = true;
       getAuthButtonList({classifyId: data.oid, code: "classifyTree", authType: "classify_auth"}).then(res => {
         this.btnAuthList = res.data.data;

--
Gitblit v1.9.3