Browse Source

题库错题集接口新增参数

xuqiaoying 3 years ago
parent
commit
df659f1484
2 changed files with 8 additions and 2 deletions
  1. 1 0
      src/pages/bank-exam-continue/index.vue
  2. 7 2
      src/pages/bank-exam/index.vue

+ 1 - 0
src/pages/bank-exam-continue/index.vue

@@ -1914,6 +1914,7 @@ export default {
           goodsId: this.goodsId,
           questionIds: doWrongQuestionIds,
           recordId: this.recordId,
+          type: 1,
         })
         .then((res) => {})
         .catch((err) => {});

+ 7 - 2
src/pages/bank-exam/index.vue

@@ -1778,6 +1778,7 @@ export default {
       //       chapterExamId: this.chapterId || 0,
       //       questionIds: [this.questionList[questionIndex].questionId],
       //       recordId: this.recordId,
+              // type 1,
       //     })
       //     .then((res) => {});
       // }
@@ -1837,6 +1838,7 @@ export default {
       //       chapterExamId: this.chapterId || 0,
       //       questionIds: [this.questionList[questionIndex].questionId],
       //       recordId: this.recordId,
+      // type 1,
       //     })
       //     .then((res) => {});
       // }
@@ -1902,6 +1904,7 @@ export default {
       //       chapterExamId: this.chapterId || 0,
       //       questionIds: [this.questionList[questionIndex].questionId],
       //       recordId: this.recordId,
+      // type 1,
       //     })
       //     .then((res) => {});
       // }
@@ -2510,7 +2513,7 @@ export default {
       //   });
       // }, 1000);
       // return;
-      //交卷
+      //交卷 /exam/record/edit
       this.$request
         .examRecordEdit({
           examId: this.examId,
@@ -2557,7 +2560,7 @@ export default {
           this.loading = false;
         });
 
-      //错题集id提交(客观题)
+      //错题集id提交(客观题)/exam/wwrong/record
       this.$request
         .examWrongRecord({
           orderGoodsId: this.orderGoodsId,
@@ -2565,6 +2568,7 @@ export default {
           goodsId: this.goodsId,
           questionIds: doWrongQuestionIds,
           recordId: this.recordId,
+          type: 1,
         })
         .then((res) => {})
         .catch((err) => {});
@@ -2751,6 +2755,7 @@ export default {
           goodsId: this.goodsId,
           questionIds: doWrongQuestionIds,
           recordId: this.recordId,
+          type: 1,
         })
         .then((res) => {
           this.loading = false;