zhangjie 3 years ago
parent
commit
8381f3ad78
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/modules/stmms/components/markParam/ModifyMarkParams.vue

+ 3 - 1
src/modules/stmms/components/markParam/ModifyMarkParams.vue

@@ -242,7 +242,7 @@ export default {
       this.loading = type;
       this.loading = type;
     },
     },
     getBaseInfo(baseInfo) {
     getBaseInfo(baseInfo) {
-      return this.$objAssign(
+      const data = this.$objAssign(
         {
         {
           examPaperStructureId: null,
           examPaperStructureId: null,
           examId: null,
           examId: null,
@@ -257,6 +257,8 @@ export default {
         },
         },
         baseInfo
         baseInfo
       );
       );
+      data.examPaperStructureId = baseInfo.id;
+      return data;
     },
     },
     async submit() {
     async submit() {
       if (this.loading) return;
       if (this.loading) return;