home-api.js 808 B

12345678910111213141516171819202122232425
  1. (function(exports) {
  2. var homeAPI = {
  3. baseinfo: function(data) {
  4. return httpRequest.post("doctor/baseinfo", {data: data})
  5. },
  6. //获取省市区 type:省1,市2,区3
  7. getDistrict:function(data) {
  8. return httpRequest.post("common/district", {data: data})
  9. },
  10. //获取社区医院
  11. getCommunityHospital:function(data) {
  12. return httpRequest.get("statisticsExport/hospitalList", {data: data})
  13. },
  14. //获取专科医院
  15. getSpecialistHospital:function(data) {
  16. return httpRequest.get("hospitals/specialist_hospitals", {data: data})
  17. },
  18. //获取团队
  19. teamListByArea:function(data) {
  20. return httpRequest.get("statisticsExport/teamList", {data: data})
  21. },
  22. }
  23. exports.homeAPI = homeAPI;
  24. })(window)