|
@@ -6,6 +6,10 @@
|
|
|
<div><img class="user-avatar" :src="user.photoPath" alt="无底照" /></div>
|
|
|
<div v-if="showObjectScore && !examResult.isWarn">客观分: {{examResult.objectiveScore}}</div>
|
|
|
<div v-if="examResult.isWarn">成绩待审核</div>
|
|
|
+ <h1 v-if="examResult.isWarn" class="">违纪提示: </h1>
|
|
|
+ <div v-if="examResult.isWarn" class="" style="text-align: left; padding-bottom: 20px">
|
|
|
+ <p v-html="cheatingRemark"></p>
|
|
|
+ </div>
|
|
|
<h1 class="">考后说明: </h1>
|
|
|
<div class="" style="text-align: left; padding-bottom: 20px">
|
|
|
<p v-html="afterExamRemark"></p>
|
|
@@ -57,6 +61,15 @@ export default {
|
|
|
);
|
|
|
this.showObjectScore = showObjectScore.data || false;
|
|
|
|
|
|
+ if (this.examResult.isWarn) {
|
|
|
+ const cheatingRemark = await this.$http.get(
|
|
|
+ "/api/ecs_exam_work/exam/examOrgProperty/" +
|
|
|
+ this.$route.params.examId +
|
|
|
+ `/CHEATING_REMARK`
|
|
|
+ );
|
|
|
+ this.cheatingRemark = cheatingRemark.data || false;
|
|
|
+ }
|
|
|
+
|
|
|
this.paperTotalScore = this.paperStruct.defaultPaper.questionGroupList
|
|
|
.map(q => q.groupScore)
|
|
|
.reduce((p, c) => p + c);
|