This commit is contained in:
biss committed 2026-07-24 22:18:32 +08:00
1 parent d67a07f23e
commit 27c3944c28
12 files changed
+781 -14

No files matched your search

+2
View File
@@ -98,6 +98,8 @@ const navigationGroups = computed<NavigationGroup[]>(() => [
hasAnyRole(['SuperAdmin', 'AcademicAdmin']),
{ path: '/schedules', label: '排课与课表' },
),
...whenVisible(isStudent.value, { path: '/my-timetable', label: '我的课表' }),
...whenVisible(!isStudent.value, { path: '/class-timetable', label: '班级课表查询' }),
...whenVisible(
hasAnyRole(['SuperAdmin', 'AcademicAdmin', 'CollegeAdmin', 'Student']),
{
+17
View File
@@ -11,6 +11,12 @@ const router = createRouter({
component: () => import('../views/LoginView.vue'),
meta: { public: true },
},
{
path: '/timetable',
name: 'public-timetable',
component: () => import('../views/TimetableView.vue'),
meta: { public: true },
},
{
path: '/',
component: AdminLayout,
@@ -114,6 +120,17 @@ const router = createRouter({
component: () => import('../views/SchedulesView.vue'),
meta: { roles: ['SuperAdmin', 'AcademicAdmin'] },
},
{
path: 'class-timetable',
name: 'class-timetable',
component: () => import('../views/TimetableView.vue'),
},
{
path: 'my-timetable',
name: 'my-timetable',
component: () => import('../views/TimetableView.vue'),
meta: { roles: ['Student'], mine: true },
},
{
path: 'course-selections',
name: 'course-selections',
+1
View File
@@ -938,6 +938,7 @@ button { cursor: pointer; }
.form-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.login-form label { display: block; margin-bottom: 20px; }
.login-form label > span { display: block; margin-bottom: 8px; color: #525b6d; font-size: 12px; font-weight: 650; }
.public-timetable-link { display: block; margin: 14px 0 18px; color: #176b87; font-size: 13px; font-weight: 650; text-align: center; text-decoration: none; }
.login-submit { width: 100%; margin-top: 6px; height: 46px; }
.dev-hint { margin-top: 24px; padding: 13px 15px; display: flex; justify-content: space-between; color: #767e8d; background: #f5f7fa; font-size: 11px; }
Loaded 3 of 12 files, more files were not shown because too many files have changed in this diff. Show more