|
@@ -177,6 +177,7 @@ export default {
|
|
|
curPaperIndex: 0,
|
|
|
paramsSetReady: false,
|
|
|
// carousel paper review,
|
|
|
+ carouselType: "",
|
|
|
carouselPapers: [],
|
|
|
curCarouselPaperIndex: 0,
|
|
|
isFullscreenMarking: false,
|
|
@@ -469,15 +470,21 @@ export default {
|
|
|
"SCORE"
|
|
|
);
|
|
|
if (!paper) return;
|
|
|
- this.updateStepLevel(this.curStep, this.curPaper.level);
|
|
|
- this.toActionNextPaper();
|
|
|
+ if (this.carouselType) {
|
|
|
+ this.$refs.CarouselPapersPreview.cancel();
|
|
|
+ this.$refs.MarkerHistory.updatePapers();
|
|
|
+ } else {
|
|
|
+ this.updateStepLevel(this.curStep, this.curPaper.level);
|
|
|
+ this.toActionNextPaper();
|
|
|
+ }
|
|
|
},
|
|
|
- async passCurPaper(level) {
|
|
|
+ async passCurPaper() {
|
|
|
await paperTaskPass(this.curPaper.id);
|
|
|
this.toActionNextPaper();
|
|
|
},
|
|
|
// paper carousel
|
|
|
- toViewCarouselPaper(paperIndex, papers) {
|
|
|
+ toViewCarouselPaper(paperIndex, papers, type) {
|
|
|
+ this.carouselType = type;
|
|
|
this.isFullscreenMarking = true;
|
|
|
this.carouselPapers = papers;
|
|
|
this.selectCarouselPaper(paperIndex);
|
|
@@ -501,6 +508,7 @@ export default {
|
|
|
this.selectCarouselPaper(this.curCarouselPaperIndex);
|
|
|
},
|
|
|
carouseImagePreviewClose() {
|
|
|
+ this.carouselType = "";
|
|
|
this.isFullscreenMarking = false;
|
|
|
this.selectPaper(this.curPaperIndex);
|
|
|
},
|