index.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import { REQUEST_CONFIG } from '@/config';
  2. import { request, handle } from '@kasite/uni-app-base';
  3. /**
  4. * 患者已读
  5. * @param {String} Id
  6. */
  7. export const PatientRead = async (queryData: any) => {
  8. let resp = handle.promistHandleNew(
  9. await request.doPost(
  10. `${REQUEST_CONFIG.BASE_URL}wsgw/hcrm/GroupBusiness/PatientRead/callApiJSON.do`,
  11. queryData
  12. )
  13. );
  14. return handle.catchPromiseNew(resp, () => resp);
  15. };
  16. /**
  17. * 查询患者组内执行计划详情列表
  18. * @param PlanUuid String 计划Id
  19. * @param TempType Number 模板类型:1-服务告知,2-出院注意事项,3-复诊计划,4-宣教计划
  20. */
  21. export const GetPatientGroupPlanDetailList = async (queryData: any) => {
  22. let resp = handle.promistHandleNew(
  23. await request.doPost(
  24. `${REQUEST_CONFIG.BASE_URL}wsgw/hcrm/GroupBusiness/GetPatientGroupPlanDetailList/callApiJSON.do`,
  25. queryData
  26. )
  27. );
  28. return handle.catchPromiseNew(resp, () => resp);
  29. };
  30. /**
  31. * 查询患者执行计划详情
  32. * @param Id String 执行计划id
  33. */
  34. export const GetPatientGroupPlanDetail = async (queryData: any) => {
  35. let resp = handle.promistHandleNew(
  36. await request.doPost(
  37. `${REQUEST_CONFIG.BASE_URL}wsgw/hcrm/GroupBusiness/GetPatientGroupPlanDetail/callApiJSON.do`,
  38. queryData
  39. )
  40. );
  41. return handle.catchPromiseNew(resp, () => resp);
  42. };