|
@@ -430,7 +430,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
updateStepLevel(curStep, curLevel, count) {
|
|
updateStepLevel(curStep, curLevel, count) {
|
|
- if (curStep.type === "markPaper") {
|
|
|
|
|
|
+ if (curStep.type === "markPaper" || this.curStep.type === "reject") {
|
|
this.getStepLevels();
|
|
this.getStepLevels();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -448,12 +448,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (curStep.type === "shift") {
|
|
|
|
- const spos = this.steps.otherStep.findIndex(
|
|
|
|
- item => item.type === "shiftScore"
|
|
|
|
- );
|
|
|
|
- this.steps.otherStep[spos].count += count;
|
|
|
|
- } else {
|
|
|
|
|
|
+ if (curStep.type !== "shift") {
|
|
const pos = this.steps.levelStep.findIndex(
|
|
const pos = this.steps.levelStep.findIndex(
|
|
item => item.name === curLevel
|
|
item => item.name === curLevel
|
|
);
|
|
);
|