ct
liuyg
2021-08-13 0c4f45c6e9a5494fdcfaf1ecdb32dbd1e3f1eb93
src/views/record/record.vue
@@ -456,12 +456,13 @@
    },
    rowDel(row) {
      this.$confirm("是否通过?", {
        confirmButtonText: "是",
        cancelButtonText: "否",
        confirmButtonText: "通过",
        cancelButtonText: "不通过",
        type: "warning",
      })
        .then(() => {
          row.type = "0";
          row.examinetime = this.getCurrentTime();
          return update(row);
        })
        .then(() => {
@@ -474,6 +475,12 @@
        .catch(() => {
          row.type = "1";
          return update(row);
          // update(row);
          // this.onLoad(this.page);
          // this.$message({
          //   type: "warning",
          //   message: "操作成功!",
          // });
        });
    },
    // 审批打印