index.js 875 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import request from '@/utils/request'
  2. export function gettq(query) {
  3. return request({
  4. url: 'http://wthrcdn.etouch.cn/weather_mini?city=' + query,
  5. method: 'get',
  6. // params: query
  7. })
  8. }
  9. export function zhelist(query) {
  10. return request({
  11. url: '/system/reservat/statistics/people',
  12. method: 'get',
  13. params: query
  14. })
  15. }
  16. export function bingtlist(query) {
  17. return request({
  18. url: '/interview/table/stay',
  19. method: 'get',
  20. params: query
  21. })
  22. }
  23. export function renlir(query) {
  24. return request({
  25. url: '/system/reservat/statistics/realTime',
  26. method: 'get',
  27. params: query
  28. })
  29. }
  30. export function appointment(query) {
  31. return request({
  32. url: '/statistics/week/appointment',
  33. method: 'get',
  34. params: query
  35. })
  36. }
  37. export function kqdc(query) {
  38. return request({
  39. url: '/statistics/kqdc',
  40. method: 'get',
  41. params: query
  42. })
  43. }