|
@@ -212,7 +212,6 @@
|
|
|
<div>
|
|
|
<el-button
|
|
|
v-if="checkPrivilege('button', 'ExportScoreHistory')"
|
|
|
- class="mr-2"
|
|
|
type="primary"
|
|
|
:loading="loading"
|
|
|
@click="toExportScoreHistory"
|
|
@@ -257,6 +256,14 @@
|
|
|
>
|
|
|
AI智能评卷待复核({{ aiCheckList.length }})
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ v-if="checkPrivilege('link', 'InspectedAiMark')"
|
|
|
+ class="ml-2"
|
|
|
+ type="primary"
|
|
|
+ @click="toAiAbnormalCheck"
|
|
|
+ >
|
|
|
+ AI评卷失败待复核数量({{ aiAbnormalCheckList.length }})
|
|
|
+ </el-button>
|
|
|
<el-button
|
|
|
v-if="checkPrivilege('button', 'ScoreExport')"
|
|
|
class="ml-2"
|
|
@@ -442,6 +449,7 @@ import {
|
|
|
scoreDetailListExport,
|
|
|
scoreDetailHistoryExport,
|
|
|
scoreDetailAiCheckList,
|
|
|
+ scoreDetailAiAbnormalCheckList,
|
|
|
} from "../api";
|
|
|
import SimpleImagePreview from "@/components/SimpleImagePreview";
|
|
|
import markMinxin from "../markMinxin";
|
|
@@ -493,6 +501,7 @@ export default {
|
|
|
multipleSelection: [],
|
|
|
downloading: false,
|
|
|
aiCheckList: [],
|
|
|
+ aiAbnormalCheckList: [],
|
|
|
// img view
|
|
|
curImage: {},
|
|
|
curImageIndex: 0,
|
|
@@ -541,6 +550,7 @@ export default {
|
|
|
},
|
|
|
search() {
|
|
|
this.getAiCheckList();
|
|
|
+ this.getAiAbnormalCheckList();
|
|
|
this.toPage(1);
|
|
|
},
|
|
|
checkActionValid(row) {
|
|
@@ -596,6 +606,7 @@ export default {
|
|
|
});
|
|
|
this.aiCheckList = (res || []).map((item) => item.studentId);
|
|
|
},
|
|
|
+
|
|
|
toAiCheck() {
|
|
|
if (!this.aiCheckList.length) {
|
|
|
this.$message.error("当前无待复核数据");
|
|
@@ -607,6 +618,24 @@ export default {
|
|
|
studentIds: this.aiCheckList,
|
|
|
});
|
|
|
},
|
|
|
+ async getAiAbnormalCheckList() {
|
|
|
+ const res = await scoreDetailAiAbnormalCheckList({
|
|
|
+ examId: this.instance.examId,
|
|
|
+ paperNumber: this.instance.paperNumber,
|
|
|
+ });
|
|
|
+ this.aiAbnormalCheckList = (res || []).map((item) => item.studentId);
|
|
|
+ },
|
|
|
+ toAiAbnormalCheck() {
|
|
|
+ if (!this.aiAbnormalCheckList.length) {
|
|
|
+ this.$message.error("当前无待复核数据");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.toMarkSubjectiveAnswer({
|
|
|
+ examId: this.instance.examId,
|
|
|
+ paperNumber: this.instance.paperNumber,
|
|
|
+ studentIds: this.aiAbnormalCheckList,
|
|
|
+ });
|
|
|
+ },
|
|
|
toCheckQuestion(row, type) {
|
|
|
if (type === "objective") {
|
|
|
this.toMarkObjectiveAnswer([row.studentId]);
|