|
@@ -139,6 +139,7 @@ import {
|
|
markSubjectiveUpdateMarkType,
|
|
markSubjectiveUpdateMarkType,
|
|
markSubjectiveUpdateMarkArea,
|
|
markSubjectiveUpdateMarkArea,
|
|
markSubjectiveUnbindMarker,
|
|
markSubjectiveUnbindMarker,
|
|
|
|
+ markSubjectiveList,
|
|
} from "../../api";
|
|
} from "../../api";
|
|
import { cardDetail } from "../../../card/api";
|
|
import { cardDetail } from "../../../card/api";
|
|
import { SCORE_POLICY_TYPE } from "@/constants/enumerate";
|
|
import { SCORE_POLICY_TYPE } from "@/constants/enumerate";
|
|
@@ -212,6 +213,14 @@ export default {
|
|
const cardContent = JSON.parse(detData.content);
|
|
const cardContent = JSON.parse(detData.content);
|
|
this.cardPages = cardContent.pages;
|
|
this.cardPages = cardContent.pages;
|
|
},
|
|
},
|
|
|
|
+ async updateList() {
|
|
|
|
+ const params = {
|
|
|
|
+ examId: this.basicInfo.examId,
|
|
|
|
+ paperNumber: this.basicInfo.paperNumber,
|
|
|
|
+ };
|
|
|
|
+ const subjectRes = await markSubjectiveList(params);
|
|
|
|
+ this.setSubjectiveTaskList(subjectRes.questions || []);
|
|
|
|
+ },
|
|
initFillQuestionRanges() {
|
|
initFillQuestionRanges() {
|
|
if (!this.openMergeMarker) return;
|
|
if (!this.openMergeMarker) return;
|
|
|
|
|
|
@@ -291,13 +300,7 @@ export default {
|
|
questionId: row.id,
|
|
questionId: row.id,
|
|
userIds: row.markers.map((item) => item.id),
|
|
userIds: row.markers.map((item) => item.id),
|
|
});
|
|
});
|
|
-
|
|
|
|
- this.curRowQuestions.forEach((item) => {
|
|
|
|
- this.updateSubjectiveTaskItem({
|
|
|
|
- id: item.id,
|
|
|
|
- markers: row.markers,
|
|
|
|
- });
|
|
|
|
- });
|
|
|
|
|
|
+ await this.updateList();
|
|
},
|
|
},
|
|
toSetArea(row) {
|
|
toSetArea(row) {
|
|
this.curRow = row;
|
|
this.curRow = row;
|