| | |
| | | <template slot-scope="{row}"> |
| | | <el-button size="mini" type="danger" @click="handleNullify(row)">作废</el-button> |
| | | <el-button size="mini" type="primary" @click="edit(row)">收卷</el-button> |
| | | <el-button size="mini" type="success" @click="edit(row)">加时</el-button> |
| | | <el-button size="mini" type="success" @click="handlerAddTime(row)">加时</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | components: { Pagination }, |
| | | data() { |
| | | return { |
| | | addTimeShow: false, |
| | | forceSubmitShow: false, |
| | | listLoading: true, |
| | | queryParam: { |
| | | examId: '', |
| | |
| | | id: '', |
| | | name: '', |
| | | itemOrder: '' |
| | | }, |
| | | addTimeForm: { |
| | | examId: null, |
| | | userId: null, |
| | | userName: '', |
| | | addTimeSecond: 0 |
| | | }, |
| | | forceSubmitForm: { |
| | | examId: null, |
| | | userId: null, |
| | | userName: '', |
| | | }, |
| | | visible: false, |
| | | rules: { |
| | |
| | | this.search() |
| | | }, |
| | | methods: { |
| | | // 处理加时 |
| | | // handlerAddTime(row) { |
| | | // this.addTimeShow = true |
| | | // }, |
| | | // handlerForceSubmit(row) { |
| | | // |
| | | // }, |
| | | handleNullify(row) { |
| | | let cheatObj = { examId: row.examId, cheatUser: row.userId }; |
| | | cheatApi.edit(cheatObj).then(res => { |