|
@@ -119,6 +119,7 @@
|
|
<simple-image-preview
|
|
<simple-image-preview
|
|
class="grading-operation-image-preview"
|
|
class="grading-operation-image-preview"
|
|
:cur-image="curPaper"
|
|
:cur-image="curPaper"
|
|
|
|
+ :can-close="!curPaper.selfCheck"
|
|
@on-prev="toPrevPaper"
|
|
@on-prev="toPrevPaper"
|
|
@on-next="toNextPaper"
|
|
@on-next="toNextPaper"
|
|
@on-close="imagePreviewClose"
|
|
@on-close="imagePreviewClose"
|
|
@@ -368,8 +369,7 @@ export default {
|
|
if (!task) return;
|
|
if (!task) return;
|
|
|
|
|
|
this.paperKey = this.$randomCode();
|
|
this.paperKey = this.$randomCode();
|
|
- this.curPaper = { ...task, isSelfCheck: true };
|
|
|
|
- console.log(this.curPaper);
|
|
|
|
|
|
+ this.curPaper = task;
|
|
if (this.isFullscreenMarking) return;
|
|
if (this.isFullscreenMarking) return;
|
|
|
|
|
|
this.setShortcut(["action"]);
|
|
this.setShortcut(["action"]);
|
|
@@ -518,7 +518,7 @@ export default {
|
|
this.setCurArea(curArea);
|
|
this.setCurArea(curArea);
|
|
this.filter.questionId = curArea.id;
|
|
this.filter.questionId = curArea.id;
|
|
await this.getStepLevels();
|
|
await this.getStepLevels();
|
|
- this.toPage(1);
|
|
|
|
|
|
+ await this.toPage(1);
|
|
// 刷新页面时只触发areaChange
|
|
// 刷新页面时只触发areaChange
|
|
if (this.IS_UNDO_STEP) {
|
|
if (this.IS_UNDO_STEP) {
|
|
await this.gotoSelfCheckTask();
|
|
await this.gotoSelfCheckTask();
|
|
@@ -701,7 +701,7 @@ export default {
|
|
},
|
|
},
|
|
async gradeCurPaper(level) {
|
|
async gradeCurPaper(level) {
|
|
let gradeRes = null;
|
|
let gradeRes = null;
|
|
- if (this.curPaper.isSelfCheck) {
|
|
|
|
|
|
+ if (this.curPaper.selfCheck) {
|
|
gradeRes = await markerSelfCheckLevel(
|
|
gradeRes = await markerSelfCheckLevel(
|
|
this.curPaper.id, // is taskId
|
|
this.curPaper.id, // is taskId
|
|
level.name
|
|
level.name
|
|
@@ -725,7 +725,7 @@ export default {
|
|
this.$refs.CarouselPapersPreview.cancel();
|
|
this.$refs.CarouselPapersPreview.cancel();
|
|
this.$refs.MarkerHistory.updatePapers();
|
|
this.$refs.MarkerHistory.updatePapers();
|
|
} else {
|
|
} else {
|
|
- if (!this.curPaper.isSelfCheck)
|
|
|
|
|
|
+ if (!this.curPaper.selfCheck)
|
|
this.updateStepLevel(this.curStep, level.name, 1);
|
|
this.updateStepLevel(this.curStep, level.name, 1);
|
|
|
|
|
|
// 待评阶段:自查卷获取逻辑
|
|
// 待评阶段:自查卷获取逻辑
|