You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.3 KiB

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,
backApi: [
{
method: 'GET',
url: '/api/objs/FeedbackWeb/feedBackList',
},
],
},
},
],
},
{
path: 'userManage',
name: 'UserManage',
meta: { title: '用户管理', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'userManageIndex' },
children: [
{
path: 'index',
name: 'userManageIndex',
component: () => import('/@/view/developing.vue'),
meta: {
title: '用户管理',
keepAlive: true,
backApi: [
{
method: 'GET',
url: '/api/objs/FeedbackWeb/feedBackList',
},
],
},
},
],
},
{
path: 'authorityManage',
name: 'AuthorityManage',
meta: { title: '部门/权限', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'authorityManageIndex' },
children: [
{
path: 'index',
name: 'authorityManageIndex',
component: () => import('/@/view/departmentManage/index.vue'),
meta: {
title: '部门/权限',
keepAlive: true,
backApi: [
{
method: 'GET',
url: '/api/objs/FeedbackWeb/feedBackList',
},
],
},
},
],
},
],
};
export default organizationManage;