From 2ee7a81c2eb0df1fc473da6dbbaa13df662967c5 Mon Sep 17 00:00:00 2001
From: wwl <xchao828@163.com>
Date: 星期三, 02 七月 2025 15:43:59 +0800
Subject: [PATCH] 1

---
 src/api/system/tijian.js |  267 ++++++++++++++++++++++++++++++++++------------------
 1 files changed, 174 insertions(+), 93 deletions(-)

diff --git a/src/api/system/tijian.js b/src/api/system/tijian.js
index cfb50a5..0394c36 100644
--- a/src/api/system/tijian.js
+++ b/src/api/system/tijian.js
@@ -1,169 +1,250 @@
-import request from '@/utils/request'
+import request from "@/utils/request";
+// import request1 from "@/utils/request1";
 
 // 鏌ヨ浣撴濂楅鍒楄〃
 export function deptTreeSelect(cusSex) {
   return request({
-    url: '/system/package/getList' ,
-    method: 'get',
-    params:{
-      cusSex:cusSex
-    }
-  })
+    url: "/system/package/getList",
+    method: "get",
+    params: {
+      cusSex: cusSex,
+    },
+  });
+}
+// 鏌ヨ鍥綋浣撴濂楅鍒楄〃
+export function tuantiSelect(param) {
+  return request({
+    url: "/hosp/dwgrouping/huoqutuantitaocanxiangmu",
+    method: "get",
+    params: {
+      sex: param.sex,
+      dwId: param.dwId,
+    },
+  });
 }
 // 姣忎釜椤圭洰
 export function getIsRequired() {
   return request({
-    url: '/hosp/order/getIsRequired',
-    method: 'get',
-  })
+    url: "/hosp/order/getIsRequired",
+    method: "get",
+  });
 }
-
+export function gaibianzhekou(data) {
+  return request({
+    url: "/hosp/order/updateTransitionnewPrice",
+    method: "post",
+    data: data,
+  });
+}
 // 閫夋嫨浣撴椤圭洰(鎵�鏈夋湇椤圭洰)閫夊崟椤规椂璋冪敤鐨勬帴鍙�
 export function projectGetList() {
   return request({
-    url: '/hosp/project/getDxList',
-    method: 'get',
-  })
+    url: "/hosp/project/getDxList",
+    method: "get",
+  });
 }
-
 
 // 閫夋嫨浣撴椤圭洰(鏍规嵁鐖堕」id閫夋嫨瀛愰」)閫夊崟椤规椂璋冪敤鐨勬帴鍙�
 export function getProSonDxList(proId) {
   return request({
-    url: '/hosp/project/getProSonDxList',
-    method: 'get',
-    params:{
-      proId:proId
-    }
-  })
+    url: "/hosp/project/getProSonDxList",
+    method: "get",
+    params: {
+      proId: proId,
+    },
+  });
 }
 
-export function getProParentIdDxList() {
+export function getProParentIdDxList(xb) {
   return request({
-    url: '/hosp/project/getProParentIdDxList',
-    method: 'get',
-  })
+    url: "/hosp/project/getProParentIdDxList",
+    method: "get",
+    params: {
+      xb: xb,
+    },
+  });
 }
 
 // 姣忎釜椤圭洰
 export function getOrder(data) {
   return request({
-    url: '/hosp/order',
-    method: 'post',
-    data:data,
-    // responseType: 'blob',
-    // headers:{
-    //   "type": 'application/pdf'
-    // }
-  })
+    url: "/hosp/order",
+    method: "post",
+    data: data,
+  });
 }
-
+export function getOrderzhiye(data) {
+  return request({
+    url: "/hosp/order",
+    method: "post",
+    data: data,
+  });
+}
 // 鏍规嵁韬唤璇佹樉绀轰俊鎭�
 export function getCusIdcard(cusIdcard) {
   return request({
-    url: '/hosp/customer/cusIdcard',
-    method: 'post',
-    params:{
-      cusIdcard:cusIdcard
-    }
-  })
+    url: "/hosp/customer/cusIdcard",
+    method: "post",
+    params: {
+      cusIdcard: cusIdcard,
+    },
+  });
 }
 
 // 鏍规嵁鎷奸煶鐮佹垨濂楅鍚嶇О鎼滅储濂楅
 export function getPackageListName(name) {
   return request({
-    url: '/system/package/getPackageListByPyName',
-    method: 'get',
-    params:{
-      name:name
-    }
-  })
+    url: "/system/package/getPackageListByPyName",
+    method: "get",
+    params: {
+      name: name,
+    },
+  });
 }
 
 // 涓汉棰勭害鎺ュ彛
 export function getaddTj(data) {
   return request({
-    url: '/reservation/reservation/addTjReservation',
-    method: 'post',
-    data:data
-  })
+    url: "/reservation/reservation/addTjReservation",
+    method: "post",
+    data: data,
+  });
 }
