123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- import request from '@/utils/request'
- const url = '/yiZhuLuRu'
- // 下面是 api 请求
- export function getMyPatient() {
- return request({
- url: url + '/getMyPatient',
- method: 'get',
- })
- }
- export function getOrderNo() {
- return request({
- url: url + '/getOrderNo',
- method: 'get',
- })
- }
- export function enterOrders(data) {
- return request({
- url: url + '/enterOrders',
- method: 'post',
- data
- })
- }
- export function insertTemplateOrder(data) {
- return request({
- url: url + '/insertTemplateOrder',
- method: 'post',
- data
- })
- }
- export function stopOrder(data) {
- return request({
- url: url + '/stopOrder',
- method: 'post',
- data
- })
- }
- export function toDeleteAnOrder(orderNo) {
- return request({
- url: url + '/toDeleteAnOrder',
- method: 'get',
- params: {orderNo}
- })
- }
- export function deleteMultipleOrders(data) {
- return request({
- url: url + '/deleteMultipleOrders',
- method: 'post',
- data
- })
- }
- export function voidOrders(orderNo, reasonForCancellation) {
- return request({
- url: url + '/voidOrders',
- method: 'get',
- params: {orderNo, reasonForCancellation}
- })
- }
- export function confirmOrders(data) {
- return request({
- url: url + '/confirmOrders',
- method: 'post',
- data
- })
- }
- export function getParentOrders(patNo, times) {
- return request({
- url: url + '/getParentOrders',
- method: 'get',
- params: {patNo, times},
- })
- }
- export function huoQuHuanZheXinXi(inpatientNo) {
- return request({
- url: url + '/huoQuHuanZheXinXi',
- method: 'get',
- params: {inpatientNo},
- })
- }
- export function huoQuYiZhuShuJu(data) {
- return request({
- url: url + '/huoQuYiZhuShuJu',
- method: 'post',
- data,
- })
- }
- export function huoQuXiangMu(code, groupNo) {
- return request({
- url: url + '/huoQuXiangMu',
- method: 'get',
- params: {code, groupNo},
- })
- }
- export function huoQuFeiYongXinXi(queryCode) {
- return request({
- url: url + '/huoQuFeiYongXinXi',
- method: 'get',
- params: {queryCode},
- })
- }
- export function getFrequency() {
- return request({
- url: url + '/getFrequency',
- method: 'get',
- })
- }
- export function getSupplyType() {
- return request({
- url: url + '/getSupplyType',
- method: 'get',
- })
- }
- export function huoQuZhuYuanPinLv(code) {
- return request({
- url: url + '/huoQuZhuYuanPinLv',
- method: 'get',
- params: {code},
- })
- }
- export function huoQuZhiXinKeShi(code) {
- return request({
- url: url + '/huoQuZhiXinKeShi',
- method: 'get',
- params: {code},
- })
- }
- export function huoQuYiZhuMuBan(code, deptCode, muBanLeiXing, currentPage, total) {
- return request({
- url: url + '/huoQuYiZhuMuBan',
- method: 'get',
- params: {code, deptCode, muBanLeiXing, currentPage, total},
- })
- }
- export function getDoctorSOrderTemplateMaxSortNo() {
- return request({
- url: url + '/getDoctorSOrderTemplateMaxSortNo',
- method: 'get',
- })
- }
- export function huoQuMuBanShuJu(code) {
- return request({
- url: url + '/huoQuMuBanShuJu',
- method: 'get',
- params: {code},
- })
- }
- export function deleteADoctorSOrderTemplate(patternCode) {
- return request({
- url: url + '/deleteADoctorSOrderTemplate',
- method: 'delete',
- params: {patternCode}
- })
- }
- export function collectDoctorSOrderTemplate(patternCode) {
- return request({
- url: url + '/collectDoctorSOrderTemplate',
- method: 'get',
- params: {patternCode}
- })
- }
- export function muBanCaoZuo(patternCode, patternName, deptCode, sortNo, flag) {
- return request({
- url: url + '/muBanCaoZuo',
- method: 'get',
- params: {patternCode, patternName, deptCode, sortNo, flag},
- })
- }
- export function singleDataCheck(data) {
- return request({
- url: url + '/singleDataCheck',
- method: 'post',
- data: data
- })
- }
- export function saveTemplate(data) {
- return request({
- url: url + '/saveTemplate',
- method: 'post',
- data: data
- })
- }
- export function doesTheTemplateExist(name) {
- return request({
- url: url + '/doesTheTemplateExist',
- method: 'get',
- params: {name}
- })
- }
- export function saveTheThirdLevelDoctor(data) {
- return request({
- url: url + '/saveTheThirdLevelDoctor',
- method: 'post',
- data: data
- })
- }
- export function associateOrdersApi(data) {
- return request({
- url: url + '/associateOrders',
- method: 'post',
- data: data
- })
- }
- export function confirmTheDoctorSOrderWithMedicine(patNo, times) {
- return request({
- url: url + '/confirmTheDoctorSOrderWithMedicine',
- method: 'get',
- params: {patNo, times}
- })
- }
- export function copyOrder(data) {
- return request({
- url: url + '/copyOrder',
- method: 'post',
- data
- })
- }
- export function queryFeeByOrderNoApi(actOrderNo) {
- return request({
- url: url + '/queryFeeByOrderNo',
- method: 'get',
- params: {actOrderNo}
- })
- }
- export function oneClickStopOrder(data) {
- return request({
- url: url + '/oneClickStopOrder',
- method: 'post',
- data
- })
- }
|