From 886656945c74962d689d2f06bc2f4dcaf179fe7c Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Thu, 14 Nov 2024 14:13:37 +0800
Subject: [PATCH] fix
---
src/api/index.js | 2 +-
src/pages/allocationReview/list/index.vue | 4 ++--
src/pages/allocationReview/records/index.vue | 6 +++---
src/pages/expert/list/index.vue | 2 +-
src/pages/myReview/list/index.vue | 2 +-
src/pages/myReview/records/index.vue | 8 ++++----
src/pages/myReview/theoryReview/index.vue | 15 +++++++++++----
7 files changed, 23 insertions(+), 16 deletions(-)
diff --git a/src/api/index.js b/src/api/index.js
index 0e3ed0a..72f2258 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -31,7 +31,7 @@ export default {
occupationlabStaff: `/occupationlab/occupationlab/staff/staffList`,
querySchoolByReadAndAppraise: `/nakadai/nakadai/school/querySchoolByReadAndAppraise`,
querySchool: `/nakadai/nakadai/school/querySchool`,
- myClass: `/occupationlab/occupationlab/achievement/myClass`,
+ allClassesInOurSchool: `/occupationlab/occupationlab/achievement/allClassesInOurSchool`,
getDetailedExamScores: `/exam/exam/paper/getDetailedExamScores`,
reviewSettingsList: `/competition/competition/readAndAppraise/reviewSettingsList`,
diff --git a/src/pages/allocationReview/list/index.vue b/src/pages/allocationReview/list/index.vue
index 4a2e2ee..1d106fb 100644
--- a/src/pages/allocationReview/list/index.vue
+++ b/src/pages/allocationReview/list/index.vue
@@ -50,7 +50,7 @@
min-width="120" show-overflow-tooltip>
考生所在院校:{{ info.realSchool }}
-团队名称:{{ info.teamName }}
- + +考生所在院校:{{ info.realSchool }}
+团队名称:{{ info.teamName }}
+ +考生班级:{{ info.className }}
考生姓名:{{ info.userName }}
考生学号:{{ info.workNumber }}
@@ -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() } }