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

diff --git a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
index 9a32e26..5a8e927 100644
--- a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
@@ -99,6 +99,7 @@
 export default {
   name: "classifyAuthDialog.vue",
   props: {
+    // 褰撳墠鐐瑰嚮鑺傜偣鐨勯《灞傝妭鐐�
     classifyData: {
       type: "Object",
       default: "",
@@ -108,6 +109,10 @@
       type: "Boolean",
       default: false,
     },
+    // 褰撳墠鐐瑰嚮鐨勮妭鐐�
+    TreeNode:{
+      type:Object
+    }
   },
   data() {
     return {
@@ -278,7 +283,7 @@
       let form = {
         classifyAuthList: [],
         isCLear: false, //榛樿鏄竻绌�
-        classifyId: this.classifyData.oid,
+        classifyId: this.TreeNode.oid,
       };
       let isRepeat = false;
       if(this.classifyAuthData.length > 0){
@@ -319,7 +324,7 @@
           let data = {
             oid: item.oid,
             roleId: item.roleData,
-            classifyId: this.classifyData.oid,
+            classifyId: this.TreeNode.oid,
             buttonIds: itemButtonList.join(","),
             authType: "classify_auth",
           };
@@ -407,7 +412,7 @@
         });
         // 鑾峰彇璇ュ垎绫讳笅宸叉巿鏉冪殑鍒嗙被鎺堟潈淇℃伅
         getClassifyAuthList({
-          classifyId: this.classifyData.oid,
+          classifyId: this.TreeNode.oid,
           authType: "classify_auth",
         }).then((res) => {
           //console.log(res.data.data);

--
Gitblit v1.9.3