index.js 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. import ajax from './ajax'
  2. const BASE_URL = 'http://10.16.4.8'
  3. /**
  4. * 获取地区
  5. */
  6. export const findDept = (params, requestMethod) => ajax(`${BASE_URL}/chart/dept/findDept`, params, requestMethod);
  7. /**
  8. * 巡防员信息统计 ---> 老年人健康状况
  9. */
  10. export const oldPersonHealth = (params, requestMethod) => ajax(`${BASE_URL}/chart/visit/health`, params, requestMethod);
  11. /**
  12. * 巡防员信息统计 ---> 老年人精神状态
  13. */
  14. export const oldPersonMind = (params, requestMethod) => ajax(`${BASE_URL}/chart/visit/mind`, params, requestMethod);
  15. /**
  16. * 巡防员信息统计 ---> 老年人安全情况
  17. */
  18. export const oldPersonSecurity = (params, requestMethod) => ajax(`${BASE_URL}/chart/visit/security`, params, requestMethod);
  19. /**
  20. * 巡防员信息统计 ---> 老年人卫生环境
  21. */
  22. export const oldPersonHygiene = (params, requestMethod) => ajax(`${BASE_URL}/chart/visit/hygiene`, params, requestMethod);
  23. /**
  24. * 巡防员信息统计 ---> 老年人居住环境
  25. */
  26. export const oldPersonLive = (params, requestMethod) => ajax(`${BASE_URL}/chart/visit/live`, params, requestMethod);
  27. /**
  28. * 巡防员信息统计 ---> 巡访员性别分布统计
  29. */
  30. export const oldPersonSelectUserBySex = (params, requestMethod) => ajax(`${BASE_URL}/chart/user/selectUserBySex`, params, requestMethod);
  31. /**
  32. * 巡防员信息统计 ---> 巡访员认证数据统计
  33. */
  34. export const oldPersonSelectAuthAndLook = (params, requestMethod) => ajax(`${BASE_URL}/chart/user/selectAuthAndLook`, params, requestMethod);
  35. /**
  36. * 巡防员信息统计 ---> 巡访员积分排行TOP10
  37. */
  38. export const oldPersonSelectUserValue = (params, requestMethod) => ajax(`${BASE_URL}/chart/value/selectUserValue`, params, requestMethod);
  39. /**
  40. * 巡防员信息统计 ---> 巡访员职务分布统计
  41. */
  42. export const oldPersonSelectByJob = (params, requestMethod) => ajax(`${BASE_URL}/chart/user/selectByJob`, params, requestMethod);
  43. /**
  44. * 巡防员信息统计 ---> 地区总积分
  45. */
  46. export const oldPersonSelectDeptValue = (params, requestMethod) => ajax(`${BASE_URL}/chart/value/selectDeptValue`, params, requestMethod);