From 87d1047fa900bf4efcfc80d2bb27c7e7d74cb97f Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 30 Mar 2024 14:17:14 +0800 Subject: [PATCH] =?UTF-8?q?CRM=EF=BC=9Acode=20review=E3=80=90=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E7=94=BB=E5=83=8F=E3=80=91=E7=9A=84=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/statistics/customer.ts | 9 +++++---- src/views/crm/statistics/customer/index.vue | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/crm/statistics/customer.ts b/src/api/crm/statistics/customer.ts index 26fd3a21..425264ff 100644 --- a/src/api/crm/statistics/customer.ts +++ b/src/api/crm/statistics/customer.ts @@ -143,31 +143,32 @@ export const StatisticsCustomerApi = { params }) }, + // TODO @puhui999:下面这些拆出去哈; // 6.1 获取客户行业统计数据 getCustomerIndustry: (params: any) => { return request.get({ - url: '/crm/statistics-customer/get-customer-industry-summary', + url: '/crm/statistics-portrait/get-customer-industry-summary', params }) }, // 6.1 获取客户来源统计数据 getCustomerSource: (params: any) => { return request.get({ - url: '/crm/statistics-customer/get-customer-source-summary', + url: '/crm/statistics-portrait/get-customer-source-summary', params }) }, // 6.1 获取客户行业统计数据 getCustomerLevel: (params: any) => { return request.get({ - url: '/crm/statistics-customer/get-customer-level-summary', + url: '/crm/statistics-portrait/get-customer-level-summary', params }) }, // 6.1 获取客户行业统计数据 getCustomerArea: (params: any) => { return request.get({ - url: '/crm/statistics-customer/get-customer-area-summary', + url: '/crm/statistics-portrait/get-customer-area-summary', params }) } diff --git a/src/views/crm/statistics/customer/index.vue b/src/views/crm/statistics/customer/index.vue index cea0d3b7..d216a3c8 100644 --- a/src/views/crm/statistics/customer/index.vue +++ b/src/views/crm/statistics/customer/index.vue @@ -178,6 +178,7 @@ const handleQuery = () => { case 'dealCycle': // 成交周期分析 dealCycleRef.value?.loadData?.() break + // TODO @puhui999:这 4 个拆出去哈;独立一个【客户画像】菜单 case 'addressRef': addressRef.value?.loadData?.() break