调课、停课、补课申请

This commit is contained in:
biss committed 2026-07-25 15:36:14 +08:00
1 parent 9685435da9
commit 13b61f191a
11 files changed
+1162 -1

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
ElAlert: typeof import('element-plus/es')['ElAlert']
ElBadge: typeof import('element-plus/es')['ElBadge']
ElButton: typeof import('element-plus/es')['ElButton']
ElCard: typeof import('element-plus/es')['ElCard']
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
+7
View File
@@ -130,6 +130,13 @@ const navigationGroups = computed<NavigationGroup[]>(() => [
label: isStudent.value ? '我的考试' : isTeacher.value ? '我的监考' : '考试管理',
},
),
...whenVisible(
hasAnyRole(['SuperAdmin', 'AcademicAdmin', 'CollegeAdmin', 'Teacher']),
{
path: '/course-adjustments',
label: isTeacher.value ? '我的调停课' : '调停课审核',
},
),
],
},
{
+8
View File
@@ -189,6 +189,14 @@ const router = createRouter({
component: () => import('../views/ExamsView.vue'),
meta: { roles: ['SuperAdmin', 'AcademicAdmin', 'Teacher', 'Student'] },
},
{
path: 'course-adjustments',
name: 'course-adjustments',
component: () => import('../views/CourseAdjustmentsView.vue'),
meta: {
roles: ['SuperAdmin', 'AcademicAdmin', 'CollegeAdmin', 'Teacher'],
},
},
{
path: 'student-status-changes',
name: 'student-status-changes',
Loaded 3 of 11 files, more files were not shown because too many files have changed in this diff. Show more