From 772d8df8a3ee02a6fe2dbd6ba7216e3e3ee0ec63 Mon Sep 17 00:00:00 2001 From: qx <2540746708@qq.com> Date: 星期四, 20 六月 2024 22:18:38 +0800 Subject: [PATCH] qxtj --- src/api/system/tijian.js | 169 ++++++++++++++++++++++++++++--------------------------- 1 files changed, 86 insertions(+), 83 deletions(-) diff --git a/src/api/system/tijian.js b/src/api/system/tijian.js index cfb50a5..7dbb90c 100644 --- a/src/api/system/tijian.js +++ b/src/api/system/tijian.js @@ -1,169 +1,172 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 鏌ヨ浣撴濂楅鍒楄〃 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/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() { return request({ - url: '/hosp/project/getProParentIdDxList', - method: 'get', - }) + url: "/hosp/project/getProParentIdDxList", + method: "get", + }); } // 姣忎釜椤圭洰 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 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} - - }) + 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, + }); } -- Gitblit v1.8.0