|
|
|
@ -1,5 +1,8 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="pd20"> |
|
|
|
|
<div class="back"> |
|
|
|
|
<i class="el-icon-back" @click="toBack"> 返回</i> |
|
|
|
|
</div> |
|
|
|
|
<el-row :gutter="20"> |
|
|
|
|
<el-col :span="24"> |
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
@ -32,7 +35,7 @@ |
|
|
|
|
</div> |
|
|
|
|
</el-card> |
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
|
<div class="flex-between mgb20"> |
|
|
|
@ -73,9 +76,6 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<!-- <el-button v-if="scope.row.status != 3" type="text" @click="entry(scope.row)" :disabled="scope.row.status != 2">进入</el-button> |
|
|
|
|
<el-button v-else type="text" @click="show(scope.row)">查看成绩</el-button> --> |
|
|
|
|
|
|
|
|
|
<el-button v-if="scope.row.status == 3 && !scope.row.reportId" type="text" disabled>未参加</el-button> |
|
|
|
|
<el-button v-if="scope.row.status != 3 && !scope.row.reportId" type="text" @click="entry(scope.row)" :disabled="scope.row.status != 2">进入</el-button> |
|
|
|
|
<el-button v-if="scope.row.status == 2 && scope.row.reportId" type="text" disabled>已提交</el-button> |
|
|
|
@ -154,6 +154,10 @@ export default { |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
//上一步 |
|
|
|
|
toBack(){ |
|
|
|
|
this.$router.go(-1) |
|
|
|
|
}, |
|
|
|
|
getData() { |
|
|
|
|
let data = { |
|
|
|
|
classId: this.form.classId, |
|
|
|
|