This commit is contained in:
何德超 2025-07-21 17:51:21 +08:00
parent b7e5a4a82f
commit b9b1da2186
1 changed files with 34 additions and 2 deletions

View File

@ -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 },
},
],
},
],
},