From d05a9f7a0a6fa372fffd32eeeebf98ac8120c0a3 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期二, 17 十二月 2024 14:44:16 +0800
Subject: [PATCH] 1111

---
 src/api/hosp/order.js |   82 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 80 insertions(+), 2 deletions(-)

diff --git a/src/api/hosp/order.js b/src/api/hosp/order.js
index d71517a..560701f 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({
@@ -198,6 +208,28 @@
     method: 'get',
     params: {
       mid
+    }
+  })
+}
+
+
+//鑾峰彇闂嵎妯℃澘淇℃伅
+export function revokeTjOrderByTjNum(tjNum) {
+  return request({
+    url: '/hosp/order/revokeTjOrderByTjNum',
+    method: 'get',
+    params: {
+      tjNum
+    }
+  })
+}
+
+export function getTjrWnJuanMoBan(tjCategory) {
+  return request({
+    url: '/hosp/surveyTemplate/getTjrWnJuanMoBan',
+    method: 'get',
+    params: {
+      tjCategory
     }
   })
 }
@@ -309,4 +341,50 @@
       method: 'post',
       data: data
     })
-  }
\ No newline at end of file
+  }
+
+  // 鎵归噺鍙戦�侀偖浠�
+export function addCustomerBlack(data) {
+  return request({
+    url: '/hosp/cusBlack/addCustomerBlack',
+    method: 'post',
+    data: data
+  })
+}
+
+export function getTransitionInfo(tjNumber) {
+  return request({
+    url: '/hosp/order/getTransitionInfo',
+    method: 'get',
+    params: {
+      tjNumber
+    }
+  })
+}
+
+export function getBlproByTjh(tjNumber) {
+  return request({
+    url: '/hosp/order/getBlproByTjh',
+    method: 'get',
+    params: {
+      tjNum:tjNumber
+    }
+  })
+}
+
+export function revokeBlProByBldhAndTjh(data) {
+  return request({
+    url: '/hosp/order/revokeBlProByBldhAndTjh',
+    method: 'post',
+    data:data
+  })
+}
+
+// 鎾ら攢鎶ュ憡
+export function getChexiao(data) {
+  return request({
+    url: '/hosp/order/heshouchexiao',
+    method: 'post',
+    data:data
+  })
+}
\ No newline at end of file

--
Gitblit v1.8.0