index.ts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import { request, handle } from '@kasite/uni-app-base';
  2. import { REQUEST_CONFIG } from '@/config';
  3. /**
  4. * 门诊清单列表
  5. */
  6. export const queryOutpatientCostList = async (queryData: any) => {
  7. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOutpatientCostList/callApiJSON.do`, queryData));
  8. return handle.catchPromiseNew(resp, () => resp);
  9. };
  10. /**
  11. * 门诊费用分类
  12. */
  13. export const queryOutpatientCostType = async (queryData: any) => {
  14. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOutpatientCostType/callApiJSON.do`, queryData));
  15. return handle.catchPromiseNew(resp, () => resp);
  16. };
  17. /**
  18. * 门诊费用明细
  19. */
  20. export const queryOutpatientCostTypeItem = async (queryData: any) => {
  21. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryOutpatientCostTypeItem/callApiJSON.do`, queryData));
  22. return handle.catchPromiseNew(resp, () => resp);
  23. };
  24. /**
  25. * 住院清单列表
  26. */
  27. export const queryInHospitalCostList = async (queryData: any) => {
  28. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryInHospitalCostList/callApiJSON.do`, queryData));
  29. return handle.catchPromiseNew(resp, () => resp);
  30. };
  31. /**
  32. * 住院清单列表
  33. */
  34. export const queryInHospitalCostType = async (queryData: any) => {
  35. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryInHospitalCostType/callApiJSON.do`, queryData));
  36. return handle.catchPromiseNew(resp, () => resp);
  37. };
  38. /**
  39. * 住院费用每日清单详情
  40. */
  41. export const queryInHospitalCostTypeItem = async (queryData: any) => {
  42. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/QueryInHospitalCostTypeItem/callApiJSON.do`, queryData));
  43. return handle.catchPromiseNew(resp, () => resp);
  44. };