yujialong 4 months ago
parent bbbfefe16c
commit 15f2ca9b49
  1. 1
      src/pages/allocationReview/list/index.vue
  2. 4
      src/pages/myReview/list/index.vue

@ -210,6 +210,7 @@ export default {
list.forEach(e => { list.forEach(e => {
e.stage = '-' e.stage = '-'
e.seted = e.evaluationId && (e.hasManualScoreType || e.allowManualGrading) // e.seted = e.evaluationId && (e.hasManualScoreType || e.allowManualGrading) //
e.isTimed = e.resultsDetails ? e.isTimed : 1
e.time = e.seted ? e.time = e.seted ?
e.isTimed ? e.isTimed ?
e.startTime + ' ~ ' + e.endTime : e.startTime + ' ~ ' + e.endTime :

@ -47,7 +47,7 @@
<el-table-column prop="reviewStatusName" label="评阅情况" align="center" width="90"></el-table-column> <el-table-column prop="reviewStatusName" label="评阅情况" align="center" width="90"></el-table-column>
<el-table-column label="操作" align="center" width="90" fixed="right"> <el-table-column label="操作" align="center" width="90" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" :disabled="scope.row.stage === '已结束'" @click="toReview(scope.row)">评阅</el-button> <el-button type="text" :disabled="scope.row.stage !== '进行中'" @click="toReview(scope.row)">评阅</el-button>
<el-button type="text" @click="toReview(scope.row, 1)">查看</el-button> <el-button type="text" @click="toReview(scope.row, 1)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -263,7 +263,7 @@ export default {
i: 1, i: 1,
url: `${this.$route.path}?${Qs.stringify(this.filter)}&month=${this.month}&page=${this.page}&pageSize=${this.pageSize}` url: `${this.$route.path}?${Qs.stringify(this.filter)}&month=${this.month}&page=${this.page}&pageSize=${this.pageSize}`
}) })
this.$router.push(`records?competitionId=${row.competitionId}&stageId=${row.stageId}&readonly=${row.stage === '已结束' && readonly ? 1 : 0}`) this.$router.push(`records?competitionId=${row.competitionId}&stageId=${row.stageId}&readonly=${row.stage !== '进行中' && readonly ? 1 : 0}`)
}, },
} }
}; };

Loading…
Cancel
Save