From a3cc0d240ee750fa23d6a7772346cc6bc1023bae Mon Sep 17 00:00:00 2001 From: 黄何裕 <1053952480@qq.com> Date: 星期五, 12 七月 2024 11:51:55 +0800 Subject: [PATCH] 考试操作加时和交卷 --- src/views/exam-list/data-list/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/exam-list/data-list/index.vue b/src/views/exam-list/data-list/index.vue index 27708ac..d4d849f 100644 --- a/src/views/exam-list/data-list/index.vue +++ b/src/views/exam-list/data-list/index.vue @@ -35,7 +35,7 @@ <div class="right-container"> <div class="button-container"> <el-button type="primary" size="large" @click="examClick(item)" - :disabled="stateList[item.status].disabled">寮�濮嬭�冭瘯</el-button> + :disabled="stateList[item.status].disabled || item.submitStatus ==='finish'">寮�濮嬭�冭瘯</el-button> </div> </div> </div> @@ -88,7 +88,7 @@ suggestTime: res.data.suggestTime, }); examStore.setExamDetail(res.data.titleList); - examStore.initExam(); + examStore.initExam(res.data.titleList[0].questionType); router.push('/exam'); }).catch(err => { @@ -106,4 +106,4 @@ .bottom-item { margin-right: 30px; } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0