|
@@ -102,7 +102,27 @@ export const constantRouterMap = [
|
102
|
102
|
}
|
103
|
103
|
]
|
104
|
104
|
},
|
105
|
|
-
|
|
105
|
+ {
|
|
106
|
+ path: '/account',
|
|
107
|
+ component: Layout,
|
|
108
|
+ redirect: '/account/index',
|
|
109
|
+ alwaysShow: true,
|
|
110
|
+ meta: { title: '账号管理', icon: 'zip' },
|
|
111
|
+ children: [
|
|
112
|
+ {
|
|
113
|
+ path: '/account/user',
|
|
114
|
+ component: () => import('@/views/account/user/index'),
|
|
115
|
+ name: 'user-index',
|
|
116
|
+ meta: { title: '员工管理', icon: 'table' }
|
|
117
|
+ },
|
|
118
|
+ {
|
|
119
|
+ path: '/account/role',
|
|
120
|
+ component: () => import('@/views/account/role/index'),
|
|
121
|
+ name: 'role-index',
|
|
122
|
+ meta: { title: '角色管理', icon: 'table' }
|
|
123
|
+ }
|
|
124
|
+ ]
|
|
125
|
+ },
|
106
|
126
|
{ path: '*', redirect: '/404', hidden: true }
|
107
|
127
|
]
|
108
|
128
|
|