From c7b33db117fd2893d7d1c93bf5d46e87d33e44d0 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期一, 16 十二月 2024 16:08:51 +0800 Subject: [PATCH] 初审结果查询 --- src/api/system/tijian.js | 207 ++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 145 insertions(+), 62 deletions(-) diff --git a/src/api/system/tijian.js b/src/api/system/tijian.js index 6b12020..5a4e469 100644 --- a/src/api/system/tijian.js +++ b/src/api/system/tijian.js @@ -1,123 +1,206 @@ -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 getIsRequired() { return request({ - url: '/hosp/order/getIsRequired', - method: 'get', - }) + url: "/hosp/order/getIsRequired", + method: "get", + }); } -// 姣忎釜椤圭洰 +// 閫夋嫨浣撴椤圭洰(鎵�鏈夋湇椤圭洰)閫夊崟椤规椂璋冪敤鐨勬帴鍙� export function projectGetList() { return request({ - url: '/hosp/project/getlist', - method: 'get', - }) + url: "/hosp/project/getDxList", + method: "get", + }); +} + +// 閫夋嫨浣撴椤圭洰(鏍规嵁鐖堕」id閫夋嫨瀛愰」)閫夊崟椤规椂璋冪敤鐨勬帴鍙� +export function getProSonDxList(proId) { + return request({ + url: "/hosp/project/getProSonDxList", + method: "get", + params: { + proId: proId, + }, + }); +} + +export function getProParentIdDxList() { + return request({ + url: "/hosp/project/getProParentIdDxList", + method: "get", + // params: { + // pname: pname, + // }, + }); } // 姣忎釜椤圭洰 export function getOrder(data) { return request({ - url: '/hosp/order', - method: 'post', - data:data, + url: "/hosp/order", + method: "post", + data: data, // responseType: 'blob', // headers:{ // "type": 'application/pdf' // } - }) + }); } // 鏍规嵁韬唤璇佹樉绀轰俊鎭� 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: "get", + 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 getTransitionList(cusId) { return request({ - url: '/hosp/order/getTransitionList', - method: 'get', - params:{ - cusId:cusId - } - }) + url: "/hosp/order/getTransitionList", + 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 }, + }); +} + +// 鏍规嵁韬唤璇佸彿鏌ョ湅鍘嗗彶浣撴椤圭洰璁板綍 +export function getHistryTjOrderProByCusIdCard(cusIdCard) { + return request({ + url: "/hosp/order/getHistryTjOrderProByCusIdCard", + method: "get", + params: { cusIdCard: cusIdCard }, + }); +} + +export function getconfigKey(configKey) { + return request({ + 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 readCertCardInfos() { +// return request1({ +// url: "/readCertCardInfos", +// method: "get", +// }); +// } \ No newline at end of file -- Gitblit v1.8.0