| | |
| | | >修改 |
| | | </el-button> |
| | | <el-button type="danger" size="small" @click="deleteExam(scope.row.id)">删除</el-button> |
| | | <el-button type="success" size="small" @click="markPaper(scope.row)">阅卷</el-button> |
| | | <el-button v-if="scope.row.status === 'finished'" type="success" size="small" @click="markPaper(scope.row)">阅卷</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | status: '', |
| | | startTime: '', |
| | | endTime: '', |
| | | time: [], |
| | | time: [] |
| | | }, |
| | | examRules: { |
| | | examName: [ |
| | |
| | | ], |
| | | time: [ |
| | | { required: true, message: '请选择考试时间', trigger: 'change' } |
| | | ], |
| | | ] |
| | | }, |
| | | total: 0, |
| | | title: '安排考试', |
| | |
| | | pageIndex: 1, |
| | | pageSize: 10 |
| | | }, |
| | | tableData: [], |
| | | tableData: [] |
| | | } |
| | | }, |
| | | mounted () { |
| | |
| | | }, |
| | | routerTo (url) { |
| | | this.$router.push(url) |
| | | }, |
| | | } |
| | | }, |
| | | } |
| | | </script> |