fix:修复试卷页面不能跳转批阅和分析页面的bug

This commit is contained in:
yuk255 2025-09-17 12:57:28 +08:00
parent 8a2a8add39
commit e086442a2d
3 changed files with 10 additions and 6 deletions

View File

@ -86,6 +86,7 @@ import StudentList from '@/views/teacher/ExamPages/StudentList.vue'
import GradingPage from '@/views/teacher/ExamPages/GradingPage.vue'
import ExamTaking from '@/views/teacher/ExamPages/ExamTaking.vue'
import ExamNoticeBeforeStart from '@/views/teacher/ExamPages/ExamNoticeBeforeStart.vue'
import ExamAnalysis from '@/views/teacher/ExamPages/ExamAnalysis.vue'
import ChapterEditor from '@/views/teacher/course/ChapterEditor.vue'
import TeacherCourseDetail from '@/views/teacher/course/CourseDetail.vue'
@ -232,7 +233,7 @@ const routes: RouteRecordRaw[] = [
{
path: 'practice/exam/analysis',
name: 'PracticeExamAnalysis',
component: () => import('../views/teacher/ExamPages/ExamAnalysis.vue'),
component: ExamAnalysis,
meta: { title: '试卷分析' }
},
{
@ -434,6 +435,12 @@ const routes: RouteRecordRaw[] = [
component: ExamLibrary,
meta: { title: '试卷管理' }
},
{
path: 'analysis',
name: 'ExamAnalysis',
component: ExamAnalysis,
meta: { title: '试卷分析' }
},
{
path: 'marking-center',
name: 'MarkingCenter',

View File

@ -395,8 +395,7 @@ const columns = createColumns({
const courseId = route.params.id;
router.push(`/teacher/course-editor/${courseId}/practice/exam/analysis?examId=${row.id}`);
} else {
//
message.info('试卷分析功能正在开发中');
router.push(`/teacher/exam-management/analysis?examId=${row.id}`);
}
return;
}
@ -407,8 +406,7 @@ const columns = createColumns({
const courseId = route.params.id;
router.push(`/teacher/course-editor/${courseId}/practice/review/student-list/${row.id}`);
} else {
//
message.info('批阅功能正在开发中');
router.push(`/teacher/exam-management/marking-center/student-list/${row.id}`);
}
return;
}

View File

@ -335,7 +335,6 @@ const handleSave = () => {
<style scoped>
.add-homework-container {
min-height: 100vh;
padding-bottom: 80px;
}