From e482e158f6ae581a07167b8d84a956ba6d92350b Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Tue, 26 Sep 2023 18:15:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/init-home/data/baseMenu.ts | 24 ++ .../system/Dictionary/components/Left.vue | 226 +++++++++--------- .../components/Right/Save/index.vue | 2 +- .../Dictionary/components/Right/index.vue | 7 +- .../Dictionary/components/save/index.vue | 2 +- src/views/system/Dictionary/index.vue | 31 ++- src/views/system/Menu/Detail/BasicInfo.vue | 1 + src/views/system/Menu/Setting/index.vue | 86 +++++-- src/views/system/Menu/Setting/utils.ts | 19 +- src/views/system/Menu/index.vue | 7 +- .../Relationship/components/EditDialog.vue | 42 ++-- src/views/system/Relationship/index.vue | 12 +- src/views/system/Role/RoleLeft/index.vue | 91 +++---- src/views/system/Role/RoleRight/index.vue | 49 ++-- 14 files changed, 357 insertions(+), 242 deletions(-) diff --git a/src/views/init-home/data/baseMenu.ts b/src/views/init-home/data/baseMenu.ts index eee06163..3ffd6bbc 100644 --- a/src/views/init-home/data/baseMenu.ts +++ b/src/views/init-home/data/baseMenu.ts @@ -3445,6 +3445,30 @@ export default [ permission: 'role', actions: ['query'], }, + { + permission: 'role-group', + actions: ['query'] + } + ], + }, + { + id: 'groupUpdate', + name: '角色组编辑', + permissions: [ + { + permission: 'role-group', + actions: ['query','save'] + } + ], + }, + { + id: 'groupDelete', + name: '角色组删除', + permissions: [ + { + permission: 'role-group', + actions: ['query','delete'] + } ], }, ], diff --git a/src/views/system/Dictionary/components/Left.vue b/src/views/system/Dictionary/components/Left.vue index 0990c44e..9446608b 100644 --- a/src/views/system/Dictionary/components/Left.vue +++ b/src/views/system/Dictionary/components/Left.vue @@ -1,85 +1,68 @@