|
@@ -91,12 +91,20 @@
|
|
|
<el-table-column label="考试ID" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
- v-show="currentPagePrivileges.SNAPSHOT_DETAILS"
|
|
|
+ v-show="
|
|
|
+ scope.row.examType == 'ONLINE' &&
|
|
|
+ currentPagePrivileges.SNAPSHOT_DETAILS
|
|
|
+ "
|
|
|
@click="gotoCaptureDetail(scope.row.dataId)"
|
|
|
type="text"
|
|
|
>{{ scope.row.dataId }}
|
|
|
</el-button>
|
|
|
- <span v-show="!currentPagePrivileges.SNAPSHOT_DETAILS">
|
|
|
+ <span
|
|
|
+ v-show="
|
|
|
+ scope.row.examType != 'ONLINE' ||
|
|
|
+ !currentPagePrivileges.SNAPSHOT_DETAILS
|
|
|
+ "
|
|
|
+ >
|
|
|
{{ scope.row.dataId }}
|
|
|
</span>
|
|
|
</template>
|
|
@@ -315,7 +323,11 @@
|
|
|
>
|
|
|
</el-pagination></div></el-col
|
|
|
></el-row>
|
|
|
- <el-dialog title="审核" :visible.sync="dialogAuditFormVisible">
|
|
|
+ <el-dialog
|
|
|
+ title="审核"
|
|
|
+ :visible.sync="dialogAuditFormVisible"
|
|
|
+ @closed="auditDialogClosed"
|
|
|
+ >
|
|
|
<el-form :model="auditForm" ref="redoAuditForm">
|
|
|
<el-form-item
|
|
|
label="违纪类型"
|
|
@@ -579,13 +591,7 @@ export default {
|
|
|
message: "操作成功",
|
|
|
type: "success"
|
|
|
});
|
|
|
- this.auditForm = {
|
|
|
- examRecordDataId: null,
|
|
|
- disciplineType: "",
|
|
|
- disciplineDetail: "",
|
|
|
- isPass: null
|
|
|
- };
|
|
|
- this.dialogAuditFormVisible = false;
|
|
|
+ this.doRedoAuditNoPassPostProcess();
|
|
|
this.search();
|
|
|
})
|
|
|
.catch(res => {
|
|
@@ -593,6 +599,7 @@ export default {
|
|
|
if (res.response && res.response.data) {
|
|
|
errorMsg = res.response.data.desc;
|
|
|
}
|
|
|
+ this.doRedoAuditNoPassPostProcess();
|
|
|
this.$notify({
|
|
|
title: "提示",
|
|
|
message: errorMsg,
|
|
@@ -604,6 +611,19 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ doRedoAuditNoPassPostProcess() {
|
|
|
+ this.auditForm = {
|
|
|
+ examRecordDataId: null,
|
|
|
+ disciplineType: "",
|
|
|
+ disciplineDetail: "",
|
|
|
+ isPass: null
|
|
|
+ };
|
|
|
+ this.$refs["redoAuditForm"].resetFields();
|
|
|
+ this.dialogAuditFormVisible = false;
|
|
|
+ },
|
|
|
+ auditDialogClosed() {
|
|
|
+ this.$refs["redoAuditForm"].resetFields();
|
|
|
+ },
|
|
|
backFill() {
|
|
|
var formData = this.$route.query;
|
|
|
if (formData && formData.examId) {
|