Files
SaaS-lib/hx-ai-intelligent/src/router/organizationManage.ts

61 lines
2.0 KiB
TypeScript
Raw Normal View History

2024-05-21 16:42:16 +08:00
const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue');
const organizationManage = {
path: '/organizationManage',
name: 'organizationManage',
2024-06-21 15:19:28 +08:00
meta: { title: '组织管理', icon: 'zuzhiguanli', index: 99 },
2024-06-14 11:49:51 +08:00
redirect: { name: 'UserManage' },
2024-05-21 16:42:16 +08:00
children: [
{
path: 'userManage',
name: 'UserManage',
2024-06-21 15:19:28 +08:00
meta: { title: '用户管理', hideChildren: true, icon: 'zuzhiguanli' },
2024-05-21 16:42:16 +08:00
component: Base,
2024-07-03 17:58:39 +08:00
redirect: { name: 'UserManageIndex' },
2024-05-21 16:42:16 +08:00
children: [
{
path: 'index',
2024-07-03 10:50:16 +08:00
name: 'UserManageIndex',
2024-05-22 16:31:55 +08:00
component: () => import('/@/view/organizationManage/usermanage/index.vue'),
2024-05-21 16:42:16 +08:00
meta: {
title: '用户管理',
keepAlive: true,
2024-06-06 16:56:34 +08:00
operates: [
{ title: '新增', code: 'userAdd' },
2024-07-03 10:50:16 +08:00
{ title: '导入', code: 'userImport' },
{ title: '模板下载', code: 'userTemDownload' },
{ title: '导出', code: 'userExports' },
{ title: '批量删除', code: 'userBatchDel' },
{ title: '编辑', code: 'userEdit' },
{ title: '冻结', code: 'userFrozen' },
{ title: '解冻', code: 'userUnFrozen' },
{ title: '重置密码', code: 'userCodeReset' },
{ title: '删除', code: 'userDelete' },
2024-06-06 16:56:34 +08:00
],
2024-06-04 19:22:11 +08:00
// backApi: [],
2024-05-21 16:42:16 +08:00
},
},
],
},
{
path: 'authorityManage',
name: 'AuthorityManage',
2024-06-21 15:19:28 +08:00
meta: { title: '部门/权限', hideChildren: true, icon: 'zuzhiguanli' },
2024-05-21 16:42:16 +08:00
component: Base,
2024-06-07 14:14:21 +08:00
redirect: { name: 'AuthorityManageIndex' },
2024-05-21 16:42:16 +08:00
children: [
{
path: 'index',
2024-06-07 14:14:21 +08:00
name: 'AuthorityManageIndex',
2024-05-22 16:31:55 +08:00
component: () => import('/@/view/organizationManage/departmentManage/index.vue'),
2024-05-21 16:42:16 +08:00
meta: {
title: '部门/权限',
keepAlive: true,
2024-06-04 19:22:11 +08:00
// backApi: [],
2024-05-21 16:42:16 +08:00
},
},
],
},
],
};
export default organizationManage;