|
@@ -81,6 +81,7 @@ export default {
|
|
|
props: {
|
|
|
examId: { type: Number, default: 0 },
|
|
|
examRecordDataId: { type: Number, default: 0 },
|
|
|
+ fromCache: { type: Boolean, default: false },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -111,20 +112,24 @@ export default {
|
|
|
] = await Promise.all([
|
|
|
this.$http.get("/api/ecs_exam_work/exam/" + this.examId),
|
|
|
this.$http.get(
|
|
|
- "/api/ecs_oe_student/examRecordPaperStruct/getExamRecordPaperStruct?examRecordDataId=" +
|
|
|
- this.examRecordDataId
|
|
|
+ "/api/ecs_oe_admin/examRecordPaperStruct/getExamRecordPaperStruct?examRecordDataId=" +
|
|
|
+ this.examRecordDataId +
|
|
|
+ (this.fromCache ? "&fromCache=1" : "")
|
|
|
),
|
|
|
this.$http.get(
|
|
|
"/api/ecs_oe_admin/examRecordQuestions/getExamRecordQuestions?examRecordDataId=" +
|
|
|
- this.examRecordDataId
|
|
|
+ this.examRecordDataId +
|
|
|
+ (this.fromCache ? "&fromCache=1" : "")
|
|
|
),
|
|
|
this.$http.get(
|
|
|
"/api/ecs_oe_admin/exam/record/data/findExamRecordDataEntity?examRecordDataId=" +
|
|
|
- this.examRecordDataId
|
|
|
+ this.examRecordDataId +
|
|
|
+ (this.fromCache ? "&fromCache=1" : "")
|
|
|
),
|
|
|
this.$http.get(
|
|
|
"/api/ecs_oe_admin/practice/getPracticeDetailInfo?examRecordDataId=" +
|
|
|
- this.examRecordDataId
|
|
|
+ this.examRecordDataId +
|
|
|
+ (this.fromCache ? "&fromCache=1" : "")
|
|
|
),
|
|
|
]);
|
|
|
const [exam, paperStruct, examRecordData, courseInfo] = [
|