-
-
+// 鏃堕棿杞�
+export function shijianzhou(data) {
+  return request({
+    url: "/hosp/order/zongjanyemianshjianzhou",
+    method: "post",
+    data: data,
+  });
+}
 // 娣诲姞杩囨浮琛ㄦ暟鎹�
 export function getaddtTransition(data) {
   return request({
-    url: '/hosp/order/addtTransition',
-    method: 'post',
-    data:data
-  })
+    url: "/hosp/order/addtTransition",
+    method: "post",
+    data: data,
+  });
 }
-
+// 娣诲姞杩囨浮琛ㄦ暟鎹�
+export function tuantiqueren(data) {
+  return request({
+    url: "/hosp/order/ttaddtTransition",
+    method: "post",
+    data: data,
+  });
+}
 // 鏌ヨ杩囨浮琛ㄦ暟鎹�
 export function getTransitionList(cusId) {
   return request({
-    url: '/hosp/order/getTransitionList',
-    method: 'get',
-    params:{
-      cusId:cusId
-    }
-  })
+    url: "/hosp/order/getTransitionList",
+    method: "get",
+    params: {
+      cusId: cusId,
+    },
+  });
 }
-
+// 鏌ヨ杩囨浮琛ㄦ暟鎹�
+export function getTransitionList1(cusId) {
+  return request({
+    url: "/hosp/order/newgetTransitionList",
+    method: "get",
+    params: {
+      cusId: cusId,
+    },
+  });
+}
 // 鐧昏鎴愬姛鍚庣敓鎴愬璇婂崟
 export function getGuide(tjNumber) {
   return request({
-    url: '/hosp/order/printGuidance/'+ tjNumber,
-    method: 'get',
-    responseType: 'blob',
-    headers:{
-      "type": 'application/pdf'
-    }
-  })
+    url: "/hosp/order/printGuidance/" + tjNumber,
+    method: "get",
+    responseType: "blob",
+    headers: {
+      type: "application/pdf",
+    },
+  });
 }
 
 // 閫氱敤鏂囦欢涓婁紶base64
 export function getLoadFile(formData) {
   return request({
-    url: '/common/upload',
-    method: 'post',
-    data:formData,
-  })
+    url: "/common/upload",
+    method: "post",
+    data: formData,
+  });
 }
 
 // 鏍规嵁鍗曚綅id鍜屽洟闃熺紪鍙疯幏鍙栭绾﹁鎯�
 export function getByTeamNo(data) {
   return request({
-    url:'/reservation/reservation/getSelectRecordByTeamNo',
-    method:'get',
-    params:data
-   
-  })
+    url: "/reservation/reservation/getSelectRecordByTeamNo",
+    method: "get",
+    params: data,
+  });
 }
 
 // 鏍规嵁韬唤璇佸彿鏌ョ湅鍘嗗彶浣撴璁板綍
 export function getHistryTjOrderByCusIdCard(cusIdCard) {
   return request({
-    url:'/hosp/order/getHistryTjOrderByCusIdCard',
-    method:'get',
-    params:{cusIdCard:cusIdCard}
-   
-  })
+    url: "/hosp/order/getHistryTjOrderByCusIdCard",
+    method: "get",
+    params: { cusIdCard: cusIdCard },
+  });
 }
 
 // 鏍规嵁韬唤璇佸彿鏌ョ湅鍘嗗彶浣撴椤圭洰璁板綍
 export function getHistryTjOrderProByCusIdCard(cusIdCard) {
   return request({
-    url:'/hosp/order/getHistryTjOrderProByCusIdCard',
-    method:'get',
-    params:{cusIdCard:cusIdCard}
-   
-  })
+    url: "/hosp/order/getHistryTjOrderProByCusIdCard",
+    method: "get",
+    params: { cusIdCard: cusIdCard },
+  });
 }
 
 export function getconfigKey(configKey) {
   return request({
-    url: '/system/config/configKey/' + configKey,
-    method: 'get'
-  })
+    url: "/system/config/configKey/" + configKey,
+    method: "get",
+  });
 }
+
+export function delTbBycusCardIdAndProId(data) {
+  return request({
+    url: "/hosp/order/delTbBycusCardIdAndProId",
+    method: "get",
+    params: data,
+  });
+}
+
+export function getZhList() {
+  return request({
+    url: "/system/zhxm/getZhList",
+    method: "get",
+  });
+}
+
+export function listByZhId(zhId) {
+  return request({
+    url: "/system/zhxm/listByZhId",
+    method: "get",
+    params:{zhId:zhId}
+  });
+}
+
+// 琛ュ綍
+export function getaddtTransition1(data) {
+  return request({
+    url: "/hosp/order/addBlTransition",
+    method: "post",
+    data: data,
+  });
+}
+
+
+// export function readCertCardInfos() {
+//   return request1({
+//     url: "/readCertCardInfos",
+//     method: "get",
+//   });
+// }
\ No newline at end of file

--
Gitblit v1.8.0