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