feat: 考试提交问题修复
This commit is contained in:
parent
099cfb8253
commit
d9a9e87492
|
@ -211,7 +211,7 @@ export default {
|
|||
content: '确定要预约考试吗?',
|
||||
onOk () {
|
||||
reqExamSubscribe({ projectId: data.id }).then(res => {
|
||||
this.$message.success('预约成功!')
|
||||
_this.$message.success('预约成功!')
|
||||
_this.handleRefresh()
|
||||
})
|
||||
},
|
||||
|
|
|
@ -86,7 +86,7 @@ export default {
|
|||
if (type === 'practice' || type === 'operation') {
|
||||
this.submitPractice(result)
|
||||
}
|
||||
if (type === 'exam') {
|
||||
if (type === 'exam' || type === 'test') {
|
||||
this.submitExam(result)
|
||||
}
|
||||
// if (type === 'operation') {
|
||||
|
@ -166,6 +166,7 @@ export default {
|
|||
courseId: query.courseId,
|
||||
answerTime: 0,
|
||||
type: query.practiceType,
|
||||
examType: query.type === 'test' ? 1 : 2,
|
||||
questionList: this.formatSubmit(result)
|
||||
}
|
||||
reqExamSubmit(params).then(() => {
|
||||
|
|
Loading…
Reference in New Issue