提交 2c0fc388 authored 作者: lihuihui's avatar lihuihui

修改bug

上级 bdbab561
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
} }
}, },
mounted() { mounted() {
this.sendExamInfo(3) // this.sendExamInfo(3)
this.setTick() this.setTick()
this.getTopic() this.getTopic()
this.countHeight() this.countHeight()
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
return countNum return countNum
}, },
endExamRequest(n) { endExamRequest(n) {
this.sendExamInfo(5) // this.sendExamInfo(5)
const param = { const param = {
answer: JSON.stringify(this.questionParams.answerRecord) answer: JSON.stringify(this.questionParams.answerRecord)
} }
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
path: '/examEnd' path: '/examEnd'
}) })
} }
this.sendExamInfo(6) // this.sendExamInfo(6)
window.localStorage.setItem('showflag', 'true') window.localStorage.setItem('showflag', 'true')
}).catch(err => { }).catch(err => {
if (err.message.indexOf('error') !== -1) { if (err.message.indexOf('error') !== -1) {
......
...@@ -156,7 +156,7 @@ export default { ...@@ -156,7 +156,7 @@ export default {
action.Login.userLogin(this.data.exam_id, { examinee_number: this.examineeNumber }).then(res => { action.Login.userLogin(this.data.exam_id, { examinee_number: this.examineeNumber }).then(res => {
window.localStorage.setItem('studentInfo', JSON.stringify(res)) window.localStorage.setItem('studentInfo', JSON.stringify(res))
const status = parseInt(res.sheet_status) const status = parseInt(res.sheet_status)
this.sendExamInfo(res.info.student_id) // this.sendExamInfo(res.info.student_id)
if (status === 0) { if (status === 0) {
this.$router.replace({ this.$router.replace({
name: 'confirmInfo' name: 'confirmInfo'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论