From f052b5f35dfd8c8f63c580ada77d3bfeb1bd31c4 Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期二, 17 十二月 2024 14:04:30 +0800
Subject: [PATCH] 打印

---
 src/api/hosp/order.js |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/api/hosp/order.js b/src/api/hosp/order.js
index ee07bb3..dea2a24 100644
--- a/src/api/hosp/order.js
+++ b/src/api/hosp/order.js
@@ -118,7 +118,17 @@
     }
   })
 }
-
+// 鐢熸垚pdf
+export function getPdfpre(tjNumber,flag,sfdy) {
+  return request({
+    url: '/system/report/previewprint/'+ flag + '/'+ tjNumber + '/' + sfdy,
+    method: 'get',
+    responseType: 'blob',
+    headers:{
+      "type": 'application/pdf'
+    }
+  })
+}
 // 瀵艰瘖鍗�
 export function getTjNumber(tjNumber) {
   return request({

--
Gitblit v1.8.0