|
@@ -253,7 +253,6 @@ export default {
|
|
|
this.$router.back();
|
|
|
},
|
|
|
disciplineTypeFilter: function(value) {
|
|
|
- debugger;
|
|
|
if (value && value.indexOf("&&") > -1) {
|
|
|
var arr = value.split("&&");
|
|
|
var detail = "";
|
|
@@ -269,13 +268,13 @@ export default {
|
|
|
created() {
|
|
|
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 = ["考试明细", "抓拍详情"];
|
|
|
- }
|
|
|
+ var currentPathJson = {
|
|
|
+ illegalityNameList: ["违纪名单", "抓拍详情"],
|
|
|
+ awaitingAudit: ["监考待审", "抓拍详情"],
|
|
|
+ alreadyAudited: ["监考已审", "抓拍详情"],
|
|
|
+ examDetail: ["考试明细", "抓拍详情"]
|
|
|
+ };
|
|
|
+ this.currentPaths = currentPathJson[fromPage];
|
|
|
this.getExamAuditData();
|
|
|
this.listExamCapture();
|
|
|
}
|