|
@@ -360,14 +360,22 @@ export default {
|
|
|
if (type === "objective") {
|
|
|
this.toMarkObjectiveAnswer(studentIds);
|
|
|
} else {
|
|
|
- this.toMarkSubjectiveAnswer(studentIds);
|
|
|
+ this.toMarkSubjectiveAnswer({
|
|
|
+ examId: this.instance.examId,
|
|
|
+ paperNumber: this.instance.paperNumber,
|
|
|
+ studentIds: studentIds,
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
toCheckQuestion(row, type) {
|
|
|
if (type === "objective") {
|
|
|
this.toMarkObjectiveAnswer([row.studentId]);
|
|
|
} else {
|
|
|
- this.toMarkSubjectiveAnswer([row.studentId]);
|
|
|
+ this.toMarkSubjectiveAnswer({
|
|
|
+ examId: row.examId,
|
|
|
+ paperNumber: row.paperNumber,
|
|
|
+ studentIds: [row.studentId],
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
// img view
|