index.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import { REQUEST_CONFIG } from '@/config';
  2. import { request, handle } from '@kasite/uni-app-base';
  3. /**
  4. * 获取患者ID 通过加密串
  5. * @param EncryptData String 加密串
  6. */
  7. export const GetMemberIdByEncryptData = async (queryData: any) => {
  8. let resp = handle.promistHandleNew(
  9. await request.doPost(
  10. `${REQUEST_CONFIG.BASE_URL}wsgw/crm/diyBusiness/GetMemberIdByEncryptData/callApiJSON.do`,
  11. queryData
  12. )
  13. );
  14. return handle.catchPromiseNew(resp, () => resp);
  15. };
  16. /**
  17. * 查询患者执行计划科室列表
  18. * @param MemberId String 患者ID
  19. */
  20. export const GetPatientExecPlanDeptList = async (queryData: any) => {
  21. let resp = handle.promistHandle(
  22. await request.doPost(
  23. `${REQUEST_CONFIG.BASE_URL}wsgw/hcrm/GroupBusiness/GetPatientExecPlanDeptList/callApiJSON.do`,
  24. queryData
  25. )
  26. );
  27. return handle.catchPromise(resp, () => resp);
  28. };
  29. /**
  30. * 查询患者组内执行计划列表
  31. * @param MemberId String 患者ID(多个id用英文,隔开)
  32. * @param DeptId String 科室ID
  33. */
  34. export const GetPatientExecPlanList = async (queryData: any) => {
  35. let resp = handle.promistHandle(
  36. await request.doPost(
  37. `${REQUEST_CONFIG.BASE_URL}wsgw/hcrm/GroupBusiness/GetPatientExecPlanList/callApiJSON.do`,
  38. queryData
  39. )
  40. );
  41. return handle.catchPromise(resp, () => resp);
  42. };