|
|
|
@ -47,7 +47,7 @@ |
|
|
|
|
<el-table-column prop="reviewStatusName" label="评阅情况" align="center" width="90"></el-table-column> |
|
|
|
|
<el-table-column label="操作" align="center" width="90" fixed="right"> |
|
|
|
|
<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> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
@ -263,7 +263,7 @@ export default { |
|
|
|
|
i: 1, |
|
|
|
|
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}`) |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|