Skip to content

Commit 87d1047

Browse files
committed
CRM:code review【客户画像】的实现
1 parent 34b788c commit 87d1047

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/api/crm/statistics/customer.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,31 +143,32 @@ export const StatisticsCustomerApi = {
143143
params
144144
})
145145
},
146+
// TODO @puhui999:下面这些拆出去哈;
146147
// 6.1 获取客户行业统计数据
147148
getCustomerIndustry: (params: any) => {
148149
return request.get({
149-
url: '/crm/statistics-customer/get-customer-industry-summary',
150+
url: '/crm/statistics-portrait/get-customer-industry-summary',
150151
params
151152
})
152153
},
153154
// 6.1 获取客户来源统计数据
154155
getCustomerSource: (params: any) => {
155156
return request.get({
156-
url: '/crm/statistics-customer/get-customer-source-summary',
157+
url: '/crm/statistics-portrait/get-customer-source-summary',
157158
params
158159
})
159160
},
160161
// 6.1 获取客户行业统计数据
161162
getCustomerLevel: (params: any) => {
162163
return request.get({
163-
url: '/crm/statistics-customer/get-customer-level-summary',
164+
url: '/crm/statistics-portrait/get-customer-level-summary',
164165
params
165166
})
166167
},
167168
// 6.1 获取客户行业统计数据
168169
getCustomerArea: (params: any) => {
169170
return request.get({
170-
url: '/crm/statistics-customer/get-customer-area-summary',
171+
url: '/crm/statistics-portrait/get-customer-area-summary',
171172
params
172173
})
173174
}

src/views/crm/statistics/customer/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ const handleQuery = () => {
178178
case 'dealCycle': // 成交周期分析
179179
dealCycleRef.value?.loadData?.()
180180
break
181+
// TODO @puhui999:这 4 个拆出去哈;独立一个【客户画像】菜单
181182
case 'addressRef':
182183
addressRef.value?.loadData?.()
183184
break

0 commit comments

Comments
 (0)