成绩+点名

This commit is contained in:
biss committed 2026-07-25 14:08:50 +08:00
1 parent 7800951aee
commit 36049af692
16 files changed
+1809 -98

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ declare module 'vue' {
ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElDivider: typeof import('element-plus/es')['ElDivider']
ElDrawer: typeof import('element-plus/es')['ElDrawer']
ElEmpty: typeof import('element-plus/es')['ElEmpty']
ElForm: typeof import('element-plus/es')['ElForm']
+2
View File
@@ -106,6 +106,8 @@ const navigationGroups = computed<NavigationGroup[]>(() => [
),
...whenVisible(isStudent.value || isTeacher.value, { path: '/my-timetable', label: isTeacher.value ? '我的授课课表' : '我的课表' }),
...whenVisible(isStudent.value, { path: '/free-classrooms', label: '空闲教室' }),
...whenVisible(isTeacher.value || isTeachingAdmin.value, { path: '/teacher-attendance', label: '教学点名' }),
...whenVisible(isTeacher.value, { path: '/teacher-roster', label: '选课名单' }),
...whenVisible(!isStudent.value, {
path: '/class-timetable',
label: isTimetableManager.value ? '课表查询中心' : '班级课表查询',
+12
View File
@@ -149,6 +149,18 @@ const router = createRouter({
component: () => import('../views/TimetableView.vue'),
meta: { teacherView: true },
},
{
path: 'teacher-roster',
name: 'teacher-roster',
component: () => import('../views/TeacherRosterView.vue'),
meta: { roles: ['Teacher'] },
},
{
path: 'teacher-attendance',
name: 'teacher-attendance',
component: () => import('../views/TeacherAttendanceView.vue'),
meta: { roles: ['SuperAdmin', 'AcademicAdmin', 'CollegeAdmin', 'Teacher'] },
},
{
path: 'free-classrooms',
name: 'free-classrooms',
Loaded 3 of 16 files, more files were not shown because too many files have changed in this diff. Show more