Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
87d1047f
authored
Mar 30, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRM:code review【客户画像】的实现
parent
34b788cb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
src/api/crm/statistics/customer.ts
+5
-4
src/views/crm/statistics/customer/index.vue
+1
-0
No files found.
src/api/crm/statistics/customer.ts
View file @
87d1047f
...
@@ -143,31 +143,32 @@ export const StatisticsCustomerApi = {
...
@@ -143,31 +143,32 @@ export const StatisticsCustomerApi = {
params
params
})
})
},
},
// TODO @puhui999:下面这些拆出去哈;
// 6.1 获取客户行业统计数据
// 6.1 获取客户行业统计数据
getCustomerIndustry
:
(
params
:
any
)
=>
{
getCustomerIndustry
:
(
params
:
any
)
=>
{
return
request
.
get
({
return
request
.
get
({
url
:
'/crm/statistics-
customer
/get-customer-industry-summary'
,
url
:
'/crm/statistics-
portrait
/get-customer-industry-summary'
,
params
params
})
})
},
},
// 6.1 获取客户来源统计数据
// 6.1 获取客户来源统计数据
getCustomerSource
:
(
params
:
any
)
=>
{
getCustomerSource
:
(
params
:
any
)
=>
{
return
request
.
get
({
return
request
.
get
({
url
:
'/crm/statistics-
customer
/get-customer-source-summary'
,
url
:
'/crm/statistics-
portrait
/get-customer-source-summary'
,
params
params
})
})
},
},
// 6.1 获取客户行业统计数据
// 6.1 获取客户行业统计数据
getCustomerLevel
:
(
params
:
any
)
=>
{
getCustomerLevel
:
(
params
:
any
)
=>
{
return
request
.
get
({
return
request
.
get
({
url
:
'/crm/statistics-
customer
/get-customer-level-summary'
,
url
:
'/crm/statistics-
portrait
/get-customer-level-summary'
,
params
params
})
})
},
},
// 6.1 获取客户行业统计数据
// 6.1 获取客户行业统计数据
getCustomerArea
:
(
params
:
any
)
=>
{
getCustomerArea
:
(
params
:
any
)
=>
{
return
request
.
get
({
return
request
.
get
({
url
:
'/crm/statistics-
customer
/get-customer-area-summary'
,
url
:
'/crm/statistics-
portrait
/get-customer-area-summary'
,
params
params
})
})
}
}
...
...
src/views/crm/statistics/customer/index.vue
View file @
87d1047f
...
@@ -178,6 +178,7 @@ const handleQuery = () => {
...
@@ -178,6 +178,7 @@ const handleQuery = () => {
case
'dealCycle'
:
// 成交周期分析
case
'dealCycle'
:
// 成交周期分析
dealCycleRef
.
value
?.
loadData
?.()
dealCycleRef
.
value
?.
loadData
?.()
break
break
// TODO @puhui999:这 4 个拆出去哈;独立一个【客户画像】菜单
case
'addressRef'
:
case
'addressRef'
:
addressRef
.
value
?.
loadData
?.()
addressRef
.
value
?.
loadData
?.()
break
break
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment