|
|
@@ -323,61 +323,61 @@ export const disasterPreventionRoute = {
|
|
|
redirect: '',
|
|
|
};
|
|
|
|
|
|
-export const userRoutes: AppRouteRecordRaw =
|
|
|
- /**
|
|
|
- * 用户管理
|
|
|
- */
|
|
|
- {
|
|
|
- path: '/user',
|
|
|
- name: 'User',
|
|
|
- component: 'LAYOUT',
|
|
|
- meta: {
|
|
|
- icon: 'UserOutlined',
|
|
|
- title: '用户管理',
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- // 账号管理
|
|
|
- path: 'account',
|
|
|
- name: 'UserAccount',
|
|
|
- component: '/system/user/user',
|
|
|
- meta: {
|
|
|
- icon: '',
|
|
|
- title: '账号管理',
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- // 角色管理
|
|
|
- path: 'role',
|
|
|
- name: 'UserRole',
|
|
|
- component: '/system/role/role',
|
|
|
- meta: {
|
|
|
- icon: '',
|
|
|
- title: '角色管理',
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- // 组织管理
|
|
|
- path: 'department',
|
|
|
- name: 'UserDepartment',
|
|
|
- component: '/auth/dept/dept',
|
|
|
- meta: {
|
|
|
- icon: '',
|
|
|
- title: '组织管理',
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- // 岗位管理 (目前不需要)
|
|
|
- path: 'post',
|
|
|
- name: 'UserPost',
|
|
|
- component: '/auth/post/post',
|
|
|
- meta: {
|
|
|
- icon: '',
|
|
|
- title: '岗位管理',
|
|
|
- },
|
|
|
- },
|
|
|
- ],
|
|
|
- };
|
|
|
+// export const userRoutesOld: AppRouteRecordRaw =
|
|
|
+// /**
|
|
|
+// * 用户管理
|
|
|
+// */
|
|
|
+// {
|
|
|
+// path: '/user',
|
|
|
+// name: 'User',
|
|
|
+// component: 'LAYOUT',
|
|
|
+// meta: {
|
|
|
+// icon: 'UserOutlined',
|
|
|
+// title: '用户管理',
|
|
|
+// },
|
|
|
+// children: [
|
|
|
+// {
|
|
|
+// // 账号管理
|
|
|
+// path: 'account',
|
|
|
+// name: 'UserAccount',
|
|
|
+// component: '/system/user/user',
|
|
|
+// meta: {
|
|
|
+// icon: '',
|
|
|
+// title: '账号管理',
|
|
|
+// },
|
|
|
+// },
|
|
|
+// {
|
|
|
+// // 角色管理
|
|
|
+// path: 'role',
|
|
|
+// name: 'UserRole',
|
|
|
+// component: '/system/role/role',
|
|
|
+// meta: {
|
|
|
+// icon: '',
|
|
|
+// title: '角色管理',
|
|
|
+// },
|
|
|
+// },
|
|
|
+// {
|
|
|
+// // 组织管理
|
|
|
+// path: 'department',
|
|
|
+// name: 'UserDepartment',
|
|
|
+// component: '/auth/dept/dept',
|
|
|
+// meta: {
|
|
|
+// icon: '',
|
|
|
+// title: '组织管理',
|
|
|
+// },
|
|
|
+// },
|
|
|
+// {
|
|
|
+// // 岗位管理 (目前不需要)
|
|
|
+// path: 'post',
|
|
|
+// name: 'UserPost',
|
|
|
+// component: '/auth/post/post',
|
|
|
+// meta: {
|
|
|
+// icon: '',
|
|
|
+// title: '岗位管理',
|
|
|
+// },
|
|
|
+// },
|
|
|
+// ],
|
|
|
+// };
|
|
|
|
|
|
// export const systemRoutesOld =
|
|
|
// /**
|
|
|
@@ -495,7 +495,38 @@ export const platformRoutes = {
|
|
|
icon: 'UserOutlined',
|
|
|
title: '用户管理',
|
|
|
},
|
|
|
- children: [],
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ // 组织管理
|
|
|
+ path: 'department',
|
|
|
+ name: 'UserDepartment',
|
|
|
+ component: '/auth/dept/dept',
|
|
|
+ meta: {
|
|
|
+ icon: '',
|
|
|
+ title: '组织管理',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ // 角色管理
|
|
|
+ path: 'role',
|
|
|
+ name: 'UserRole',
|
|
|
+ component: '/system/role/role',
|
|
|
+ meta: {
|
|
|
+ icon: '',
|
|
|
+ title: '角色管理',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ // 账号管理
|
|
|
+ path: 'account',
|
|
|
+ name: 'UserAccount',
|
|
|
+ component: '/system/user/user',
|
|
|
+ meta: {
|
|
|
+ icon: '',
|
|
|
+ title: '账号管理',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
// 菜单管理
|
|
|
@@ -570,7 +601,7 @@ export const exceptionRouters =
|
|
|
export const fullRoutes: AppRouteRecordRaw[] = [
|
|
|
disasterPreventionRoute,
|
|
|
|
|
|
- userRoutes,
|
|
|
+ // userRoutes,
|
|
|
|
|
|
// systemRoutes,
|
|
|
platformRoutes,
|