yujialong 2 weeks ago
parent 1c0de78d1b
commit 886656945c
  1. 2
      src/api/index.js
  2. 4
      src/pages/allocationReview/list/index.vue
  3. 6
      src/pages/allocationReview/records/index.vue
  4. 2
      src/pages/expert/list/index.vue
  5. 2
      src/pages/myReview/list/index.vue
  6. 8
      src/pages/myReview/records/index.vue
  7. 15
      src/pages/myReview/theoryReview/index.vue

@ -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`,

@ -50,7 +50,7 @@
min-width="120" show-overflow-tooltip></el-table-column>
<el-table-column v-if="fromNakadai" :key="2" prop="stageName" label="阶段赛名称" align="center"
min-width="100"></el-table-column>
<el-table-column :key="3" prop="competitionContent" :label="fromNakadai ? '比赛内容' : '考核名称'" align="center"
<el-table-column :key="3" prop="competitionContent" :label="fromNakadai ? '比赛内容' : '考核内容'" align="center"
min-width="100"></el-table-column>
<el-table-column :key="5" prop="totalAnswer" label="总答卷数" align="center" width="90"></el-table-column>
<el-table-column :key="6" prop="unReviewedAnswer" label="待评答卷数" align="center" width="90"></el-table-column>
@ -63,7 +63,7 @@
<el-table-column :key="12" label="操作" align="center" width="220" fixed="right">
<template slot-scope="scope">
<template v-if="scope.row.seted">
<el-button v-auth="'分配评阅任务:评阅进度'" type="text" @click="toProgress(scope.row)">评阅进度</el-button>
<!-- <el-button v-auth="'分配评阅任务:评阅进度'" type="text" @click="toProgress(scope.row)">评阅进度</el-button> -->
<el-button v-auth="'分配评阅任务:修改评阅设置'" type="text" @click="toSetup(scope.row)">修改评阅设置</el-button>
<el-button v-auth="'分配评阅任务:任务分配'" type="text" @click="toTask(scope.row)">任务分配</el-button>
</template>

@ -206,7 +206,7 @@ export default {
keyWord: keyword || '',
}
provinceId && this.getCity()
this.$router.push(`records?competitionId=${query.competitionId}&stageId=${query.stageId}`).catch(() => { })
this.$router.push(`records?competitionId=${query.competitionId}&stageId=${query.stageId}&assessmentId=${this.assessmentId}`).catch(() => { })
}
if (fromNakadai) {
@ -287,8 +287,8 @@ export default {
//
getClassData () {
this.$post(this.api.myClass).then(res => {
this.classList = res.list
this.$post(this.api.allClassesInOurSchool).then(res => {
this.classList = res.data
}).catch(res => { })
},

@ -297,7 +297,7 @@ export default {
},
//
copy (e) {
clipboard('http://121.37.12.51/reviewCenter', e, '链接已复制!')
clipboard(`http://47.97.49.1/reviewCenter`, e, '链接已复制!')
},
// /
async queryExpert (row, isDetail) {

@ -39,7 +39,7 @@
min-width="120" show-overflow-tooltip></el-table-column>
<el-table-column v-if="fromNakadai" :key="2" prop="stageName" label="阶段赛名称" align="center"
min-width="100"></el-table-column>
<el-table-column :key="3" prop="competitionContent" :label="fromNakadai ? '比赛内容' : '考核名称'" align="center"
<el-table-column :key="3" prop="competitionContent" :label="fromNakadai ? '比赛内容' : '考核内容'" align="center"
min-width="100"></el-table-column>
<el-table-column prop="totalAnswer" label="分配答卷数" align="center" width="90"></el-table-column>
<el-table-column prop="unReviewedAnswer" label="待评答卷数" align="center" width="90"></el-table-column>

@ -179,7 +179,7 @@ export default {
keyWord: keyword || '',
}
provinceId && this.getCity()
this.$router.push(`records?competitionId=${query.competitionId}&stageId=${query.stageId}`).catch(() => { })
this.$router.push(`records?competitionId=${query.competitionId}&stageId=${query.stageId}&assessmentId=${this.assessmentId}`).catch(() => { })
}
if (fromNakadai) {
@ -277,8 +277,8 @@ export default {
//
getClassData () {
this.$post(this.api.myClass).then(res => {
this.classList = res.list
this.$post(this.api.allClassesInOurSchool).then(res => {
this.classList = res.data
}).catch(res => { })
},
@ -308,7 +308,7 @@ export default {
},
//
toReview (row, readonly = 0) {
window.open(this.$router.resolve(`/theoryReview?id=${row.reportId}&u=${+this.showUserInfo}&m=${this.setup.hasManualScoreType}&c=${this.competitionId}&s=${this.stageId}&r=${readonly ? 1 : 0}`).href)
window.open(this.$router.resolve(`/theoryReview?id=${row.reportId}&u=${+this.showUserInfo}&m=${this.setup.hasManualScoreType}&c=${this.competitionId}&a=${this.assessmentId}&s=${this.stageId}&r=${readonly ? 1 : 0}`).href)
},
}
};

@ -195,9 +195,11 @@
<h6>基本信息</h6>
<div class="lines">
<template v-if="showUserInfo">
<p>考生所在院校{{ info.realSchool }}</p>
<p>团队名称{{ info.teamName }}</p>
<!-- <p>考生班级{{ info.className }}</p> -->
<template v-if="fromNakadai">
<p>考生所在院校{{ info.realSchool }}</p>
<p>团队名称{{ info.teamName }}</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()
}
}

Loading…
Cancel
Save