Administrator
2021-08-12 25a3655dd6e2f5b72390ce76d61f953c4ed46ec4
src/views/trainingRegistration/index.vue
@@ -31,6 +31,15 @@
          @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
@@ -38,7 +47,6 @@
          @click="revoke(row)"
          :size="size"
          :type="type"
          :disabled="row.cancel == 2"
          >取消报名</el-button
        >
        <el-button
@@ -61,6 +69,7 @@
  adddata,
  update,
  remove,
  cancelTrain
} from "@/api/trainingRegistration/trainingRegistration";
export default {
@@ -78,7 +87,7 @@
      option: {
        // card: true,
        tip: false,
        searchSize: "mini",
        // searchSize: "mini",
        searchMenuSpan: 6,
        height: 583,
        index: true,
@@ -202,7 +211,7 @@
        type: "warning",
      }).then(() => {
        row.cancel = 2;
        update(row).then(
        cancelTrain(row).then(
          () => {
            this.onLoad(this.page);
            this.$message({