|
@@ -432,9 +432,8 @@ export default {
|
|
},
|
|
},
|
|
examChange(val) {
|
|
examChange(val) {
|
|
console.log(val);
|
|
console.log(val);
|
|
|
|
+ if (!val.id) return;
|
|
this.examTask.examModel = val.examModel;
|
|
this.examTask.examModel = val.examModel;
|
|
- this.examTaskDetail.includePaper =
|
|
|
|
- val.printContent.indexOf("PAPER") !== -1;
|
|
|
|
this.paperAttachments.forEach(item => {
|
|
this.paperAttachments.forEach(item => {
|
|
item.cardId = "";
|
|
item.cardId = "";
|
|
item.cardType = "";
|
|
item.cardType = "";
|
|
@@ -484,6 +483,8 @@ export default {
|
|
orgId: teachingRoomId
|
|
orgId: teachingRoomId
|
|
});
|
|
});
|
|
this.examTask.cardRuleId = examPrintPlan.cardRuleId;
|
|
this.examTask.cardRuleId = examPrintPlan.cardRuleId;
|
|
|
|
+ this.examTaskDetail.includePaper =
|
|
|
|
+ examPrintPlan.printContent.indexOf("PAPER") !== -1;
|
|
this.updateTaskInfo({
|
|
this.updateTaskInfo({
|
|
infoExamPrintPlan: Object.assign(
|
|
infoExamPrintPlan: Object.assign(
|
|
{},
|
|
{},
|