|
@@ -2,7 +2,12 @@
|
|
|
<div v-if="exam && examQuestion()" :key="exam.id" class="container">
|
|
|
<div class="header">
|
|
|
<RemainTime></RemainTime>
|
|
|
- <OverallProgress :exam-question-list="examQuestionList"></OverallProgress>
|
|
|
+ <div style="display: flex; flex-direction: column">
|
|
|
+ <div style="margin-bottom: 12px">{{ courseName }}</div>
|
|
|
+ <OverallProgress
|
|
|
+ :exam-question-list="examQuestionList"
|
|
|
+ ></OverallProgress>
|
|
|
+ </div>
|
|
|
<div>
|
|
|
{{ $store.state.user.displayName }} -
|
|
|
{{ $store.state.user.studentCodeList.join(",") }}
|
|
@@ -141,6 +146,7 @@ export default {
|
|
|
startVideoAfterDelay: false,
|
|
|
PRODUCTION: process.env.NODE_ENV === "production",
|
|
|
disableExamingBecauseRemoteApp: false,
|
|
|
+ courseName: "",
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
@@ -384,6 +390,7 @@ export default {
|
|
|
{ data: exam },
|
|
|
{ data: paperStruct },
|
|
|
{ data: examQuestionListOrig },
|
|
|
+ { data: courseName },
|
|
|
] = await Promise.all([
|
|
|
this.$http.get(
|
|
|
"/api/ecs_exam_work/exam/weixinAnswerEnabled/" +
|
|
@@ -408,7 +415,12 @@ export default {
|
|
|
this.$route.params.examRecordDataId
|
|
|
),
|
|
|
this.$http.get("/api/ecs_oe_student/examQuestion/findExamQuestionList"),
|
|
|
+ this.$http.get(
|
|
|
+ "/api/ecs_oe_student/examControl/courseName/" +
|
|
|
+ this.$route.params.examRecordDataId
|
|
|
+ ),
|
|
|
]);
|
|
|
+ this.courseName = courseName;
|
|
|
|
|
|
let initFaceLivenessResult = null;
|
|
|
if (faceLivenessEnabled) {
|