|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<el-container>
|
|
|
- <el-header> <div class="header-title">抓拍详情</div> </el-header>
|
|
|
+ <el-header> <LinkTitlesCustom :currentPaths="currentPaths" /> </el-header>
|
|
|
<el-main>
|
|
|
<el-row>
|
|
|
<el-col :span="6">
|
|
@@ -30,12 +30,13 @@
|
|
|
@click="openAuditDialog"
|
|
|
></el-button>
|
|
|
<el-button
|
|
|
+ size="small"
|
|
|
icon="el-icon-back"
|
|
|
- type="info"
|
|
|
- title="返回"
|
|
|
- circle
|
|
|
+ type="primary"
|
|
|
@click="back"
|
|
|
- ></el-button>
|
|
|
+ >
|
|
|
+ 返回
|
|
|
+ </el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="margin-top-10">
|
|
@@ -139,8 +140,9 @@
|
|
|
<script>
|
|
|
import { mapState } from "vuex";
|
|
|
import auditVue from "../component/audit.vue";
|
|
|
+import LinkTitlesCustom from "@/components/LinkTitlesCustom.vue";
|
|
|
export default {
|
|
|
- components: { auditVue },
|
|
|
+ components: { auditVue, LinkTitlesCustom },
|
|
|
data() {
|
|
|
return {
|
|
|
examRecordDataId: "",
|
|
@@ -155,7 +157,8 @@ export default {
|
|
|
disciplineType: "",
|
|
|
disciplineDetail: "",
|
|
|
isPass: null
|
|
|
- }
|
|
|
+ },
|
|
|
+ currentPaths: ["抓拍详情"]
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
@@ -243,7 +246,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ debugger;
|
|
|
this.examRecordDataId = this.$route.params.examRecordDataId;
|
|
|
+ var fromPage = this.$route.params.from;
|
|
|
+ if (fromPage == "awaitingAudit") {
|
|
|
+ this.currentPaths = ["监考待审", "抓拍详情"];
|
|
|
+ } else if (fromPage == "alreadyAudited") {
|
|
|
+ this.currentPaths = ["监考已审", "抓拍详情"];
|
|
|
+ } else if (fromPage == "examDetail") {
|
|
|
+ this.currentPaths = ["考试明细", "抓拍详情"];
|
|
|
+ }
|
|
|
this.getExamAuditData();
|
|
|
this.listExamCapture();
|
|
|
}
|