|
@@ -0,0 +1,88 @@
|
|
|
+export default {
|
|
|
+ name: 'User',
|
|
|
+ path: '/user',
|
|
|
+ redirect: '/user/org-struct-manage',
|
|
|
+ meta: {
|
|
|
+ title: '用户管理',
|
|
|
+ sort: 2,
|
|
|
+ isModule: true,
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ name: 'OrgStructManage',
|
|
|
+ path: '/user/org-struct-manage',
|
|
|
+ redirect: '/user/org-struct-manage/struct-manage',
|
|
|
+ meta: {
|
|
|
+ title: '组织架构管理',
|
|
|
+ sort: 1,
|
|
|
+ icon: 'fork',
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ name: 'StructManage',
|
|
|
+ path: '/user/org-struct-manage/struct-manage',
|
|
|
+ component: () =>
|
|
|
+ import('@/views/user/org-struct-manage/struct-manage/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '组织架构管理',
|
|
|
+ sort: 1,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'AuthManage',
|
|
|
+ path: '/user/auth-manage',
|
|
|
+ redirect: '/user/auth-manage/user-manage',
|
|
|
+ meta: {
|
|
|
+ title: '用户权限管理',
|
|
|
+ sort: 2,
|
|
|
+ icon: 'pin',
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ name: 'UserManage',
|
|
|
+ path: '/user/auth-manage/user-manage',
|
|
|
+ component: () =>
|
|
|
+ import('@/views/user/auth-manage/user-manage/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '用户管理',
|
|
|
+ sort: 1,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'RoleManage',
|
|
|
+ path: '/user/auth-manage/role-manage',
|
|
|
+ component: () =>
|
|
|
+ import('@/views/user/auth-manage/role-manage/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '角色管理',
|
|
|
+ sort: 2,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'PasswordManage',
|
|
|
+ path: '/user/password-manage',
|
|
|
+ redirect: '/user/password-manage/password-modify',
|
|
|
+ meta: {
|
|
|
+ title: '密码管理',
|
|
|
+ sort: 1,
|
|
|
+ icon: 'lock-on',
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ name: 'PasswordModify',
|
|
|
+ path: '/user/password-manage/password-modify',
|
|
|
+ component: () =>
|
|
|
+ import('@/views/user/password-manage/password-modify/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '密码修改',
|
|
|
+ sort: 1,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+};
|