Commit d6a65cef by 陈超

A

parent de117565
...@@ -650,6 +650,7 @@ ...@@ -650,6 +650,7 @@
paper_options_id: that.paperOptions.exams_paper_options_id, paper_options_id: that.paperOptions.exams_paper_options_id,
} }
that.finished.forEach( r => { that.finished.forEach( r => {
console.log(r)
let key = 'user_answer[' + r.qId + ']' let key = 'user_answer[' + r.qId + ']'
switch(r.key) { switch(r.key) {
case "radio": case "radio":
...@@ -661,6 +662,7 @@ ...@@ -661,6 +662,7 @@
}, },
saveProgress: function() { saveProgress: function() {
let that = this let that = this
that.cacheQuestion()
let param = this.collectParam() let param = this.collectParam()
$.post( $.post(
U('exams/Index/doProgressExams'), U('exams/Index/doProgressExams'),
...@@ -683,6 +685,7 @@ ...@@ -683,6 +685,7 @@
}, },
submitPaper: function() { submitPaper: function() {
let that = this let that = this
that.cacheQuestion()
let param = this.collectParam() let param = this.collectParam()
console.log(param) console.log(param)
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment