From 1be888febab1c605be99bc3922b0f255f5934de3 Mon Sep 17 00:00:00 2001 From: xuziqiang <1344691446@qq.com> Date: Wed, 17 Jul 2024 13:48:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=83=A8=E9=97=A8=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hx-ai-intelligent/src/router/organizationManage.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/hx-ai-intelligent/src/router/organizationManage.ts b/hx-ai-intelligent/src/router/organizationManage.ts index e02f7c4..6b5a52e 100644 --- a/hx-ai-intelligent/src/router/organizationManage.ts +++ b/hx-ai-intelligent/src/router/organizationManage.ts @@ -31,7 +31,6 @@ const organizationManage = { { title: '重置密码', code: 'userCodeReset' }, { title: '删除', code: 'userDelete' }, ], - // backApi: [], }, }, ], @@ -50,7 +49,16 @@ const organizationManage = { meta: { title: '部门/权限', keepAlive: true, - // backApi: [], + operates: [ + { title: '新增部门', code: 'authorityDeptAdd' }, + { title: '新增子部门', code: 'authorityDeptSonAdd' }, + { title: '删除部门', code: 'authorityDeptDelete' }, + { title: '编辑部门', code: 'authorityDeptEdit' }, + { title: '新增角色', code: 'authorityRoleAdd' }, + { title: '新增子角色', code: 'authorityRoleSonAdd' }, + { title: '删除角色', code: 'authorityRoleDelete' }, + { title: '编辑角色', code: 'authorityRoleEdit' }, + ], }, }, ],