index.ts 928 B

12345678910111213141516171819202122232425262728293031
  1. import { REQUEST_CONFIG } from '@/config';
  2. import { request, handle } from '@kasite/uni-app-base';
  3. /**
  4. * 查询患者执行计划科室列表
  5. * @param MemberId String 患者ID
  6. */
  7. export const GetPatientExecPlanDeptList = async (queryData: any) => {
  8. let resp = handle.promistHandleNew(
  9. await request.doPost(
  10. `${REQUEST_CONFIG.BASE_URL}wsgw/hcrm/GroupBusiness/GetPatientExecPlanDeptList/callApiJSON.do`,
  11. queryData
  12. )
  13. );
  14. return handle.catchPromiseNew(resp, () => resp);
  15. };
  16. /**
  17. * 查询患者组内执行计划列表
  18. * @param MemberId String 患者ID(多个id用英文,隔开)
  19. * @param DeptId String 科室ID
  20. */
  21. export const GetPatientExecPlanList = async (queryData: any) => {
  22. let resp = handle.promistHandleNew(
  23. await request.doPost(
  24. `${REQUEST_CONFIG.BASE_URL}wsgw/hcrm/GroupBusiness/GetPatientExecPlanList/callApiJSON.do`,
  25. queryData
  26. )
  27. );
  28. return handle.catchPromiseNew(resp, () => resp);
  29. };