|
@@ -309,7 +309,12 @@ export default {
|
|
|
this.showAllCondition = true;
|
|
|
},
|
|
|
showSimpleCondition() {
|
|
|
- this.$message("高级查询条件值已重置");
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
+ message: "高级查询条件值已重置",
|
|
|
+ type: "info",
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
this.resetForm();
|
|
|
this.showAllCondition = false;
|
|
|
},
|
|
@@ -319,7 +324,7 @@ export default {
|
|
|
title: "警告",
|
|
|
message: "请选择考试批次",
|
|
|
type: "warning",
|
|
|
- duration: 1000
|
|
|
+ duration: 2000
|
|
|
});
|
|
|
return false;
|
|
|
}
|
|
@@ -369,9 +374,11 @@ export default {
|
|
|
"/admin/preview_paper/" + examRecordList[0].basePaperId
|
|
|
);
|
|
|
} else {
|
|
|
- this.$message({
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
message: "该考生未参加考试",
|
|
|
- type: "error"
|
|
|
+ type: "error",
|
|
|
+ duration: 2000
|
|
|
});
|
|
|
}
|
|
|
}
|
|
@@ -427,9 +434,11 @@ export default {
|
|
|
});
|
|
|
} else {
|
|
|
this.loading = false;
|
|
|
- this.$message({
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
message: "该考生未参加考试",
|
|
|
- type: "error"
|
|
|
+ type: "error",
|
|
|
+ duration: 2000
|
|
|
});
|
|
|
}
|
|
|
}
|
|
@@ -443,9 +452,11 @@ export default {
|
|
|
.then(response => {
|
|
|
var examRecordDataList = response.data;
|
|
|
if (examRecordDataList.length == 0) {
|
|
|
- this.$message({
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
message: "该考生未参加考试",
|
|
|
- type: "error"
|
|
|
+ type: "error",
|
|
|
+ duration: 2000
|
|
|
});
|
|
|
} else {
|
|
|
this.uploadAnswerDialogVisible = true;
|
|
@@ -472,9 +483,11 @@ export default {
|
|
|
this.$http
|
|
|
.post("/api/ecs_oe_student/offlineExam/submitPaper", param, config)
|
|
|
.then(() => {
|
|
|
- this.$message({
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
message: "上传成功",
|
|
|
- type: "success"
|
|
|
+ type: "success",
|
|
|
+ duration: 2000
|
|
|
});
|
|
|
this.uploadAnswerDialogVisible = false;
|
|
|
this.uploadAnswerDialogLoading = false;
|
|
@@ -482,9 +495,11 @@ export default {
|
|
|
this.offlineAnswerFile = "";
|
|
|
})
|
|
|
.catch(() => {
|
|
|
- this.$message({
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
message: "上传失败",
|
|
|
- type: "error"
|
|
|
+ type: "error",
|
|
|
+ duration: 2000
|
|
|
});
|
|
|
this.uploadAnswerDialogLoading = false;
|
|
|
this.$refs.offlineFileInput.value = "";
|