statistics.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. import request from '@/utils/request'
  2. export function voiceLogs(query) {
  3. return request({
  4. url: '/company/statistics/voiceLogs',
  5. method: 'get',
  6. params: query
  7. })
  8. }
  9. export function exportVoiceLogs(query) {
  10. return request({
  11. url: '/company/statistics/exportVoiceLogs',
  12. method: 'get',
  13. params: query
  14. })
  15. }
  16. export function smsLogs(query) {
  17. return request({
  18. url: '/company/statistics/smsLogs',
  19. method: 'get',
  20. params: query
  21. })
  22. }
  23. //store
  24. export function storeOrder(query) {
  25. return request({
  26. url: '/company/statistics/storeOrder',
  27. method: 'get',
  28. params: query
  29. })
  30. }
  31. export function packageOrder(query) {
  32. return request({
  33. url: '/company/statistics/packageOrder',
  34. method: 'get',
  35. params: query
  36. })
  37. }
  38. export function inquiryOrder(query) {
  39. return request({
  40. url: '/company/statistics/inquiryOrder',
  41. method: 'get',
  42. params: query
  43. })
  44. }
  45. export function exportStoreOrder(query) {
  46. return request({
  47. url: '/company/statistics/exportStoreOrder',
  48. method: 'get',
  49. params: query
  50. })
  51. }
  52. export function exportPackageOrder(query) {
  53. return request({
  54. url: '/company/statistics/exportPackageOrder',
  55. method: 'get',
  56. params: query
  57. })
  58. }
  59. export function exportInquiryOrder(query) {
  60. return request({
  61. url: '/company/statistics/exportInquiryOrder',
  62. method: 'get',
  63. params: query
  64. })
  65. }
  66. export function storePayment(query) {
  67. return request({
  68. url: '/company/statistics/storePayment',
  69. method: 'get',
  70. params: query
  71. })
  72. }
  73. export function exportStorePayment(query) {
  74. return request({
  75. url: '/company/statistics/exportStorePayment',
  76. method: 'get',
  77. params: query
  78. })
  79. }
  80. //crm
  81. export function customer(query) {
  82. return request({
  83. url: '/company/statistics/customer',
  84. method: 'get',
  85. params: query
  86. })
  87. }
  88. export function exportCustomer(query) {
  89. return request({
  90. url: '/company/statistics/exportCustomer',
  91. method: 'get',
  92. params: query
  93. })
  94. }
  95. export function customerVisit(query) {
  96. return request({
  97. url: '/company/statistics/customerVisit',
  98. method: 'get',
  99. params: query
  100. })
  101. }
  102. export function exportCustomerVisit(query) {
  103. return request({
  104. url: '/company/statistics/exportCustomerVisit',
  105. method: 'get',
  106. params: query
  107. })
  108. }