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' }, + ], }, }, ],