|
|
|
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: 'UserManage' },
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: 'userManage',
|
|
|
|
name: 'UserManage',
|
|
|
|
meta: { title: '用户管理', hideChildren: true, icon: 'dicizhishou' },
|
|
|
|
component: Base,
|
|
|
|
redirect: { name: 'userManageIndex' },
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: 'index',
|
|
|
|
name: 'userManageIndex',
|
|
|
|
component: () => import('/@/view/organizationManage/usermanage/index.vue'),
|
|
|
|
meta: {
|
|
|
|
title: '用户管理',
|
|
|
|
keepAlive: true,
|
|
|
|
operates: [
|
|
|
|
{ title: '新增', code: 'userAdd' },
|
|
|
|
{
|
|
|
|
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',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
// backApi: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: 'authorityManage',
|
|
|
|
name: 'AuthorityManage',
|
|
|
|
meta: { title: '部门/权限', hideChildren: true, icon: 'dicizhishou' },
|
|
|
|
component: Base,
|
|
|
|
redirect: { name: 'AuthorityManageIndex' },
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: 'index',
|
|
|
|
name: 'AuthorityManageIndex',
|
|
|
|
component: () => import('/@/view/organizationManage/departmentManage/index.vue'),
|
|
|
|
meta: {
|
|
|
|
title: '部门/权限',
|
|
|
|
keepAlive: true,
|
|
|
|
// backApi: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|
|
|
|
export default organizationManage;
|