|
@@ -562,17 +562,14 @@ export default {
|
|
|
this.multiplebtnClicked = true;
|
|
|
const multipleGradingListCount = this.multipleGradingList.length;
|
|
|
|
|
|
- let result = true;
|
|
|
- await paperSelectLevelBatch(
|
|
|
+ const gradeRes = await paperSelectLevelBatch(
|
|
|
this.multipleGradingList.map(item => item.id).join(), // is taskId
|
|
|
level.name,
|
|
|
this.curSubject.stage
|
|
|
- ).catch(() => {
|
|
|
- result = false;
|
|
|
- });
|
|
|
+ ).catch(() => {});
|
|
|
|
|
|
this.multiplebtnClicked = false;
|
|
|
- if (!result) return;
|
|
|
+ if (!gradeRes) return;
|
|
|
|
|
|
this.multipleGradingList = [];
|
|
|
// this.getStepLevels();
|
|
@@ -587,6 +584,12 @@ export default {
|
|
|
this.setPage({ current: this.page.current - 1 });
|
|
|
}
|
|
|
|
|
|
+ // 待评阶段:自查卷获取逻辑
|
|
|
+ if (this.IS_UNDO_STEP && gradeRes.hasSelfTask) {
|
|
|
+ await this.gotoSelfCheckTask();
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
await this.getList();
|
|
|
this.selectPaper(this.curPaperIndex);
|
|
|
},
|
|
@@ -715,7 +718,9 @@ export default {
|
|
|
this.$refs.CarouselPapersPreview.cancel();
|
|
|
this.$refs.MarkerHistory.updatePapers();
|
|
|
} else {
|
|
|
- this.updateStepLevel(this.curStep, level.name, 1);
|
|
|
+ if (!this.curPaper.isSelfCheck)
|
|
|
+ this.updateStepLevel(this.curStep, level.name, 1);
|
|
|
+
|
|
|
// 待评阶段:自查卷获取逻辑
|
|
|
if (this.IS_UNDO_STEP && gradeRes.hasSelfTask) {
|
|
|
await this.gotoSelfCheckTask();
|
|
@@ -744,6 +749,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
selectCarouselPaper(index) {
|
|
|
+ this.paperKey = this.$randomCode();
|
|
|
this.curCarouselPaperIndex = index;
|
|
|
this.curPaper = { ...this.carouselPapers[index] };
|
|
|
},
|