|
|
|
@ -195,9 +195,11 @@ |
|
|
|
|
<h6>基本信息</h6> |
|
|
|
|
<div class="lines"> |
|
|
|
|
<template v-if="showUserInfo"> |
|
|
|
|
<template v-if="fromNakadai"> |
|
|
|
|
<p>考生所在院校:{{ info.realSchool }}</p> |
|
|
|
|
<p>团队名称:{{ info.teamName }}</p> |
|
|
|
|
<!-- <p>考生班级:{{ info.className }}</p> --> |
|
|
|
|
</template> |
|
|
|
|
<p v-else>考生班级:{{ info.className }}</p> |
|
|
|
|
<p>考生姓名:{{ info.userName }}</p> |
|
|
|
|
<p>考生学号:{{ info.workNumber }}</p> |
|
|
|
|
</template> |
|
|
|
@ -222,16 +224,20 @@ import QuesConst from '@/const/ques' |
|
|
|
|
import Util from '@/libs/util' |
|
|
|
|
import _ from 'lodash' |
|
|
|
|
import Decimal from 'decimal.js' |
|
|
|
|
|
|
|
|
|
const fromNakadai = localStorage.getItem('reviewFromNakadai') |
|
|
|
|
export default { |
|
|
|
|
components: { |
|
|
|
|
PdfDia |
|
|
|
|
}, |
|
|
|
|
data () { |
|
|
|
|
return { |
|
|
|
|
fromNakadai, |
|
|
|
|
numToLetter: Util.numToLetter, |
|
|
|
|
arabicToChinese: Util.arabicToChinese, |
|
|
|
|
reportId: this.$route.query.id, |
|
|
|
|
competitionId: this.$route.query.c, |
|
|
|
|
assessmentId: this.$route.query.a, |
|
|
|
|
stageId: this.$route.query.s, |
|
|
|
|
showUserInfo: +this.$route.query.u, // 是否展示学生信息 |
|
|
|
|
hasManualScoreType: +this.$route.query.m, // 是否有主观题 |
|
|
|
@ -568,6 +574,7 @@ export default { |
|
|
|
|
const res = await this.$post(this.api.getTheLabReportIdUpAndDown, { |
|
|
|
|
competitionId: this.competitionId, |
|
|
|
|
stageId: this.stageId, |
|
|
|
|
assessmentId: this.assessmentId, |
|
|
|
|
currentReportId: this.reportId |
|
|
|
|
}) |
|
|
|
|
this.showNext = !init && !isNext && res.previousReportId ? true : (init ? !!res.nextReportId : !!res.nextNextReportId) |
|
|
|
@ -577,7 +584,7 @@ export default { |
|
|
|
|
const id = res[isNext ? 'nextReportId' : 'previousReportId'] |
|
|
|
|
if (id) { |
|
|
|
|
this.reportId = id |
|
|
|
|
this.$router.push(`/theoryReview?id=${id}&u=${this.showUserInfo}&m=${this.hasManualScoreType}&c=${this.competitionId}&s=${this.stageId}&r=${this.readonly ? 1 : 0}`) |
|
|
|
|
this.$router.push(`/theoryReview?id=${id}&u=${this.showUserInfo}&m=${this.hasManualScoreType}&c=${this.competitionId}&s=${this.stageId}&a=${this.assessmentId}&r=${this.readonly ? 1 : 0}`) |
|
|
|
|
this.getData() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|