qinxianzhangyao
2024-05-28 a5f1b080956017388e5d87e7d9d1cbb5632b6cd2
src/views/system/biol/index.vue
@@ -41,6 +41,9 @@
      <el-col :span="1.5">
        <el-button type="primary" size="mini" :disabled="multiple" @click="jiankangReport">健康检查表打印</el-button>
      </el-col>
      <!-- <el-col :span="1.5">
        <el-button type="primary" size="mini" :disabled="multiple" @click="jiankangReport">批量体检报告导出</el-button>
      </el-col> -->
      <el-col :span="1.5">
        <el-button type="primary" size="mini" :disabled="single" @click="baogaoyulan">报告预览</el-button>
      </el-col>
@@ -566,6 +569,7 @@
                type: "warning",
              });
            } else {
              console.log(response)
              this.dialogVisible = true;
              this.url = window.webkitURL.createObjectURL(response); //将后端返回的blob文件读取出url
@@ -623,6 +627,7 @@
          } else {
            this.dialogVisible = true;
            this.url = window.webkitURL.createObjectURL(response); //将后端返回的blob文件读取出url
            console.log(this.url)
            this.DataList1.forEach((item) => {
              if (item.tjNumber === this.tjNumber) {
                this.userId = item.tjCustomerName;
@@ -685,6 +690,7 @@
                const newBlob = [];
                newBlob.push(response);
                const blob = new Blob(newBlob, { type: "application/pdf" });
                var date = new Date().getTime();
                var ifr = document.createElement("iframe");
                ifr.style.frameborder = "no";
@@ -765,6 +771,9 @@
      if (this.createTimeList) {
        this.queryParams.djbeginTime = this.createTimeList[0];
        this.queryParams.djendTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.djbeginTime = null;
        this.queryParams.djendTime =null;
      }
      this.loading = true;
@@ -811,7 +820,6 @@
    },
    // 表单重置
    reset() {
      this.form = {
        orderId: null,
        tjType: null,