From c65c0b31e6dfd01db744a450dda3816f65eebbc1 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期四, 05 十二月 2024 11:41:10 +0800 Subject: [PATCH] 1、修改使用当前用户的类型查询用户接口,可以传入用户类型。 2、增加根据用户主键获取关联的部门接口。 3、增加查询授权结果接口。 4、增加查询业务对象接口。 --- 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