|
@@ -45,6 +45,13 @@
|
|
|
>
|
|
|
<p>{{ curPaperOrTask.auditStatus === 1 ? "同意改档" : "不同意改档" }}</p>
|
|
|
</div>
|
|
|
+ <!-- mark confirm grade change -->
|
|
|
+ <div
|
|
|
+ class="action-grade-change-confirm"
|
|
|
+ v-if="rights.gradeChange && IS_MARKER"
|
|
|
+ >
|
|
|
+ <Button type="primary" @click="gradeChangeConfirm">确认改档</Button>
|
|
|
+ </div>
|
|
|
|
|
|
<!-- 档位信息 -->
|
|
|
<!-- 已评/待评(已评档位),改档打分(已评档位) -->
|
|
@@ -123,13 +130,6 @@
|
|
|
<div class="action-grade-pass" v-if="rights.levelPass" @click="toPass">
|
|
|
跳过
|
|
|
</div>
|
|
|
- <!-- mark confirm grade change -->
|
|
|
- <div
|
|
|
- class="action-grade-change-confirm"
|
|
|
- v-if="IS_MARKER && stepType === 'shift'"
|
|
|
- >
|
|
|
- <Button type="primary" @click="gradeChangeConfirm">确认改档</Button>
|
|
|
- </div>
|
|
|
|
|
|
<!-- 评卷记录 -->
|
|
|
<div class="action-grade-history" v-if="rights.markHis">
|
|
@@ -455,8 +455,8 @@ export default {
|
|
|
};
|
|
|
});
|
|
|
},
|
|
|
- selectLevel(level, actionType = null) {
|
|
|
- if (this.curPaperOrTask.level === level.name && !actionType) return;
|
|
|
+ selectLevel(level) {
|
|
|
+ if (this.curPaperOrTask.level === level.name) return;
|
|
|
|
|
|
if (this.btnClicked) return;
|
|
|
this.btnClicked = true;
|
|
@@ -476,10 +476,14 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
gradeChangeConfirm() {
|
|
|
- this.selectLevel(
|
|
|
- { name: this.curPaperOrTask.redoLevel },
|
|
|
- "gradeChangeConfirm"
|
|
|
- );
|
|
|
+ if (this.btnClicked) return;
|
|
|
+ this.btnClicked = true;
|
|
|
+
|
|
|
+ this.setT = setTimeout(() => {
|
|
|
+ this.btnClicked = false;
|
|
|
+ }, 500);
|
|
|
+
|
|
|
+ this.$emit("on-confirm-level-change", this.curPaperOrTask.id);
|
|
|
},
|
|
|
selectScore(score) {
|
|
|
if (this.btnClicked) return;
|