From b9b1da2186e787a170597039ec3570b53d75b420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=BE=B7=E8=B6=85?= <13143889+he-dechao@user.noreply.gitee.com> Date: Mon, 21 Jul 2025 17:51:21 +0800 Subject: [PATCH] fix --- src/router/route.ts | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) 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 }, + + }, + ], }, ], },