|
@@ -87,13 +87,13 @@
|
|
type="primary"
|
|
type="primary"
|
|
:disabled="batchAuditBtnDisabled"
|
|
:disabled="batchAuditBtnDisabled"
|
|
@click="batchAudit('nopass');"
|
|
@click="batchAudit('nopass');"
|
|
- >不通过
|
|
|
|
- </el-button>
|
|
|
|
|
|
+ >不通过</el-button
|
|
|
|
+ >
|
|
</el-button-group>
|
|
</el-button-group>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-row class="margin-top-10"
|
|
|
|
- ><el-col :span="24">
|
|
|
|
|
|
+ <el-row class="margin-top-10">
|
|
|
|
+ <el-col :span="24">
|
|
<el-table
|
|
<el-table
|
|
v-loading="tableLoading"
|
|
v-loading="tableLoading"
|
|
element-loading-text="数据加载中"
|
|
element-loading-text="数据加载中"
|
|
@@ -106,51 +106,71 @@
|
|
type="selection"
|
|
type="selection"
|
|
width="55"
|
|
width="55"
|
|
:selectable="selectable"
|
|
:selectable="selectable"
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ ></el-table-column>
|
|
<el-table-column sortable label="考试ID">
|
|
<el-table-column sortable label="考试ID">
|
|
- <template slot-scope="scope"
|
|
|
|
- ><el-button
|
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-button
|
|
@click="gotoCaptureDetail(scope.row.dataId);"
|
|
@click="gotoCaptureDetail(scope.row.dataId);"
|
|
type="text"
|
|
type="text"
|
|
>{{ scope.row.dataId }}</el-button
|
|
>{{ scope.row.dataId }}</el-button
|
|
- ></template
|
|
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column sortable label="姓名" prop="studentName">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column sortable label="身份证号" prop="identityNumber">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column sortable label="学号" prop="studentCode">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column sortable label="学习中心" prop="orgName">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column sortable label="课程" prop="courseName">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column sortable label="课程层次" prop="courseLevel">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column sortable label="校验次数" prop="faceTotalCount">
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column sortable label="成功次数" prop="faceSuccessCount">
|
|
|
|
|
|
+ >
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ sortable
|
|
|
|
+ label="姓名"
|
|
|
|
+ prop="studentName"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ sortable
|
|
|
|
+ label="身份证号"
|
|
|
|
+ prop="identityNumber"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ sortable
|
|
|
|
+ label="学号"
|
|
|
|
+ prop="studentCode"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ sortable
|
|
|
|
+ label="学习中心"
|
|
|
|
+ prop="orgName"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ sortable
|
|
|
|
+ label="课程"
|
|
|
|
+ prop="courseName"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ sortable
|
|
|
|
+ label="课程层次"
|
|
|
|
+ prop="courseLevel"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ sortable
|
|
|
|
+ label="校验次数"
|
|
|
|
+ prop="faceTotalCount"
|
|
|
|
+ ></el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ sortable
|
|
|
|
+ label="成功次数"
|
|
|
|
+ prop="faceSuccessCount"
|
|
|
|
+ ></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
sortable
|
|
sortable
|
|
label="陌生人记录"
|
|
label="陌生人记录"
|
|
prop="faceStrangerCount"
|
|
prop="faceStrangerCount"
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ ></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
sortable
|
|
sortable
|
|
label="人脸识别成功率(%)"
|
|
label="人脸识别成功率(%)"
|
|
prop="faceSuccessPercent"
|
|
prop="faceSuccessPercent"
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ ></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
sortable
|
|
sortable
|
|
label="人脸真实性比率(%)"
|
|
label="人脸真实性比率(%)"
|
|
prop="baiduFaceLivenessSuccessPercent"
|
|
prop="baiduFaceLivenessSuccessPercent"
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ ></el-table-column>
|
|
<el-table-column label="操作">
|
|
<el-table-column label="操作">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
@@ -158,6 +178,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
type="success"
|
|
type="success"
|
|
icon="el-icon-success"
|
|
icon="el-icon-success"
|
|
|
|
+ @click="auditPass(scope.row.dataId);"
|
|
>通过</el-button
|
|
>通过</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
@@ -166,8 +187,8 @@
|
|
type="danger"
|
|
type="danger"
|
|
icon="el-icon-error"
|
|
icon="el-icon-error"
|
|
@click="openAuditDialog(scope.row.dataId);"
|
|
@click="openAuditDialog(scope.row.dataId);"
|
|
- >不通过
|
|
|
|
- </el-button>
|
|
|
|
|
|
+ >不通过</el-button
|
|
|
|
+ >
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -180,16 +201,17 @@
|
|
:page-size="form.pageSize"
|
|
:page-size="form.pageSize"
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
:total="total"
|
|
:total="total"
|
|
- >
|
|
|
|
- </el-pagination></div></el-col
|
|
|
|
- ></el-row>
|
|
|
|
|
|
+ ></el-pagination>
|
|
|
|
+ </div>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
<el-dialog title="审核" :visible.sync="dialogFormVisible">
|
|
<el-dialog title="审核" :visible.sync="dialogFormVisible">
|
|
- <auditVue :auditForm="auditForm"
|
|
|
|
- ><div class="dialog-footer">
|
|
|
|
|
|
+ <auditVue :auditForm="auditForm">
|
|
|
|
+ <div class="dialog-footer">
|
|
<el-button @click="dialogFormVisible = false;">取 消</el-button>
|
|
<el-button @click="dialogFormVisible = false;">取 消</el-button>
|
|
<el-button type="primary" @click="doAudit">确 定</el-button>
|
|
<el-button type="primary" @click="doAudit">确 定</el-button>
|
|
- </div></auditVue
|
|
|
|
- >
|
|
|
|
|
|
+ </div>
|
|
|
|
+ </auditVue>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</el-main>
|
|
</el-main>
|
|
</el-container>
|
|
</el-container>
|
|
@@ -259,6 +281,7 @@ export default {
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
this.tableLoading = true;
|
|
this.tableLoading = true;
|
|
|
|
+ var params = this.form;
|
|
this.$http
|
|
this.$http
|
|
.post("/api/ecs_oe_admin/exam/record/waiting/audit/list", this.form)
|
|
.post("/api/ecs_oe_admin/exam/record/waiting/audit/list", this.form)
|
|
.then(response => {
|
|
.then(response => {
|
|
@@ -269,6 +292,9 @@ export default {
|
|
this.tableData = [];
|
|
this.tableData = [];
|
|
}
|
|
}
|
|
this.tableLoading = false;
|
|
this.tableLoading = false;
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: "/oe/awaitingAudit?" + new URLSearchParams(params)
|
|
|
|
+ });
|
|
});
|
|
});
|
|
},
|
|
},
|
|
selectable(row) {
|
|
selectable(row) {
|
|
@@ -287,7 +313,8 @@ export default {
|
|
/**
|
|
/**
|
|
* 当前页改变时触发
|
|
* 当前页改变时触发
|
|
*/
|
|
*/
|
|
- handleCurrentChange() {
|
|
|
|
|
|
+ handleCurrentChange(val) {
|
|
|
|
+ this.form.pageNo = val;
|
|
this.search();
|
|
this.search();
|
|
},
|
|
},
|
|
batchAudit(operate) {
|
|
batchAudit(operate) {
|
|
@@ -342,8 +369,28 @@ export default {
|
|
this.search();
|
|
this.search();
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ * 审核通过
|
|
|
|
+ */
|
|
|
|
+ auditPass(examRecordDataId) {
|
|
|
|
+ var auditParams = {
|
|
|
|
+ examRecordDataId: examRecordDataId,
|
|
|
|
+ isPass: true
|
|
|
|
+ };
|
|
|
|
+ var param = new URLSearchParams(auditParams);
|
|
|
|
+ this.$http
|
|
|
|
+ .post("/api/ecs_oe_admin/exam/audit/single/audit", param)
|
|
|
|
+ .then(() => {
|
|
|
|
+ this.search();
|
|
|
|
+ this.$notify({
|
|
|
|
+ title: "成功",
|
|
|
|
+ message: "操作成功",
|
|
|
|
+ type: "success"
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+ },
|
|
gotoCaptureDetail(examRecordDataId) {
|
|
gotoCaptureDetail(examRecordDataId) {
|
|
- alert(examRecordDataId);
|
|
|
|
|
|
+ this.$router.push({ path: "/oe/captureDetail/" + examRecordDataId });
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -351,7 +398,25 @@ export default {
|
|
this.batchAuditBtnDisabled = !(this.multipleSelection.length > 0);
|
|
this.batchAuditBtnDisabled = !(this.multipleSelection.length > 0);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- created() {}
|
|
|
|
|
|
+ created() {
|
|
|
|
+ var formData = this.$route.query;
|
|
|
|
+ if (formData && formData.examId) {
|
|
|
|
+ for (var attr in formData) {
|
|
|
|
+ var value = formData[attr];
|
|
|
|
+ if (value && value != "null") {
|
|
|
|
+ if (!isNaN(value)) {
|
|
|
|
+ if (~~value == value) {
|
|
|
|
+ value = parseInt(value);
|
|
|
|
+ } else {
|
|
|
|
+ value = parseFloat(value);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.form[attr] = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.search();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style scoped>
|
|
<style scoped>
|