fix:修复试卷页面不能跳转批阅和分析页面的bug
This commit is contained in:
parent
8a2a8add39
commit
e086442a2d
@ -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',
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -335,7 +335,6 @@ const handleSave = () => {
|
||||
|
||||
<style scoped>
|
||||
.add-homework-container {
|
||||
min-height: 100vh;
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user