index.ts 796 B

123456789101112131415161718192021222324
  1. import { request, handle } from '@kasite/uni-app-base';
  2. import { REQUEST_CONFIG } from '@/config';
  3. /**
  4. * 获取取药凭证
  5. */
  6. export const queryDrugQueueList = async (queryData: any) => {
  7. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/net/QueueWs/QueryDrugQueueList/callApiJSON.do`, queryData));
  8. return handle.catchPromiseNew(resp, () => resp);
  9. };
  10. /**
  11. * 出院带药-详情
  12. */
  13. export const queryInpatientDocAdviceList = async (queryData: any) => {
  14. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/member/memberApi/QueryInpatientDocAdviceList/callApiJSON.do`, queryData));
  15. return handle.catchPromiseNew(resp, () => resp);
  16. };
  17. export default {
  18. queryDrugQueueList,
  19. queryInpatientDocAdviceList,
  20. };