教室预约
This commit is contained in:
@@ -130,6 +130,10 @@ const navigationGroups = computed<NavigationGroup[]>(() => [
|
||||
),
|
||||
...whenVisible(isStudent.value || isTeacher.value, { path: '/my-timetable', label: isTeacher.value ? '我的授课课表' : '我的课表' }),
|
||||
...whenVisible(isStudent.value, { path: '/free-classrooms', label: '空闲教室' }),
|
||||
{
|
||||
path: '/classroom-reservations',
|
||||
label: hasAnyRole(['CollegeAdmin']) ? '教室借用审核' : '教室借用',
|
||||
},
|
||||
...whenVisible(isTeacher.value || isTeachingAdmin.value || hasAnyRole(['Counselor']), { path: '/teacher-attendance', label: '教学点名' }),
|
||||
...whenVisible(isStudent.value, { path: '/my-attendance', label: '我的考勤' }),
|
||||
{
|
||||
|
||||
@@ -179,6 +179,11 @@ const router = createRouter({
|
||||
component: () => import('../views/FreeClassroomsView.vue'),
|
||||
meta: { roles: ['Student'] },
|
||||
},
|
||||
{
|
||||
path: 'classroom-reservations',
|
||||
name: 'classroom-reservations',
|
||||
component: () => import('../views/ClassroomReservationsView.vue'),
|
||||
},
|
||||
{
|
||||
path: 'course-selections',
|
||||
name: 'course-selections',
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user