xiatian 2 年之前
父節點
當前提交
deaf0bb958
共有 1 個文件被更改,包括 13 次插入2 次删除
  1. 13 2
      src/modules/questions/views/GenPaperDetail.vue

+ 13 - 2
src/modules/questions/views/GenPaperDetail.vue

@@ -871,6 +871,13 @@ export default {
     },
     searchPaper() {
       this.loading = true;
+      let fillCount = false;
+      if (this.genType == "SIMPLE") {
+        fillCount = true;
+      } else {
+        fillCount = false;
+      }
+
       if (this.paperType == "IMPORT") {
         this.$http
           .get(
@@ -882,7 +889,9 @@ export default {
               "?courseNo=" +
               this.genPaper.courseNo +
               "&ids=" +
-              this.tempPaperIds
+              this.tempPaperIds +
+              "&fillCount=" +
+              fillCount
           )
           .then((response) => {
             console.log("response:", response);
@@ -902,7 +911,9 @@ export default {
               "?courseNo=" +
               this.genPaper.courseNo +
               "&ids=" +
-              this.tempPaperIds
+              this.tempPaperIds +
+              "&fillCount=" +
+              fillCount
           )
           .then((response) => {
             this.selectPapers = response.data.content;