ct
liuyg
2021-08-13 0c4f45c6e9a5494fdcfaf1ecdb32dbd1e3f1eb93
ct
2 files modified
14 ■■■■ changed files
src/views/permit/permit.vue 3 ●●●● patch | view | raw | blame | history
src/views/record/record.vue 11 ●●●● patch | view | raw | blame | history
src/views/permit/permit.vue
@@ -47,7 +47,6 @@
            :size="size"
            :type="type"
            @click.stop="rowDel(row)"
            v-if="row.type == '2'"
            >许可审批
          </el-button>
          <el-button
@@ -482,7 +481,7 @@
      );
    },
    rowDel(row) {
      this.$confirm("确定对选择的许可进行审批?", {
      this.$confirm("是否通过?", {
        confirmButtonText: "通过",
        cancelButtonText: "不通过",
        type: "warning",
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: "操作成功!",
          // });
        });
    },
    // 审批打印