| | |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | export const vipSignBatch = (row) => { |
| | | return request({ |
| | | url: '/api/trainingRegistration/vipSignBatch', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | |
| | | @click="handleApplyInfoExport" |
| | | >报名信息导出 |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | size="small" |
| | | plain |
| | | icon="el-icon-checked" |
| | | @click="usesVipConfirmBatch" |
| | | >批量缴费 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{ type, size, row }" slot="menu"> |
| | | <el-button |
| | |
| | | remove, |
| | | cancelTrain, |
| | | addExam, |
| | | vipSign |
| | | vipSign, |
| | | vipSignBatch |
| | | } from "@/api/trainingRegistration/trainingRegistration"; |
| | | import { mapGetters } from "vuex"; |
| | | import { getRoleDetail } from "@/api/system/role"; |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | usesVipConfirmBatch(){ |
| | | this.$confirm("确定已缴费?", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | var data = { |
| | | cancel : 1, |
| | | isExam: 1, |
| | | vipStatus :2 |
| | | } |
| | | return vipSignBatch(data); |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "操作成功!" |
| | | }); |
| | | }); |
| | | }, |
| | | selectionChange(list) { |
| | | // this.selectionList = list; |
| | | this.choiceName = []; |