|
@@ -499,7 +499,7 @@ export default {
|
|
const questionCount = this.tableData.length;
|
|
const questionCount = this.tableData.length;
|
|
|
|
|
|
const subjectiveQuestionCount = this.tableData.filter(
|
|
const subjectiveQuestionCount = this.tableData.filter(
|
|
- (item) => !item.isObjective
|
|
|
|
|
|
+ (item) => !item.objective
|
|
).length;
|
|
).length;
|
|
|
|
|
|
return {
|
|
return {
|
|
@@ -515,7 +515,6 @@ export default {
|
|
if (this.loading) return;
|
|
if (this.loading) return;
|
|
if (!this.checkData()) return;
|
|
if (!this.checkData()) return;
|
|
|
|
|
|
- this.loading = true;
|
|
|
|
const questions = this.getData();
|
|
const questions = this.getData();
|
|
const paperStat = this.statPaperStructure();
|
|
const paperStat = this.statPaperStructure();
|
|
let tipsContent = `本试卷共${paperStat.questionCount}道小题,客观题${paperStat.objectiveQuestionCount}道,主观题${paperStat.subjectiveQuestionCount}道,总分为${paperStat.paperTotalScore}分。`;
|
|
let tipsContent = `本试卷共${paperStat.questionCount}道小题,客观题${paperStat.objectiveQuestionCount}道,主观题${paperStat.subjectiveQuestionCount}道,总分为${paperStat.paperTotalScore}分。`;
|
|
@@ -528,6 +527,7 @@ export default {
|
|
).catch(() => {});
|
|
).catch(() => {});
|
|
if (confirm !== "confirm") return;
|
|
if (confirm !== "confirm") return;
|
|
|
|
|
|
|
|
+ this.loading = true;
|
|
const res = await markStructureSave({
|
|
const res = await markStructureSave({
|
|
examId: this.basicInfo.examId,
|
|
examId: this.basicInfo.examId,
|
|
paperNumber: this.basicInfo.paperNumber,
|
|
paperNumber: this.basicInfo.paperNumber,
|