performance.ts 867 B

123456789101112131415161718192021222324252627282930313233
  1. import request from '@/config/axios'
  2. export interface StatisticsPerformanceRespVO {
  3. time: string
  4. currentMonthCount: number
  5. lastMonthCount: number
  6. lastYearCount: number
  7. }
  8. // 排行 API
  9. export const StatisticsPerformanceApi = {
  10. // 员工获得合同金额统计
  11. getContractPricePerformance: (params: any) => {
  12. return request.get({
  13. url: '/crm/statistics-performance/get-contract-price-performance',
  14. params
  15. })
  16. },
  17. // 员工获得回款统计
  18. getReceivablePricePerformance: (params: any) => {
  19. return request.get({
  20. url: '/crm/statistics-performance/get-receivable-price-performance',
  21. params
  22. })
  23. },
  24. //员工获得签约合同数量统计
  25. getContractCountPerformance: (params: any) => {
  26. return request.get({
  27. url: '/crm/statistics-performance/get-contract-count-performance',
  28. params
  29. })
  30. }
  31. }