zhangjie 2 年 前
コミット
7cc5b54ebd
1 ファイル変更9 行追加0 行削除
  1. 9 0
      src/modules/print/components/ModifyPrintPlan.vue

+ 9 - 0
src/modules/print/components/ModifyPrintPlan.vue

@@ -640,6 +640,15 @@ export default {
     initExamConfig(val) {
       // console.log(val);
       if (!val) return;
+      const data = this.$objAssign(
+        {
+          backupMethod: "ROOM",
+          backupCount: 1,
+          drawRule: "ONE"
+        },
+        val
+      );
+      Object.assign(this.modalForm, data);
       const transformInfo = item => {
         const templateIds = item.templateId ? [item.templateId] : [];
         return {