su
su1124
2023-09-14 4b94f114e561e0d53633259a04b3f4f71e293f1f
src/views/doctor/checkAll/index.vue
@@ -133,7 +133,6 @@
              type="text"
              size="mini"
              @click="
                dialogVisible = true;
                viewReport(scope.row);
              "
              v-if="scope.row.tjStatus == '1'"
@@ -663,10 +662,20 @@
      const flag = true;
      getPdf(tjNumber, flag).then((response) => {
        if (response.size === 0) {
          const loading = this.$loading({
          lock: true,
          text: 'Loading',
          spinner: 'el-icon-loading',
          background: 'rgba(0, 0, 0, 0.7)'
        });
        setTimeout(() => {
          loading.close();
        }, 3000);
          this.$message.error("该用户体检报告暂未完成!");
          this.dialogVisible = false;
        } else {
          this.dialogVisible = true;
          this.url = window.webkitURL.createObjectURL(response); //将后端返回的blob文件读取出url
        }
      });