From 03c38da7555b69cb598e534c97fa25bd5385701c Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 29 十月 2024 17:55:50 +0800
Subject: [PATCH] 表单定义权限控制和属性权限&&成员管理添加密级&&首页修改密码&&登录判断过期停用修改密码后跳转首页

---
 Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 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 4214755..a77bb26 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
@@ -250,22 +250,30 @@
           checked: true,
           expanded: true,
           data:item.data,
+          parentId:item.parentId,
           level: item.level,
+          leaf:item.leaf,
           oid: item.oid,
           text: item.text
         }
       })
+
       const parentData = selectParentList.map(item => {
         return {
           checked: false,
           expanded: true,
           data:item.data,
+          parentId:item.parentId,
           level: item.level,
+          leaf:item.leaf,
           oid: item.oid,
           text: item.text
         }
       })
-      const data = [...parentData,...selectTreeData];
+      // 鍦ㄥ崐閫夌姸鎬佷腑杩囨护鎺夐《绾ц妭鐐� oid 涓� root
+      const filterSelectTreeData = parentData.filter(item => item.oid !== 'root');
+
+      const data = [...selectTreeData,...filterSelectTreeData];
       const formData = {
         roleId: this.nodeRow.oid,
         type: this.type,

--
Gitblit v1.9.3