From 2ff8dd1f7d2f71944c25c9e116d12d9fb418ac0a Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 17 一月 2024 17:00:08 +0800
Subject: [PATCH] 分类授权数据授权界面编写与接口修改,分类数据查询接口修改

---
 Source/UBCS-WEB/src/components/Master/MasterTree.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Master/MasterTree.vue b/Source/UBCS-WEB/src/components/Master/MasterTree.vue
index 75af1eb..2dc9840 100644
--- a/Source/UBCS-WEB/src/components/Master/MasterTree.vue
+++ b/Source/UBCS-WEB/src/components/Master/MasterTree.vue
@@ -103,7 +103,12 @@
       const result = this.$route.query.id.substring(0, index);
       this.idData = result;
       this.removeList();
-      getTreeList({'conditionMap[id]': this.idData}).then(res => {
+      let conditionMaps = {};
+      conditionMaps["conditionMap[id]"] = this.idData;
+      conditionMaps["conditionMap[authType]"] = "data_auth";
+      // 鏁版嵁鎺堟潈涓槸鍚﹀叿澶囨煡鐪嬫潈闄�
+      conditionMaps["conditionMap[menuCode]"] = "data_view";
+      getTreeList(conditionMaps).then(res => {
         if (res) {
           if (res.data.length === 0) {
             this.$message.error("涓绘暟鎹垎绫绘煡璇负绌猴紒");

--
Gitblit v1.9.3