From 8dfed75e70cfa4cb56c7ce752962366eeae7d0fd Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 22 十月 2024 09:57:31 +0800
Subject: [PATCH] ui授权修改传参方式
---
Source/plt-web/plt-web-ui/src/views/authority/ui/uiAuthorization/index.vue | 6 +++++-
1 files changed, 5 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..accfede 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
@@ -255,6 +255,7 @@
text: item.text
}
})
+
const parentData = selectParentList.map(item => {
return {
checked: false,
@@ -265,7 +266,10 @@
text: item.text
}
})
- const data = [...parentData,...selectTreeData];
+ // 鍦ㄥ崐閫夌姸鎬佷腑杩囨护鎺夐《绾ц妭鐐� oid 涓� root
+ const filterSelectTreeData = parentData.filter(item => item.oid !== 'root');
+
+ const data = [...filterSelectTreeData,...selectTreeData];
const formData = {
roleId: this.nodeRow.oid,
type: this.type,
--
Gitblit v1.9.3