From b73a1b5eb0c4a974cb5b16ccddb582f60347707c Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 22 十月 2024 21:53:17 +0800
Subject: [PATCH] 日志查询接口修改,支持管理员和普通用户分开查询。

---
 Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue b/Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue
index accfede..9e71cbf 100644
--- a/Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue
@@ -256,20 +256,20 @@
         }
       })
 
-      const parentData = selectParentList.map(item => {
-        return {
-          checked: false,
-          expanded: true,
-          data:item.data,
-          level: item.level,
-          oid: item.oid,
-          text: item.text
-        }
-      })
-      // 鍦ㄥ崐閫夌姸鎬佷腑杩囨护鎺夐《绾ц妭鐐� oid 涓� root
-      const filterSelectTreeData = parentData.filter(item => item.oid !== 'root');
+      // const parentData = selectParentList.map(item => {
+      //   return {
+      //     checked: false,
+      //     expanded: true,
+      //     data:item.data,
+      //     level: item.level,
+      //     oid: item.oid,
+      //     text: item.text
+      //   }
+      // })
+      // // 鍦ㄥ崐閫夌姸鎬佷腑杩囨护鎺夐《绾ц妭鐐� oid 涓� root
+      // const filterSelectTreeData = parentData.filter(item => item.oid !== 'root');
 
-      const data = [...filterSelectTreeData,...selectTreeData];
+      const data = [...selectTreeData];
       const formData = {
         roleId: this.nodeRow.oid,
         type: this.type,

--
Gitblit v1.9.3