| | |
| | | viewParsing() { |
| | | if (this.data.answerType == 'collectQuestion' || this.data.answerType == 'errorQuestion') { |
| | | const item = this.data.questionDataList[this.data.currentIndex] |
| | | if (!item.isComplete) this.handleQuestion(this.data.currentIndex) |
| | | if (!item.isComplete) { |
| | | this.handleQuestion(this.data.currentIndex) |
| | | } |
| | | } |
| | | }, |
| | | // 点击答题卡跳转题目 |
| | |
| | | questionObj.questionType == 'multipleChoice' |
| | | ) { |
| | | try { |
| | | questionObj.answer = JSON.parse(questionObj.answer) |
| | | questionObj.answer = JSON.parse(questionObj.answer).toString() |
| | | } catch (error) { |
| | | questionObj.answer = item.Embedded_QuestionBank_Answer |
| | | } |
| | |
| | | questionObj.questionType == 'multipleChoice' |
| | | ) { |
| | | try { |
| | | questionObj.answer = JSON.parse(questionObj.answer) |
| | | questionObj.answer = JSON.parse(questionObj.answer).toString() |
| | | } catch (error) { |
| | | // |
| | | questionObj.answer = item.Embedded_QuestionBank_Answer |
| | | } |
| | | } |
| | | // 填空题改造 |
| | |
| | | questionObj.questionType == 'multipleChoice' |
| | | ) { |
| | | try { |
| | | questionObj.answer = JSON.parse(questionObj.answer) |
| | | questionObj.answer = JSON.parse(questionObj.answer).toString() |
| | | } catch (error) { |
| | | // |
| | | questionObj.answer = item.Embedded_QuestionBank_Answer |
| | | } |
| | | } |
| | | // 填空题改造 |
| | |
| | | questionObj.questionType == 'multipleChoice' |
| | | ) { |
| | | try { |
| | | questionObj.answer = JSON.parse(questionObj.answer) |
| | | questionObj.answer = JSON.parse(questionObj.answer).toString() |
| | | } catch (error) { |
| | | questionObj.answer = item.Embedded_QuestionBank_Answer |
| | | } |