|
|
@@ -189,15 +189,15 @@ export const asyncRoutes = [
|
|
|
meta: { title: '部门数据', pages: ['pc:sys:dept:list'], icon: 'el-icon-collection-tag' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'job',
|
|
|
- component: () => import('@/views/sys/job/index'), // Parent router-view
|
|
|
- name: 'job',
|
|
|
+ path: 'role',
|
|
|
+ component: () => import('@/views/sys/role/index'), // Parent router-view
|
|
|
+ name: 'role',
|
|
|
meta: { title: '职务管理', pages: ['pc:sys:role:list'], icon: 'el-icon-collection-tag' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'worker',
|
|
|
- component: () => import('@/views/sys/worker/index'), // Parent router-view
|
|
|
- name: 'worker',
|
|
|
+ path: 'user',
|
|
|
+ component: () => import('@/views/sys/user/index'), // Parent router-view
|
|
|
+ name: 'user',
|
|
|
meta: { title: '职工管理', pages: ['pc:sys:user:list'], icon: 'el-icon-collection-tag' }
|
|
|
},
|
|
|
{
|