| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import { request, handle } from '@kasite/uni-app-base';
- import { REQUEST_CONFIG } from '@/config';
- /**
- * 预交金模式处方列表
- */
- export const queryOrderSettlementList = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOrderSettlementList/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 订单模式合并处方列表
- */
- export const queryOrderReceiptList = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOrderReceiptList/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 订单模式单笔处方列表
- */
- export const queryOrderPrescriptionList = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOrderPrescriptionList/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 订单模式处方详情
- */
- export const queryOrderPrescriptionInfo = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOrderPrescriptionInfo/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 预交金模式处方详情
- */
- export const queryOrderSettlementInfo = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOrderSettlementInfo/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 预交金处方结算
- */
- export const settleOrderSettlement = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/SettleOrderSettlement/callApiJSON.do`, queryData));
- // Preserving original logic: return true on success
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 订单模式单笔下单
- */
- export const addOrderPrescription = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/AddOrderPrescription/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
- /**
- * 订单模式合并下单
- */
- export const mergeSettledPayReceipt = async (queryData: any) => {
- let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/MergeSettledPayReceipt/callApiJSON.do`, queryData));
- return handle.catchPromiseNew(resp, () => resp);
- };
|