deason 5 жил өмнө
parent
commit
41f9327365

+ 0 - 1
src/modules/questions/views/CourseProperty.vue

@@ -418,7 +418,6 @@ export default {
     },
     //分页
     handleCurrentChange(val) {
-      console.log(`当前页: ${val}`);
       this.currentPage = val;
       this.searchCourProperty();
     },

+ 0 - 7
src/modules/questions/views/EditOtherQuestion.vue

@@ -351,7 +351,6 @@ export default {
               })
               .catch(() => {
                 this.fullscreenLoading = false;
-                console.log("添加失败");
               });
           }
         } else {
@@ -377,7 +376,6 @@ export default {
     },
     //查询所有课程属性名
     initCourseProperty() {
-      console.log(this.quesModel);
       var code = this.quesModel.course.code;
       this.$http
         .get(QUESTION_API + "/courseProperty/code/" + code)
@@ -470,10 +468,6 @@ export default {
       }
       this.quesModel.quesProperties.push(quesProperty);
       this.quesModel = Object.assign({}, this.quesModel);
-      console.log(
-        "this.quesModel.quesProperties:",
-        this.quesModel.quesProperties
-      );
       //清空下拉框
       this.coursePropertyName = "";
       this.firstPropertyId = "";
@@ -483,7 +477,6 @@ export default {
     },
     //删除属性
     handleClose(tag) {
-      console.log("tag:", tag);
       this.quesModel.quesProperties.splice(
         this.quesModel.quesProperties.indexOf(tag),
         1

+ 1 - 7
src/modules/questions/views/EditSelectQuestion.vue

@@ -410,7 +410,6 @@ export default {
         })
         .catch(() => {
           this.fullscreenLoading = false;
-          console.log("添加失败");
         });
     },
     //新增选项
@@ -473,7 +472,6 @@ export default {
     },
     //查询所有课程属性名
     initCourseProperty() {
-      console.log(this.quesModel);
       var code = this.quesModel.course.code;
       this.$http
         .get(QUESTION_API + "/courseProperty/enable/" + code)
@@ -568,10 +566,7 @@ export default {
       }
       this.quesModel.quesProperties.push(quesProperty);
       this.quesModel = Object.assign({}, this.quesModel);
-      console.log(
-        "this.quesModel.quesProperties:",
-        this.quesModel.quesProperties
-      );
+
       //清空下拉框
       this.coursePropertyName = "";
       this.firstPropertyId = "";
@@ -581,7 +576,6 @@ export default {
     },
     //删除属性
     handleClose(tag) {
-      console.log("tag:", tag);
       this.quesModel.quesProperties.splice(
         this.quesModel.quesProperties.indexOf(tag),
         1

+ 0 - 5
src/modules/questions/views/GenPaper.vue

@@ -511,7 +511,6 @@ export default {
     },
     batchDeleteGenPaper() {
       var paperIds = this.paperIds;
-      console.log("试卷id:", paperIds);
       if (this.selectedPaperIds.length != 0) {
         this.$confirm("确认删除试卷吗?", "提示", {
           type: "warning"
@@ -607,7 +606,6 @@ export default {
       var key = this.user.key;
       var token = this.user.token;
       if (this.isShow) {
-        console.log("单个导出");
         window.location.href =
           QUESTION_API +
           "/paper/export/" +
@@ -627,9 +625,7 @@ export default {
           token;
         this.exportDialog = false;
       } else {
-        console.log("批量导出");
         var paperIds = this.paperIds;
-        console.log(paperIds);
         window.location.href =
           QUESTION_API +
           "/paper/batch_export/" +
@@ -646,7 +642,6 @@ export default {
           "&$token=" +
           token;
         this.exportDialog = false;
-        console.log(paperIds);
       }
     },
     removeItem() {

+ 0 - 8
src/modules/questions/views/Question.vue

@@ -411,7 +411,6 @@ export default {
     },
     searchQues() {
       var pageNo = Number(this.currentPage);
-      console.log("pageNo:", pageNo);
       this.currentPage = 1;
       this.tableData = [];
       var url = QUESTION_API + "/question/" + pageNo + "/" + this.pageSize;
@@ -511,7 +510,6 @@ export default {
     },
     //预览
     prevViewQues(row) {
-      console.log("row", row);
       this.quesModel = row;
       this.disposeSelectAnswer();
       this.openQuesDialog();
@@ -604,7 +602,6 @@ export default {
     },
     //查询所有课程属性名
     initCourseProperty() {
-      console.log("改变");
       this.formSearch.coursePropertyName = "";
       this.formSearch.firstPropertyId = "";
       this.formSearch.secondPropertyId = "";
@@ -625,13 +622,11 @@ export default {
       if (this.formSearch.coursePropertyName) {
         this.formSearch.firstPropertyId = "";
         this.formSearch.secondPropertyId = "";
-        console.log("this.coursePropertyList:", this.coursePropertyList);
         for (let courseProperty of this.coursePropertyList) {
           if (courseProperty.name == this.formSearch.coursePropertyName) {
             this.$http
               .get(QUESTION_API + "/property/first/" + courseProperty.id)
               .then(response => {
-                console.log(response);
                 this.firstPropertyList = response.data;
               });
           }
@@ -647,7 +642,6 @@ export default {
             QUESTION_API + "/property/second/" + this.formSearch.firstPropertyId
           )
           .then(response => {
-            console.log(response);
             this.secondPropertyList = response.data;
           });
       }
@@ -659,7 +653,6 @@ export default {
             this.$http
               .get(QUESTION_API + "/property/first/" + courseProperty.id)
               .then(response => {
-                console.log(response);
                 this.firstPropertyList = response.data;
                 //查询二级
                 this.getSecond();
@@ -675,7 +668,6 @@ export default {
             QUESTION_API + "/property/second/" + this.formSearch.firstPropertyId
           )
           .then(response => {
-            console.log(response);
             this.secondPropertyList = response.data;
           });
       }

+ 0 - 1
src/modules/questions/views/SelectQuestion.vue

@@ -306,7 +306,6 @@ export default {
           cancelButtonText: "取消",
           type: "warning"
         }).then(() => {
-          console.log(this.multipleSelection[0]);
           this.$http
             .post(
               QUESTION_API +