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

68 lines
1.9 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',
meta: { title: '组织管理', icon: 'dicizhishou', index: 99 },
redirect: { name: 'EnterpriseManage' },
children: [
{
path: 'enterpriseManage',
name: 'EnterpriseManage',
meta: { title: '企业管理', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'enterpriseManageIndex' },
children: [
{
path: 'index',
name: 'enterpriseManageIndex',
component: () => import('/@/view/organizationManage/enterpriseManage/index.vue'),
meta: {
title: '企业管理',
keepAlive: true,
2024-06-04 19:22:11 +08:00
// backApi: [],
2024-05-21 16:42:16 +08:00
},
},
],
},
{
path: 'userManage',
name: 'UserManage',
meta: { title: '用户管理', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'userManageIndex' },
children: [
{
path: 'index',
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-04 19:22:11 +08:00
// backApi: [],
2024-05-21 16:42:16 +08:00
},
},
],
},
{
path: 'authorityManage',
name: 'AuthorityManage',
meta: { title: '部门/权限', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'authorityManageIndex' },
children: [
{
path: 'index',
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;