|
|
|
@ -29,7 +29,8 @@ |
|
|
|
|
<el-button type="text" @click="toArch(scope.row, scope.$index)">成绩统计</el-button> |
|
|
|
|
<!-- <el-button @click="toArch(scope.row, scope.$index)">编辑试卷</el-button> --> |
|
|
|
|
<template v-if="scope.row.method === 1"> |
|
|
|
|
<el-button type="text" @click="showReview(scope.row, '/myReview/records')">我的评阅任务</el-button> |
|
|
|
|
<el-button v-if="scope.row.showMyReviewTask" type="text" |
|
|
|
|
@click="showReview(scope.row, '/myReview/records')">我的评阅任务</el-button> |
|
|
|
|
<el-button v-auth="'/review:分配评阅任务'" type="text" |
|
|
|
|
@click="showReview(scope.row, '/allocationReview/records')">分配评阅任务</el-button> |
|
|
|
|
</template> |
|
|
|
@ -122,7 +123,7 @@ export default { |
|
|
|
|
this.$store.commit('setInnerReferrer', this.$route.fullPath) |
|
|
|
|
const cur = this.form.competitionStage[i] |
|
|
|
|
const showFile = !!(cur.method === 2 && cur.competitionStageContentSetting && cur.competitionStageContentSetting.whetherToUploadFiles) |
|
|
|
|
this.$router.push(`/${cur.method === 2 ? 'otherArchList' : 'matchArchList'}?id=${this.id}&stageId=${row.stageId}&method=${row.method}&competitionType=${row.competitionType}&showFile=${showFile}`) |
|
|
|
|
this.$router.push(`/${cur.method === 2 ? 'otherArchList' : 'matchArchList'}?id=${this.id}&stageId=${row.stageId}&method=${row.method}&competitionType=${row.competitionType}&showFile=${showFile}&showMyReviewTask=${row.showMyReviewTask}`) |
|
|
|
|
}, |
|
|
|
|
// 我的评阅任务 |
|
|
|
|
showReview (row, path) { |
|
|
|
|