| | |
| | | @click="handleDelete" |
| | | >删 除 |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | size="small" |
| | | plain |
| | | icon="el-icon-folder-checked" |
| | | @click="handleBatchExam" |
| | | |
| | | >考试申请 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{ type, size, row }" slot="menu"> |
| | | <el-button |
| | |
| | | @click="revoke(row)" |
| | | :size="size" |
| | | :type="type" |
| | | :disabled="row.cancel == 2" |
| | | >取消报名</el-button |
| | | > |
| | | <el-button |
| | |
| | | adddata, |
| | | update, |
| | | remove, |
| | | cancelTrain |
| | | } from "@/api/trainingRegistration/trainingRegistration"; |
| | | |
| | | export default { |
| | |
| | | option: { |
| | | // card: true, |
| | | tip: false, |
| | | searchSize: "mini", |
| | | // searchSize: "mini", |
| | | searchMenuSpan: 6, |
| | | height: 583, |
| | | index: true, |
| | |
| | | type: "warning", |
| | | }).then(() => { |
| | | row.cancel = 2; |
| | | update(row).then( |
| | | cancelTrain(row).then( |
| | | () => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |