|
@@ -115,6 +115,21 @@
|
|
></el-date-picker>
|
|
></el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :span="12">
|
|
|
|
+ <el-form-item label="切屏次数">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="form.switchScreenCountStart"
|
|
|
|
+ style="width: 160px"
|
|
|
|
+ size="small"
|
|
|
|
+ ></el-input>
|
|
|
|
+ 至
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="form.switchScreenCountEnd"
|
|
|
|
+ style="width: 160px"
|
|
|
|
+ size="small"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
<!-- <el-col :span="6">
|
|
<!-- <el-col :span="6">
|
|
<el-form-item label="Ip">
|
|
<el-form-item label="Ip">
|
|
<el-input
|
|
<el-input
|
|
@@ -298,6 +313,12 @@
|
|
prop="paperSubmitTime"
|
|
prop="paperSubmitTime"
|
|
width="120"
|
|
width="120"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ sortable
|
|
|
|
+ label="切屏次数"
|
|
|
|
+ prop="switchScreenCount"
|
|
|
|
+ width="120"
|
|
|
|
+ ></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
sortable
|
|
sortable
|
|
label="审核说明"
|
|
label="审核说明"
|
|
@@ -408,6 +429,8 @@ export default {
|
|
tableLoading: false,
|
|
tableLoading: false,
|
|
showAllCondition: false,
|
|
showAllCondition: false,
|
|
form: {
|
|
form: {
|
|
|
|
+ switchScreenCountStart: null,
|
|
|
|
+ switchScreenCountEnd: null,
|
|
examRecordDataId: null,
|
|
examRecordDataId: null,
|
|
hasStranger: null,
|
|
hasStranger: null,
|
|
courseId: null,
|
|
courseId: null,
|
|
@@ -496,6 +519,32 @@ export default {
|
|
this.getDisciplineTypeList("");
|
|
this.getDisciplineTypeList("");
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ checkParam() {
|
|
|
|
+ var reg = /^0$|^[1-9][0-9]$/;
|
|
|
|
+ if (this.form.switchScreenCountStart) {
|
|
|
|
+ if (!reg.test(this.form.switchScreenCountStart)) {
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: "警告",
|
|
|
|
+ message: "切屏次数起始值错误",
|
|
|
|
+ type: "warning",
|
|
|
|
+ duration: 2000,
|
|
|
|
+ });
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (this.form.switchScreenCountEnd) {
|
|
|
|
+ if (!reg.test(this.form.switchScreenCountEnd)) {
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: "警告",
|
|
|
|
+ message: "切屏次数截止值错误",
|
|
|
|
+ type: "warning",
|
|
|
|
+ duration: 2000,
|
|
|
|
+ });
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ return true;
|
|
|
|
+ },
|
|
doRedoAuditNoPass() {
|
|
doRedoAuditNoPass() {
|
|
this.$refs["redoAuditForm"].validate((valid) => {
|
|
this.$refs["redoAuditForm"].validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
@@ -636,6 +685,9 @@ export default {
|
|
});
|
|
});
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
+ if (!this.checkParam()) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
if (type && type == "clickSelectBtn") {
|
|
if (type && type == "clickSelectBtn") {
|
|
this.form.pageNo = 1;
|
|
this.form.pageNo = 1;
|
|
}
|
|
}
|
|
@@ -738,6 +790,9 @@ export default {
|
|
});
|
|
});
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
+ if (!this.checkParam()) {
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
|
|
|
|
this.$confirm("确定执行导出?", "提示", {
|
|
this.$confirm("确定执行导出?", "提示", {
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|