|
@@ -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;
|