index.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. export const getStatWorkCatItem = data => {
  3. return https.get('/stat-work-cat-item/item-list', data)
  4. }
  5. export const getStatWorkCat = data => {
  6. return https.get('/stat-work-cat/profile', data)
  7. }
  8. //数据统计
  9. export const getStatList = data => {
  10. return https.get('/stat/list', data)
  11. }
  12. // 经营概况
  13. export const getMainProfile = data => {
  14. return https.get('/main/profile', data)
  15. }
  16. //员工业绩
  17. export const getStatYj = data => {
  18. return https.get('/stat-yj/list', data)
  19. }
  20. //业绩
  21. export const getStatProfit = data => {
  22. return https.get('/stat/profit', data)
  23. }
  24. //花材排行
  25. export const getStatItemProfit = data => {
  26. return https.get('/stat-item/profile', data)
  27. }
  28. //收入统计
  29. export const getStatKdProfile = data => {
  30. return https.get('/stat-kd/profile', data)
  31. }
  32. //客户下单排行
  33. export const getStatKhCgProfile = data => {
  34. return https.get('/stat-kh-cg/profile', data)
  35. }
  36. //客户下单排行
  37. export const getStatCgGhsProfile = data => {
  38. return https.get('/stat-cg-ghs/profile', data)
  39. }
  40. export const getStatBookProfit = data => {
  41. return https.get('/stat-book/profile', data)
  42. }