教学监控

This commit is contained in:
biss committed 2026-10-29 09:51:49 +08:00
1 parent 47215dcdbb
commit 0bed55546c
7 files changed
+913 -2

No files matched your search

+5
View File
@@ -76,6 +76,7 @@ const stableNavigationIds: Record<string, string> = {
'/course-selections': 'course-selections',
'/course-enrollments': 'course-enrollments',
'/teacher-attendance': 'teacher-attendance',
'/teaching-monitoring': 'teaching-monitoring',
'/my-attendance': 'my-attendance',
'/evaluations': 'evaluations',
'/teacher-roster': 'teacher-roster',
@@ -312,6 +313,10 @@ const availableNavigationGroups = computed<NavigationGroup[]>(() => [
key: 'teaching-assessment',
label: '教学考核',
items: [
...whenVisible(
hasAnyRole(['SuperAdmin', 'AcademicAdmin', 'CollegeAdmin', 'Leader']),
{ path: '/teaching-monitoring', label: '教学监测' },
),
...whenVisible(isTeacher.value || isTeachingAdmin.value || hasAnyRole(['Counselor']), { path: '/teacher-attendance', label: '教学点名' }),
...whenVisible(isStudent.value, { path: '/my-attendance', label: '我的考勤' }),
{
+6
View File
@@ -211,6 +211,12 @@ const router = createRouter({
component: () => import('../views/TeacherAttendanceView.vue'),
meta: { roles: ['SuperAdmin', 'AcademicAdmin', 'CollegeAdmin', 'Teacher', 'Counselor'] },
},
{
path: 'teaching-monitoring',
name: 'teaching-monitoring',
component: () => import('../views/TeachingMonitoringView.vue'),
meta: { roles: ['SuperAdmin', 'AcademicAdmin', 'CollegeAdmin', 'Leader'] },
},
{
path: 'my-attendance',
name: 'my-attendance',
+1 -1
View File
@@ -42,7 +42,7 @@ const colleges = ref<any[]>([])
const termId = ref('')
const statusFilter = ref('')
const collegeId = ref('')
const projectKeyword = ref('')
const projectKeyword = ref(typeof route.query.keyword === 'string' ? route.query.keyword : '')
const projectPage = ref(1)
const projectPageSize = ref(20)
const courseTotal = ref(0)
Loaded 3 of 7 files, more files were not shown because too many files have changed in this diff. Show more