|
@@ -14,9 +14,6 @@
|
|
<div class="data-check-body">
|
|
<div class="data-check-body">
|
|
<div class="data-check-action part-box">
|
|
<div class="data-check-action part-box">
|
|
<div class="data-check-action-form">
|
|
<div class="data-check-action-form">
|
|
- <el-button size="mini" type="primary" @click="toSelectTaskStd"
|
|
|
|
- >所有任务考生信息</el-button
|
|
|
|
- >
|
|
|
|
<el-button
|
|
<el-button
|
|
v-if="openCodeOcr"
|
|
v-if="openCodeOcr"
|
|
size="mini"
|
|
size="mini"
|
|
@@ -34,16 +31,6 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<el-divider></el-divider>
|
|
<el-divider></el-divider>
|
|
- <div v-if="openGlobalMatch" class="box-justify mb-2">
|
|
|
|
- <h4>绑定学生</h4>
|
|
|
|
- <div>
|
|
|
|
- <span class="inline-middle mr-1">全局匹配</span>
|
|
|
|
- <el-switch
|
|
|
|
- v-model="globalMatch"
|
|
|
|
- @change="getStudentList"
|
|
|
|
- ></el-switch>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
<el-input
|
|
<el-input
|
|
v-model="studentNameOrNo"
|
|
v-model="studentNameOrNo"
|
|
class="width-full"
|
|
class="width-full"
|
|
@@ -55,7 +42,6 @@
|
|
<div class="data-check-action-student">
|
|
<div class="data-check-action-student">
|
|
<el-table ref="TableList" :data="studentList">
|
|
<el-table ref="TableList" :data="studentList">
|
|
<el-table-column
|
|
<el-table-column
|
|
- v-if="globalMatch"
|
|
|
|
prop="paperScanTaskName"
|
|
prop="paperScanTaskName"
|
|
label="扫描任务"
|
|
label="扫描任务"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
@@ -128,12 +114,6 @@
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <!-- RelateStudentDialog -->
|
|
|
|
- <relate-student-dialog
|
|
|
|
- ref="RelateStudentDialog"
|
|
|
|
- :page-data="curPage"
|
|
|
|
- @confirm="toBind"
|
|
|
|
- ></relate-student-dialog>
|
|
|
|
<!-- ocr-result -->
|
|
<!-- ocr-result -->
|
|
<el-dialog
|
|
<el-dialog
|
|
class="page-dialog"
|
|
class="page-dialog"
|
|
@@ -177,12 +157,12 @@ import {
|
|
} from "../api";
|
|
} from "../api";
|
|
import { systemSettingQuery } from "../../base/api";
|
|
import { systemSettingQuery } from "../../base/api";
|
|
import ImageContain from "../../../components/ImageContain.vue";
|
|
import ImageContain from "../../../components/ImageContain.vue";
|
|
-import RelateStudentDialog from "./RelateStudentDialog.vue";
|
|
|
|
import OcrAreaSet from "./OcrAreaSet.vue";
|
|
import OcrAreaSet from "./OcrAreaSet.vue";
|
|
|
|
|
|
const initModalForm = {
|
|
const initModalForm = {
|
|
paperLibraryId: "",
|
|
paperLibraryId: "",
|
|
- paperScanTaskDetailId: ""
|
|
|
|
|
|
+ studentId: "",
|
|
|
|
+ paperScanTaskId: ""
|
|
};
|
|
};
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -209,7 +189,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- components: { ImageContain, RelateStudentDialog, OcrAreaSet },
|
|
|
|
|
|
+ components: { ImageContain, OcrAreaSet },
|
|
mixins: [timeMixin],
|
|
mixins: [timeMixin],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -232,8 +212,6 @@ export default {
|
|
isSetOcrSet: false,
|
|
isSetOcrSet: false,
|
|
openOcr: false,
|
|
openOcr: false,
|
|
openBarCode: false,
|
|
openBarCode: false,
|
|
- openGlobalMatch: false,
|
|
|
|
- globalMatch: false,
|
|
|
|
areaType: "",
|
|
areaType: "",
|
|
ocrArea: { x: null, y: null, width: null, height: null, rotate: 0 },
|
|
ocrArea: { x: null, y: null, width: null, height: null, rotate: 0 },
|
|
ocrResult: [],
|
|
ocrResult: [],
|
|
@@ -297,9 +275,6 @@ export default {
|
|
if (field.code === "openBarCode") {
|
|
if (field.code === "openBarCode") {
|
|
this.openBarCode = field.value === "true";
|
|
this.openBarCode = field.value === "true";
|
|
}
|
|
}
|
|
- if (field.code === "openGlobalMatch") {
|
|
|
|
- this.openGlobalMatch = field.value === "true";
|
|
|
|
- }
|
|
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
|
|
@@ -321,16 +296,12 @@ export default {
|
|
const datas = {
|
|
const datas = {
|
|
paperScanTaskId: this.curPage.paperScanTaskId,
|
|
paperScanTaskId: this.curPage.paperScanTaskId,
|
|
param: this.studentNameOrNo,
|
|
param: this.studentNameOrNo,
|
|
- globalMatch: this.globalMatch,
|
|
|
|
pageNumber: 1,
|
|
pageNumber: 1,
|
|
pageSize: 30
|
|
pageSize: 30
|
|
};
|
|
};
|
|
const data = await scanTaskStudentListPage(datas);
|
|
const data = await scanTaskStudentListPage(datas);
|
|
this.studentList = data.records;
|
|
this.studentList = data.records;
|
|
},
|
|
},
|
|
- toSelectTaskStd() {
|
|
|
|
- this.$refs.RelateStudentDialog.open();
|
|
|
|
- },
|
|
|
|
async switchCurPage(curPagePaperIndex) {
|
|
async switchCurPage(curPagePaperIndex) {
|
|
if (this.isSwitchFb) return;
|
|
if (this.isSwitchFb) return;
|
|
this.curPagePaperIndex = curPagePaperIndex;
|
|
this.curPagePaperIndex = curPagePaperIndex;
|
|
@@ -389,7 +360,8 @@ export default {
|
|
},
|
|
},
|
|
toBind(row) {
|
|
toBind(row) {
|
|
this.lastPaperScanTaskId = this.curPage.paperScanTaskId;
|
|
this.lastPaperScanTaskId = this.curPage.paperScanTaskId;
|
|
- this.modalForm.paperScanTaskDetailId = row.paperScanTaskDetailId;
|
|
|
|
|
|
+ this.modalForm.studentId = row.studentId;
|
|
|
|
+ this.modalForm.paperScanTaskId = this.curPage.paperScanTaskId;
|
|
this.confirm();
|
|
this.confirm();
|
|
},
|
|
},
|
|
async confirm() {
|
|
async confirm() {
|