体测系统

This commit is contained in:
biss committed 2026-09-29 10:24:14 +08:00
1 parent 33b875b21a
commit c74c1e3914
19 files changed
+10507 -7

No files matched your search

+10
View File
@@ -242,6 +242,16 @@ const navigationGroups = computed<NavigationGroup[]>(() => [
),
],
},
{
key: 'physical-health',
label: '体育健康',
items: [
...whenVisible(
hasAnyRole(['SuperAdmin', 'AcademicAdmin', 'PhysicalEducationAdmin', 'CollegeAdmin', 'Counselor', 'Student']),
{ path: '/physical-fitness', label: isStudent.value ? '我的体测' : '体测管理' },
),
],
},
{
key: 'student-status',
label: '学籍与服务',
+6
View File
@@ -332,6 +332,12 @@ const router = createRouter({
component: () => import('../views/OtherExamsView.vue'),
meta: { roles: ['SuperAdmin', 'AcademicAdmin', 'Student'] },
},
{
path: 'physical-fitness',
name: 'physical-fitness',
component: () => import('../views/PhysicalFitnessView.vue'),
meta: { roles: ['SuperAdmin', 'AcademicAdmin', 'PhysicalEducationAdmin', 'CollegeAdmin', 'Counselor', 'Student'] },
},
{
path: 'exams',
name: 'exams',
+1
View File
@@ -54,6 +54,7 @@ const roles = [
["Student", "学生"],
["MaintenanceAdmin", "维修管理员"],
["MaintenanceStaff", "维修人员"],
["PhysicalEducationAdmin", "体测管理员"],
];
const kinds = [
[1, "选课"],
Loaded 3 of 19 files, more files were not shown because too many files have changed in this diff. Show more