|
@@ -856,7 +856,7 @@ export default {
|
|
|
this.examTask.review = examPrintPlan.review;
|
|
|
this.examTask.includePaper =
|
|
|
examPrintPlan.printContent.indexOf("PAPER") !== -1;
|
|
|
- this.examTask.submitTwoPaper = examPrintPlan.submitTwoPaper;
|
|
|
+ this.examTask.twoPaperEnable = examPrintPlan.twoPaperEnable;
|
|
|
this.updateExamTaskDetail();
|
|
|
|
|
|
this.updateTaskInfo({
|
|
@@ -1020,7 +1020,7 @@ export default {
|
|
|
|
|
|
this.updateExamTaskDetail();
|
|
|
|
|
|
- if (this.examTask.submitTwoPaper && this.paperAttachments.length < 2) {
|
|
|
+ if (this.examTask.twoPaperEnable && this.paperAttachments.length < 2) {
|
|
|
this.$message.error("一个命题任务至少交AB两套试卷");
|
|
|
return Promise.reject();
|
|
|
}
|