Browse Source

feat: 部门权限补充

temp
xuziqiang 4 months ago
parent
commit
1be888feba
  1. 12
      hx-ai-intelligent/src/router/organizationManage.ts

12
hx-ai-intelligent/src/router/organizationManage.ts

@ -31,7 +31,6 @@ const organizationManage = {
{ title: '重置密码', code: 'userCodeReset' }, { title: '重置密码', code: 'userCodeReset' },
{ title: '删除', code: 'userDelete' }, { title: '删除', code: 'userDelete' },
], ],
// backApi: [],
}, },
}, },
], ],
@ -50,7 +49,16 @@ const organizationManage = {
meta: { meta: {
title: '部门/权限', title: '部门/权限',
keepAlive: true, 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' },
],
}, },
}, },
], ],

Loading…
Cancel
Save