添加考勤菜单

This commit is contained in:
1147680382@qq.com
2025-05-22 09:35:50 +08:00
parent c357ad173c
commit 4ad03c111f
7 changed files with 932 additions and 8 deletions
+23
View File
@@ -48,5 +48,28 @@ const routerList = [
},
],
},
{
path: '/performance',
component: Layout,
name: 'Performance',
meta: {
name: "绩效考勤",
title: '绩效考勤',
icon: 'el-icon-s-data',
roles: [2] // 只有role=2的用户可以查看
},
children: [
{
path: 'attendance/general',
name: 'AttendanceGeneral',
component: () => import('../views/performance/attendance/general/index.vue'),
meta: {
name: "综合部初审列表",
title: '综合部初审列表',
roles: [2] // 只有role=2的用户可以查看
}
}
]
},
];
export default routerList;