index.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. require("../../../config/globalData.js");
  4. const PatientRead = async (queryData) => {
  5. let resp = common_vendor.handle.promistHandle(
  6. await common_vendor.request.doPost(
  7. `${common_vendor.BASE_URL}wsgw/hcrm/GroupBusiness/PatientRead/callApiJSON.do`,
  8. queryData
  9. )
  10. );
  11. return common_vendor.handle.catchPromise(resp, () => resp);
  12. };
  13. const GetPatientGroupPlanDetailList = async (queryData) => {
  14. let resp = common_vendor.handle.promistHandle(
  15. await common_vendor.request.doPost(
  16. `${common_vendor.BASE_URL}wsgw/hcrm/GroupBusiness/GetPatientGroupPlanDetailList/callApiJSON.do`,
  17. queryData
  18. )
  19. );
  20. return common_vendor.handle.catchPromise(resp, () => resp);
  21. };
  22. const GetPatientGroupPlanDetail = async (queryData) => {
  23. let resp = common_vendor.handle.promistHandle(
  24. await common_vendor.request.doPost(
  25. `${common_vendor.BASE_URL}wsgw/hcrm/GroupBusiness/GetPatientGroupPlanDetail/callApiJSON.do`,
  26. queryData
  27. )
  28. );
  29. return common_vendor.handle.catchPromise(resp, () => resp);
  30. };
  31. exports.GetPatientGroupPlanDetail = GetPatientGroupPlanDetail;
  32. exports.GetPatientGroupPlanDetailList = GetPatientGroupPlanDetailList;
  33. exports.PatientRead = PatientRead;
  34. //# sourceMappingURL=../../../../.sourcemap/mp-weixin/pagesCrm/service/schemeDetail/index.js.map