xiatian 1 gadu atpakaļ
vecāks
revīzija
9fe3c23133

+ 10 - 10
src/modules/questions/views/EditPaper.vue

@@ -1836,16 +1836,16 @@ export default {
     },
     },
     //获取重复试题
     //获取重复试题
     getreduplicateQuestions() {
     getreduplicateQuestions() {
-      this.duplicateLoading = true;
-      this.$http
-        .get(QUESTION_API + "/paper/" + this.paperId + "/reduplicate-questions")
-        .then((response) => {
-          this.reduplicateQuestions = response.data;
-          this.duplicateLoading = false;
-          this.initReduplicateQuesColor();
-          // var ques = document.getElementsByClassName("ques")[0];
-          // ques.style.display = "inline";
-        });
+      // this.duplicateLoading = true;
+      // this.$http
+      //   .get(QUESTION_API + "/paper/" + this.paperId + "/reduplicate-questions")
+      //   .then((response) => {
+      //     this.reduplicateQuestions = response.data;
+      //     this.duplicateLoading = false;
+      //     this.initReduplicateQuesColor();
+      //     // var ques = document.getElementsByClassName("ques")[0];
+      //     // ques.style.display = "inline";
+      //   });
     },
     },
     exportPaperAnswer() {
     exportPaperAnswer() {
       var key = this.user.key;
       var key = this.user.key;

+ 10 - 10
src/modules/questions/views/ViewPaper.vue

@@ -860,16 +860,16 @@ export default {
     },
     },
     //获取重复试题
     //获取重复试题
     getreduplicateQuestions() {
     getreduplicateQuestions() {
-      this.duplicateLoading = true;
-      this.$http
-        .get(QUESTION_API + "/paper/" + this.paperId + "/reduplicate-questions")
-        .then((response) => {
-          this.reduplicateQuestions = response.data;
-          this.duplicateLoading = false;
-          this.initReduplicateQuesColor();
-          // var ques = document.getElementsByClassName("ques")[0];
-          // ques.style.display = "inline";
-        });
+      // this.duplicateLoading = true;
+      // this.$http
+      //   .get(QUESTION_API + "/paper/" + this.paperId + "/reduplicate-questions")
+      //   .then((response) => {
+      //     this.reduplicateQuestions = response.data;
+      //     this.duplicateLoading = false;
+      //     this.initReduplicateQuesColor();
+      //     // var ques = document.getElementsByClassName("ques")[0];
+      //     // ques.style.display = "inline";
+      //   });
     },
     },
     initReduplicateQuesColor() {
     initReduplicateQuesColor() {
       var colorCount = this.reduplicateQuestions.length;
       var colorCount = this.reduplicateQuestions.length;