statistics.js 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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 afterSalesOrder(query) {
  39. return request({
  40. url: '/company/statistics/afterSalesOrder',
  41. method: 'get',
  42. params: query
  43. })
  44. }
  45. export function inquiryOrder(query) {
  46. return request({
  47. url: '/company/statistics/inquiryOrder',
  48. method: 'get',
  49. params: query
  50. })
  51. }
  52. export function exportStoreOrder(query) {
  53. return request({
  54. url: '/company/statistics/exportStoreOrder',
  55. method: 'get',
  56. params: query
  57. })
  58. }
  59. export function exportPackageOrder(query) {
  60. return request({
  61. url: '/company/statistics/exportPackageOrder',
  62. method: 'get',
  63. params: query
  64. })
  65. }
  66. export function exportAfterSalesOrder(query) {
  67. return request({
  68. url: '/company/statistics/exportAfterSalesOrder',
  69. method: 'get',
  70. params: query
  71. })
  72. }
  73. export function exportInquiryOrder(query) {
  74. return request({
  75. url: '/company/statistics/exportInquiryOrder',
  76. method: 'get',
  77. params: query
  78. })
  79. }
  80. export function storePayment(query) {
  81. return request({
  82. url: '/company/statistics/storePayment',
  83. method: 'get',
  84. params: query
  85. })
  86. }
  87. export function exportStorePayment(query) {
  88. return request({
  89. url: '/company/statistics/exportStorePayment',
  90. method: 'get',
  91. params: query
  92. })
  93. }
  94. //crm
  95. export function customer(query) {
  96. return request({
  97. url: '/company/statistics/customer',
  98. method: 'get',
  99. params: query
  100. })
  101. }
  102. export function exportCustomer(query) {
  103. return request({
  104. url: '/company/statistics/exportCustomer',
  105. method: 'get',
  106. params: query
  107. })
  108. }
  109. export function customerVisit(query) {
  110. return request({
  111. url: '/company/statistics/customerVisit',
  112. method: 'get',
  113. params: query
  114. })
  115. }
  116. export function exportCustomerVisit(query) {
  117. return request({
  118. url: '/company/statistics/exportCustomerVisit',
  119. method: 'get',
  120. params: query
  121. })
  122. }
  123. export function ipadStaticTotal(dateTime) {
  124. return request({
  125. url: '/company/statistics/ipadStaticTotal/' + dateTime,
  126. method: 'get'
  127. })
  128. }
  129. export function exportIpadStaticByTime(dateTime) {
  130. return request({
  131. url: '/company/statistics/exportIpadStaticByTime/' + dateTime,
  132. method: 'get'
  133. })
  134. }
  135. export function tokenStaticTotal(dateTime) {
  136. return request({
  137. url: '/company/statistics/tokenStaticTotal/' + dateTime,
  138. method: 'get'
  139. })
  140. }
  141. export function exportTokenStaticByTime(dateTime) {
  142. return request({
  143. url: '/company/statistics/exportTokenStaticByTime/' + dateTime,
  144. method: 'get'
  145. })
  146. }
  147. export function tuiMoney(query) {
  148. return request({
  149. url: '/company/statistics/tuiMoney',
  150. method: 'get',
  151. params: query
  152. })
  153. }
  154. export function exportTuiMoney(query) {
  155. return request({
  156. url: '/company/statistics/exportTuiMoney',
  157. method: 'get',
  158. params: query
  159. })
  160. }