eight
2024-08-28 2bc74ebfec4a30beddc66fd55be4947e5f7cf498
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import request from '@/config/axios'
 
export interface StatisticsRankRespVO {
  count: number
  nickname: string
  deptName: string
}
 
// 排行 API
export const StatisticsRankApi = {
  // 获得合同排行榜
  getContractPriceRank: (params: any) => {
    return request.get({
      url: '/crm/statistics-rank/get-contract-price-rank',
      params
    })
  },
  // 获得回款排行榜
  getReceivablePriceRank: (params: any) => {
    return request.get({
      url: '/crm/statistics-rank/get-receivable-price-rank',
      params
    })
  },
  // 签约合同排行
  getContractCountRank: (params: any) => {
    return request.get({
      url: '/crm/statistics-rank/get-contract-count-rank',
      params
    })
  },
  // 产品销量排行
  getProductSalesRank: (params: any) => {
    return request.get({
      url: '/crm/statistics-rank/get-product-sales-rank',
      params
    })
  },
  // 新增客户数排行
  getCustomerCountRank: (params: any) => {
    return request.get({
      url: '/crm/statistics-rank/get-customer-count-rank',
      params
    })
  },
  // 新增联系人数排行
  getContactsCountRank: (params: any) => {
    return request.get({
      url: '/crm/statistics-rank/get-contacts-count-rank',
      params
    })
  },
  // 跟进次数排行
  getFollowCountRank: (params: any) => {
    return request.get({
      url: '/crm/statistics-rank/get-follow-count-rank',
      params
    })
  },
  // 跟进客户数排行
  getFollowCustomerCountRank: (params: any) => {
    return request.get({
      url: '/crm/statistics-rank/get-follow-customer-count-rank',
      params
    })
  }
}