qx
qx
2025-02-11 38ce42758958f28d25aaa0daf05e6c9b71261ef6
src/views/reservation/reservations/index.vue
@@ -1856,7 +1856,7 @@
import { addComp,
  addPlOrderAndDetail } from "@/api/system/comp";
import Big from "big.js";
import { Loading } from 'element-ui';
import {
  listReservation,
  gettjCancel,
@@ -2688,11 +2688,14 @@
      // this.selectList.forEach((item) => {
      //   cusIds.push(item.idCard);
      // });
      let loadingInstance1 = Loading.service({ fullscreen: true,text:"签到中" });
      let data = {
        cusIds: this.cusIds,
        tjCategory: this.forms.tjCategory,
      };
      this.open2 = false;
      addPlOrderAndDetail(data).then((res) => {
        if(res.code == 200){
        this.open2 = false;
        this.$modal.msgSuccess("签到成功");
        if (res.file) {
@@ -2711,6 +2714,9 @@
          });
        }else{
          let _this = this;
          this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
            loadingInstance1.close();
});
        var websocket = null;
        var url = _this.valueUrls;
        if ("WebSocket" in window) {
@@ -2765,6 +2771,12 @@
    
          this.getList()
        }
        }else{
          this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
            loadingInstance1.close();
});
        }
      });
    },