index.js 1.6 KB

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