| | |
| | | <el-icon :size="50" color="#3680fa"><Timer /></el-icon> |
| | | </div> |
| | | <div class="dialog-info"> |
| | | 考试时间到,系统自动收卷中....... |
| | | 考试结束,系统自动收卷中....... |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | |
| | | const quitDialog = ref(false); |
| | | const submitDialog = ref(false); |
| | | const timeDialog = ref(false); |
| | | |
| | | |
| | | const prevQuestion = () => { |
| | | currentIndex.value--; |
| | |
| | | currentIndex.value = 0; |
| | | } |
| | | } |
| | | // findQuestion(currentType.value, currentIndex.value); |
| | | } |
| | | |
| | | }; |
| | | |
| | | const findQuestion = (type, index) => { |
| | | const typeQuestion = examDetail.value.find(typeItem => typeItem.questionType === type); |
| | | if (typeQuestion) { |
| | | const question = typeQuestion.questionList[index]; |
| | | if (question) { |
| | | examStore.setActiveQuestion(question); |
| | | } |
| | | } |
| | | }; |
| | | |
| | | // 退出考试 |
| | | const closeClick = () => { |
| | |
| | | }; |
| | | |
| | | const confirmQuit = () => { |
| | | quitDialog.value = false; |
| | | router.back(); |
| | | timeOut(); |
| | | }; |
| | | |
| | | // 交卷 |
| | |
| | | }; |
| | | |
| | | const confirmSubmit = () => { |
| | | submitDialog.value = false; |
| | | router.back(); |
| | | timeOut(); |
| | | }; |
| | | |
| | | const resetAllDialog = () => { |