|
@@ -58,9 +58,12 @@ export default {
|
|
|
...mapMutations(["updateExamQuestion"]),
|
|
|
async updateQuestion() {
|
|
|
const currentExamQuestion = this.examQuestion; // 避免以后执行时,this.examQuestion换掉了
|
|
|
+ const examRecordDataId = this.$route.params.examRecordDataId;
|
|
|
const res = await this.$http.get(
|
|
|
"/api/ecs_oe_student/examQuestion/getQuestionContent?questionId=" +
|
|
|
- currentExamQuestion.questionId
|
|
|
+ currentExamQuestion.questionId +
|
|
|
+ "&exam_record_id=" +
|
|
|
+ examRecordDataId
|
|
|
);
|
|
|
|
|
|
if (res.data === undefined) {
|
|
@@ -149,7 +152,9 @@ export default {
|
|
|
if (currentOrder < this.examQuestionList.length) {
|
|
|
this.$http.get(
|
|
|
"/api/ecs_oe_student/examQuestion/getQuestionContent?questionId=" +
|
|
|
- this.examQuestionList[currentOrder].questionId
|
|
|
+ this.examQuestionList[currentOrder].questionId +
|
|
|
+ "&exam_record_id=" +
|
|
|
+ examRecordDataId
|
|
|
);
|
|
|
}
|
|
|
}
|