statistics.js 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. // 获取互联网医院订单统计数据
  53. export function getHisOrderCountStats(query) {
  54. return request({
  55. url: '/company/statistics/hisOrderCountStats',
  56. method: 'get',
  57. params: query
  58. });
  59. }
  60. // 获取App商城订单统计数据
  61. export function getAppOrderCount(query) {
  62. return request({
  63. url: '/company/statistics/appOrderCountStats',
  64. method: 'get',
  65. params: query
  66. });
  67. }
  68. export function exportStoreOrder(query) {
  69. return request({
  70. url: '/company/statistics/exportStoreOrder',
  71. method: 'get',
  72. params: query
  73. })
  74. }
  75. export function exportPackageOrder(query) {
  76. return request({
  77. url: '/company/statistics/exportPackageOrder',
  78. method: 'get',
  79. params: query
  80. })
  81. }
  82. export function exportAfterSalesOrder(query) {
  83. return request({
  84. url: '/company/statistics/exportAfterSalesOrder',
  85. method: 'get',
  86. params: query
  87. })
  88. }
  89. export function exportInquiryOrder(query) {
  90. return request({
  91. url: '/company/statistics/exportInquiryOrder',
  92. method: 'get',
  93. params: query
  94. })
  95. }
  96. export function storePayment(query) {
  97. return request({
  98. url: '/company/statistics/storePayment',
  99. method: 'get',
  100. params: query
  101. })
  102. }
  103. export function exportStorePayment(query) {
  104. return request({
  105. url: '/company/statistics/exportStorePayment',
  106. method: 'get',
  107. params: query
  108. })
  109. }
  110. //crm
  111. export function customer(query) {
  112. return request({
  113. url: '/company/statistics/customer',
  114. method: 'get',
  115. params: query
  116. })
  117. }
  118. export function exportCustomer(query) {
  119. return request({
  120. url: '/company/statistics/exportCustomer',
  121. method: 'get',
  122. params: query
  123. })
  124. }
  125. export function customerVisit(query) {
  126. return request({
  127. url: '/company/statistics/customerVisit',
  128. method: 'get',
  129. params: query
  130. })
  131. }
  132. export function exportCustomerVisit(query) {
  133. return request({
  134. url: '/company/statistics/exportCustomerVisit',
  135. method: 'get',
  136. params: query
  137. })
  138. }
  139. export function ipadStaticTotal(dateTime) {
  140. return request({
  141. url: '/company/statistics/ipadStaticTotal/' + dateTime,
  142. method: 'get'
  143. })
  144. }
  145. export function exportIpadStaticByTime(dateTime) {
  146. return request({
  147. url: '/company/statistics/exportIpadStaticByTime/' + dateTime,
  148. method: 'get'
  149. })
  150. }
  151. export function tokenStaticTotal(dateTime) {
  152. return request({
  153. url: '/company/statistics/tokenStaticTotal/' + dateTime,
  154. method: 'get'
  155. })
  156. }
  157. export function exportTokenStaticByTime(dateTime) {
  158. return request({
  159. url: '/company/statistics/exportTokenStaticByTime/' + dateTime,
  160. method: 'get'
  161. })
  162. }
  163. export function tuiMoney(query) {
  164. return request({
  165. url: '/company/statistics/tuiMoney',
  166. method: 'get',
  167. params: query
  168. })
  169. }
  170. export function exportTuiMoney(query) {
  171. return request({
  172. url: '/company/statistics/exportTuiMoney',
  173. method: 'get',
  174. params: query
  175. })
  176. }