|
@@ -13,13 +13,7 @@
|
|
>
|
|
>
|
|
<div class="data-check-body">
|
|
<div class="data-check-body">
|
|
<div class="data-check-action part-box">
|
|
<div class="data-check-action part-box">
|
|
- <el-form
|
|
|
|
- class="data-check-action-form"
|
|
|
|
- ref="modalFormComp"
|
|
|
|
- :model="modalForm"
|
|
|
|
- :rules="rules"
|
|
|
|
- label-position="top"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="data-check-action-form">
|
|
<el-button size="mini" type="primary" @click="toSelectTaskStd"
|
|
<el-button size="mini" type="primary" @click="toSelectTaskStd"
|
|
>所有任务考生信息</el-button
|
|
>所有任务考生信息</el-button
|
|
>
|
|
>
|
|
@@ -31,16 +25,15 @@
|
|
>设置OCR识别区</el-button
|
|
>设置OCR识别区</el-button
|
|
>
|
|
>
|
|
<el-divider></el-divider>
|
|
<el-divider></el-divider>
|
|
- <el-form-item prop="studentId" label="绑定学生">
|
|
|
|
- <el-input
|
|
|
|
- v-model="studentNameOrNo"
|
|
|
|
- class="width-full"
|
|
|
|
- placeholder="请输入学号/姓名"
|
|
|
|
- clearable
|
|
|
|
- @input="nameOrNoInput"
|
|
|
|
- ></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-form>
|
|
|
|
|
|
+ <h4 class="mb-1">绑定学生</h4>
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="studentNameOrNo"
|
|
|
|
+ class="width-full"
|
|
|
|
+ placeholder="请输入学号/姓名"
|
|
|
|
+ clearable
|
|
|
|
+ @input="nameOrNoInput"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </div>
|
|
<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
|
|
@@ -185,15 +178,6 @@ export default {
|
|
modalIsShow: false,
|
|
modalIsShow: false,
|
|
studentNameOrNo: "",
|
|
studentNameOrNo: "",
|
|
modalForm: { ...initModalForm },
|
|
modalForm: { ...initModalForm },
|
|
- rules: {
|
|
|
|
- paperScanTaskDetailId: [
|
|
|
|
- {
|
|
|
|
- required: true,
|
|
|
|
- message: "请选择学生",
|
|
|
|
- trigger: "change"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
inputSearchDelay: 300,
|
|
inputSearchDelay: 300,
|
|
studentList: [],
|
|
studentList: [],
|
|
courseList: [],
|
|
courseList: [],
|
|
@@ -270,6 +254,7 @@ export default {
|
|
}, this.inputSearchDelay);
|
|
}, this.inputSearchDelay);
|
|
},
|
|
},
|
|
async getStudentList() {
|
|
async getStudentList() {
|
|
|
|
+ if (!this.curPage || !this.curPage.paperScanTaskId) return;
|
|
const datas = {
|
|
const datas = {
|
|
paperScanTaskId: this.curPage.paperScanTaskId,
|
|
paperScanTaskId: this.curPage.paperScanTaskId,
|
|
param: this.studentNameOrNo,
|
|
param: this.studentNameOrNo,
|
|
@@ -334,9 +319,6 @@ export default {
|
|
this.confirm();
|
|
this.confirm();
|
|
},
|
|
},
|
|
async confirm() {
|
|
async confirm() {
|
|
- const valid = await this.$refs.modalFormComp.validate().catch(() => {});
|
|
|
|
- if (!valid) return;
|
|
|
|
-
|
|
|
|
if (this.loading) return;
|
|
if (this.loading) return;
|
|
this.loading = true;
|
|
this.loading = true;
|
|
let datas = { ...this.modalForm };
|
|
let datas = { ...this.modalForm };
|