Prechádzať zdrojové kódy

上传试卷配置修改

zhangjie 2 rokov pred
rodič
commit
6b39a09b2b

+ 0 - 1
src/modules/exam/components/createExamAndPrintTask/CreateExamAndPrintTask.vue

@@ -244,7 +244,6 @@ export default {
       this.userFilterRoles = [];
 
       const infoExamTaskDetail = Object.assign({}, initExamTaskDetail, {
-        includePaper: this.examRule.includePaper,
         review: this.examRule.review,
         customCard: this.examRule.customCard
       });

+ 2 - 0
src/modules/exam/components/createExamAndPrintTask/InfoExamTask.vue

@@ -433,6 +433,8 @@ export default {
     examChange(val) {
       console.log(val);
       this.examTask.examModel = val.examModel;
+      this.examTaskDetail.includePaper =
+        val.printContent.indexOf("PAPER") !== -1;
       this.paperAttachments.forEach(item => {
         item.cardId = "";
         item.cardType = "";