qx
qx
2025-02-08 b7e9807061998a4b250ceaca7e6320e89cc6767f
src/views/reservation/groupcheck/index.vue
@@ -661,6 +661,7 @@
  methods: {
    handleQuery() {
      this.loading = true;
      this.selectList = [];
      getCusTomterListByCompId(this.objs).then((res) => {
        this.userList = res.data;
        this.loading = false;
@@ -773,21 +774,22 @@
      addPlOrderAndDetail(data).then((res) => {
        this.open2 = false;
        this.$modal.msgSuccess("签到成功");
        let base64 = res.file;
        this.base64ToBlob({
          b64data: base64,
          contentType: "application/pdf",
        }).then((res) => {
          this.dialogVisible = true;
          // 转后后的blob对象
          console.log("blob", res.preview);
         try {
          this.url =res.preview;
         } catch (error) {
          this.url = window.webkitURL.createObjectURL(res.preview);
         }
                });
        if (res.file) {
          let base64 = res.file;
          this.base64ToBlob({
            b64data: base64,
            contentType: "application/pdf",
          }).then((res) => {
            this.dialogVisible = true;
            // 转后后的blob对象
            console.log("blob", res.preview);
            try {
              this.url = res.preview;
            } catch (error) {
              this.url = window.webkitURL.createObjectURL(res.preview);
            }
          });
        }
        this.handleQuery();
        this.selectList = [];
      });