diff --git a/src/router/route.ts b/src/router/route.ts index 2a3d1ca..4cf1187 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -67,8 +67,31 @@ export const systemRoutes: RouteRecordRaw[] = [ { path: '/organization/hr/performance', name: 'HRPerformance', - component: () => import('@/views/hr/performance/index.vue'), + component: () => import('@/components/ParentView/index.vue'), meta: { title: '绩效', icon: 'performance', hidden: false }, + children: [ + { + path: '/organization/hr/performance/dimention', + name: 'Dimention', + component: () => import('@/views/performance/dimension.vue'), + meta: { title: '绩效维度', icon: 'performance', hidden: false }, + + }, + { + path: '/organization/hr/performance/rule', + name: 'Rule', + component: () => import('@/views/performance/rule.vue'), + meta: { title: '绩效细则', icon: 'performance', hidden: false }, + + }, + { + path: '/organization/hr/performance/my', + name: 'MyPerformance', + component: () => import('@/views/performance/my.vue'), + meta: { title: '我的绩效', icon: 'performance', hidden: false }, + + }, + ], }, { path: '/organization/hr/salary', @@ -80,8 +103,17 @@ export const systemRoutes: RouteRecordRaw[] = [ { path: '/organization/hr/salary/overview', name: 'HRSalaryOverview', - component: () => import('@/views/hr/salary/index.vue'), + component: () => import('@/components/ParentView/index.vue'), meta: { title: '工资概览', icon: 'salary', hidden: false }, + children: [ + { + path: '/organization/hr/salary/payroll', + name: 'Payroll', + component: () => import('@/views/salary-management/index.vue'), + meta: { title: '工资单', icon: 'salary', hidden: false }, + + }, + ], }, ], },