Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 95db8247
authored
Jun 07, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新2.4.0代码
1 parent
7255570e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
162 additions
and
78 deletions
src/api/modules/clientDataOverview.js
src/common/constants.js
src/views/clientDataOverview/components/marketingPlan.vue
src/views/clientDataOverview/group.vue
src/views/clientDataOverview/index copy.vue
src/views/clientDataOverview/index.vue
src/views/clientDataOverview/marketingPeople.vue
src/views/clientManage/index.vue
src/api/modules/clientDataOverview.js
View file @
95db824
...
@@ -7,7 +7,8 @@
...
@@ -7,7 +7,8 @@
* @returns
* @returns
*/
*/
import
{
import
{
http3
http3
,
http
}
from
'@/main'
}
from
'@/main'
// const url = 'http://192.168.3.193:8395/rop-scrm-entmicro/router'
// const url = 'http://192.168.3.193:8395/rop-scrm-entmicro/router'
...
@@ -72,7 +73,7 @@ export function customerClusterListShow(params) {
...
@@ -72,7 +73,7 @@ export function customerClusterListShow(params) {
params
.
method
=
'scrm.api.datahub.crowdgroup.queryCrowdGroupList'
params
.
method
=
'scrm.api.datahub.crowdgroup.queryCrowdGroupList'
return
http3
({
return
http3
({
// https://scrm.dev.glsx.com.cn
// https://scrm.dev.glsx.com.cn
url
:
'
http://scrm.dev.glsx.com.cn
/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -85,7 +86,7 @@ export function marketingPeopleListShow(params) {
...
@@ -85,7 +86,7 @@ export function marketingPeopleListShow(params) {
params
.
method
=
'scrm.api.datahub.crowdgroup.queryCrowdListByCrowdGroupId'
params
.
method
=
'scrm.api.datahub.crowdgroup.queryCrowdListByCrowdGroupId'
return
http3
({
return
http3
({
// http://192.168.3.226:9636
// http://192.168.3.226:9636
url
:
'
http://scrm.dev.glsx.com.cn
/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -97,9 +98,45 @@ export function marketingPeopleListShow(params) {
...
@@ -97,9 +98,45 @@ export function marketingPeopleListShow(params) {
export
function
searchCrowdIdByCrowdname
(
params
)
{
export
function
searchCrowdIdByCrowdname
(
params
)
{
params
.
method
=
'scrm.api.datahub.crowd.queryCrowdIdByCrowdName'
params
.
method
=
'scrm.api.datahub.crowd.queryCrowdIdByCrowdName'
return
http3
({
return
http3
({
url
:
'
http://scrm.dev.glsx.com.cn
/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
})
})
}
}
// 删除sop事件
const
deleteSopEventApi
=
params
=>
{
params
.
method
=
'scrm.api.sop.sopInfo.delete'
return
http
({
url
:
'rop-scrm-sop/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
// 结束sop事件
const
endSopEventApi
=
params
=>
{
params
.
method
=
'scrm.api.sop.sopInfo.updateEndStatus'
return
http
({
url
:
'rop-scrm-sop/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
const
getSopInfoListApi
=
params
=>
{
params
.
method
=
'scrm.api.sop.sopInfo.listWithPage'
return
http
({
url
:
'/rop-scrm-sop/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
deleteSopEventApi
,
endSopEventApi
,
getSopInfoListApi
}
\ No newline at end of file
\ No newline at end of file
src/common/constants.js
View file @
95db824
...
@@ -153,67 +153,67 @@ export const Constants = {
...
@@ -153,67 +153,67 @@ export const Constants = {
DESCRIBEDATA
:
[{
DESCRIBEDATA
:
[{
name
:
'潜在意向客户'
,
name
:
'潜在意向客户'
,
info
:
'无购车且无其他交易行为的所有客户'
,
info
:
'无购车且无其他交易行为的所有客户'
,
id
:
1
id
:
4
},
},
{
{
name
:
'潜在意向已加企微客户'
,
name
:
'潜在意向已加企微客户'
,
info
:
'在潜在意向客户中,已加企微的客户'
,
info
:
'在潜在意向客户中,已加企微的客户'
,
id
:
2
id
:
5
},
},
{
{
name
:
'潜在意向未加企微客户'
,
name
:
'潜在意向未加企微客户'
,
info
:
'在潜在意向客户中,未加企微的客户'
,
info
:
'在潜在意向客户中,未加企微的客户'
,
id
:
3
id
:
6
},
},
{
{
name
:
'基盘客户'
,
name
:
'基盘客户'
,
info
:
'有购车或其他交易行为的所有客户'
,
info
:
'有购车或其他交易行为的所有客户'
,
id
:
4
id
:
1
},
},
{
{
name
:
'基盘已加企微客户'
,
name
:
'基盘已加企微客户'
,
info
:
'在基盘客户中,已加企微的客户'
,
info
:
'在基盘客户中,已加企微的客户'
,
id
:
5
id
:
2
},
},
{
{
name
:
'基盘未加企微客户'
,
name
:
'基盘未加企微客户'
,
info
:
'在基盘客户中,未加企微的客户'
,
info
:
'在基盘客户中,未加企微的客户'
,
id
:
6
id
:
3
},
{
name
:
'新车客户'
,
info
:
'购车时间3个月的客户'
,
id
:
7
},
{
name
:
'车险待续保客户'
,
info
:
'近一个月内车险即将到期的客户'
,
id
:
8
},
{
name
:
'新车待首保客户'
,
info
:
'购车时间5~7个月内,且无保养记录的客户'
,
id
:
9
},
{
name
:
'沉默客户'
,
info
:
'超过180天未到店的客户'
,
id
:
10
},
},
// {
// name: '新车客户',
// info: '购车时间3个月的客户',
// id: 7
// },
// {
// name: '车险待续保客户',
// info: '近一个月内车险即将到期的客户',
// id: 8
// },
// {
// name: '新车待首保客户',
// info: '购车时间5~7个月内,且无保养记录的客户',
// id: 9
// },
// {
// name: '沉默客户',
// info: '超过180天未到店的客户',
// id: 10
// },
{
{
name
:
'已加企微,待匹配客户'
,
name
:
'已加企微,待匹配客户'
,
info
:
'已加企微,且未匹配到潜在意向或基盘客户的客户'
,
info
:
'已加企微,且未匹配到潜在意向或基盘客户的客户'
,
id
:
11
id
:
7
},
},
{
{
name
:
'已加企微,待匹配客户(已绑定手机号)'
,
name
:
'已加企微,待匹配客户(已绑定手机号)'
,
info
:
'已加企微,且未匹配到潜在意向或基盘客户的客户(已绑定手机号)'
,
info
:
'已加企微,且未匹配到潜在意向或基盘客户的客户(已绑定手机号)'
,
id
:
20
id
:
8
},
},
{
{
name
:
'未加企微,未匹配客户'
,
name
:
'未加企微,未匹配客户'
,
info
:
'未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户'
,
info
:
'未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户'
,
id
:
21
id
:
9
}
}
]
]
}
}
\ No newline at end of file
\ No newline at end of file
src/views/clientDataOverview/components/marketingPlan.vue
View file @
95db824
...
@@ -6,8 +6,12 @@
...
@@ -6,8 +6,12 @@
<template
slot=
"options"
slot-scope=
"scope"
>
<template
slot=
"options"
slot-scope=
"scope"
>
<el-button
class=
"blue-text"
type=
"text"
@
click=
"goSOPAnalysis(scope.scope.id)"
>
SOP分析
</el-button>
<el-button
class=
"blue-text"
type=
"text"
@
click=
"goSOPAnalysis(scope.scope.id)"
>
SOP分析
</el-button>
<el-button
class=
"blue-text"
type=
"text"
@
click=
"goSOPEdit(scope.scope.id)"
>
编辑
</el-button>
<el-button
class=
"blue-text"
type=
"text"
@
click=
"goSOPEdit(scope.scope.id)"
>
编辑
</el-button>
<el-button
class=
"blue-text"
type=
"text"
@
click=
"confirm('delete')"
>
删除
</el-button>
<el-button
class=
"blue-text"
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
<el-button
class=
"blue-text"
type=
"text"
@
click=
"confirm(scope.scope)"
>
结束
</el-button>
<el-button
class=
"blue-text"
type=
"text"
@
click=
"handleEnd(scope.scope)"
>
结束
</el-button>
<!--
<el-button
v-if=
"scope.scope.sopStatus != 1"
type=
"text"
@
click=
"handleJump('sopAnalysisList', scope.scope)"
>
SOP分析
</el-button>
<el-button
v-if=
"scope.scope.sopStatus == 2"
type=
"text"
@
click=
"handleEnd(scope.scope)"
>
结束
</el-button>
<el-button
v-if=
"scope.scope.sopStatus != 3"
type=
"text"
@
click=
"handleEdit('edit', scope.scope)"
>
编辑
</el-button>
<el-button
v-if=
"scope.scope.sopStatus == 1"
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
-->
</
template
>
</
template
>
</GLTable>
</GLTable>
</div>
</div>
...
@@ -42,7 +46,7 @@ export default {
...
@@ -42,7 +46,7 @@ export default {
placeholder
:
'请选择'
placeholder
:
'请选择'
}
}
],
],
getListApi
:
getTableList
,
getListApi
:
this
.
$apis
.
clientDataOverview
.
getSopInfoListApi
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
tableParams
:
{
tableParams
:
{
listName
:
'data'
,
listName
:
'data'
,
...
@@ -87,21 +91,71 @@ export default {
...
@@ -87,21 +91,71 @@ export default {
},
200
)
},
200
)
},
},
methods
:
{
methods
:
{
// 结束
handleEnd
(
row
)
{
this
.
secondConfirm
(
'结束'
,
'结束SOP后,将不再进行营销任务自动推送,且不可恢复。是否确定结束?'
,
'clientDataOverview'
,
'endSopEventApi'
,
{
sopId
:
row
.
id
})
},
handleDelete
(
row
)
{
this
.
secondConfirm
(
'删除'
,
'SOP删除后,不可恢复。是否确定删除?'
,
'clientDataOverview'
,
'deleteSopEventApi'
,
{
sopId
:
row
.
id
})
},
secondConfirm
(
title
,
txt
,
apiModule
,
apiName
,
apiParams
,
fn
)
{
this
.
$confirm
(
txt
,
title
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
this
.
$apis
[
apiModule
][
apiName
](
apiParams
).
then
(
res
=>
{
this
.
$message
({
message
:
res
.
code
==
'0'
?
'操作成功'
:
res
.
message
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
if
(
res
.
code
==
'0'
)
{
fn
&&
fn
()
this
.
searchTable
()
}
})
}
}
})
},
// 跳转SOP分析
// 跳转SOP分析
goSOPAnalysis
(
id
)
{
goSOPAnalysis
(
id
)
{
this
.
$history
.
push
(
`/marketing/sop/sopAnalysisList?fromPage=
${
encodeURI
(
'/
npmph/clientDataOverview/marketingPeople?selectTab=2
'
)}
&id=
${
id
}
`
)
this
.
$history
.
push
(
`/marketing/sop/sopAnalysisList?fromPage=
${
encodeURI
(
'/
custom/clientDataOverview/marketingPeople?selectTab=second
'
)}
&id=
${
id
}
`
)
},
},
// 跳转SOP编辑页面
// 跳转SOP编辑页面
goSOPEdit
(
id
)
{
// goSOPEdit(id) {
// var params = {
// addOrEdit: 'edit',
// fromPage: '/custom/clientDataOverview/marketingPeople?selectTab=second',
// $title: encodeURI('编辑SOP')
// }
// // addOrEdit != 'add' && (params.id = row.id)
// this.$router.push({
// path: '/sop/editSop',
// query: params
// })
// },
// 跳转到营销SOP
goSOPEdit
()
{
let
marketQuery
var
params
=
{
var
params
=
{
addOrEdit
:
'edit'
,
addOrEdit
:
'edit'
,
fromPage
:
'/custom/clientDataOverview/marketingPeople?selectTab=2'
,
fromPage
:
`/custom/clientDataOverview/marketingPeople?crowdId=
${
this
.
crowdGroupId
}
&selectTab=2`
,
$title
:
encodeURI
(
'编辑SOP'
)
$title
:
encodeURI
(
'编辑SOP'
),
info
:
{
// 人群
customerOptType
:
2
,
crowdList
:
[]
}
}
}
// addOrEdit != 'add' && (params.id = row.id)
params
.
info
.
crowdList
.
push
(
marketQuery
)
this
.
$router
.
push
({
this
.
$common
.
utils
.
storage
.
set
(
'sopInfo'
,
params
)
path
:
'/sop/editSop'
,
console
.
log
(
params
)
query
:
params
this
.
$history
.
push
({
path
:
'marketing/sop/editSop'
})
})
},
},
// 确认删除或结束
// 确认删除或结束
...
...
src/views/clientDataOverview/group.vue
View file @
95db824
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
</div>
</div>
<div>
<div>
<el-button
size=
"small"
@
click=
"handleExport"
class=
"export"
>
导出
</el-button>
<el-button
size=
"small"
@
click=
"handleExport"
class=
"export"
>
导出
</el-button>
<el-button
plain
size=
"small"
@
click=
"createMarketSOP()"
>
<el-button
plain
size=
"small"
@
click=
"createMarketSOP()"
>
营销SOP
营销SOP
</el-button>
</el-button>
...
@@ -58,7 +57,6 @@
...
@@ -58,7 +57,6 @@
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
getCustomerList
,
getcrowdManageList
,
customerClusterListExport
,
searchCrowdIdByCrowdname
}
from
'@/api/modules/clientDataOverview'
import
{
getCustomerList
,
getcrowdManageList
,
customerClusterListExport
,
searchCrowdIdByCrowdname
}
from
'@/api/modules/clientDataOverview'
import
{
getStaffList
}
from
'@/api/modules/clientManage'
import
{
getStaffList
}
from
'@/api/modules/clientManage'
...
@@ -208,8 +206,6 @@ export default {
...
@@ -208,8 +206,6 @@ export default {
created
()
{
created
()
{
let
{
id
}
=
this
let
{
id
}
=
this
this
.
init
(
id
)
this
.
init
(
id
)
console
.
log
(
this
.
$route
.
params
)
console
.
log
(
this
.
$route
.
query
)
this
.
groupCorwdTitle
=
this
.
$Constants
.
DESCRIBEDATA
.
find
(
item
=>
item
.
id
==
id
)
?
this
.
$Constants
.
DESCRIBEDATA
.
find
(
item
=>
item
.
id
==
id
).
name
:
''
this
.
groupCorwdTitle
=
this
.
$Constants
.
DESCRIBEDATA
.
find
(
item
=>
item
.
id
==
id
)
?
this
.
$Constants
.
DESCRIBEDATA
.
find
(
item
=>
item
.
id
==
id
).
name
:
''
this
.
groupCorwdDesc
=
this
.
$Constants
.
DESCRIBEDATA
.
find
(
item
=>
item
.
id
==
id
)
?
this
.
$Constants
.
DESCRIBEDATA
.
find
(
item
=>
item
.
id
==
id
).
info
:
''
this
.
groupCorwdDesc
=
this
.
$Constants
.
DESCRIBEDATA
.
find
(
item
=>
item
.
id
==
id
)
?
this
.
$Constants
.
DESCRIBEDATA
.
find
(
item
=>
item
.
id
==
id
).
info
:
''
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
...
@@ -254,12 +250,12 @@ export default {
...
@@ -254,12 +250,12 @@ export default {
marketQuery
=
JSON
.
parse
(
this
.
$route
.
query
.
crowdInfo
)
marketQuery
=
JSON
.
parse
(
this
.
$route
.
query
.
crowdInfo
)
}
}
if
(
this
.
crowdType
==
3
)
{
if
(
this
.
crowdType
==
3
)
{
let
crowdP
arams
=
{
let
p
arams
=
{
'req.crowdName'
:
'已加企微,待匹配客户'
,
'req.crowdName'
:
this
.
groupCorwdTitle
,
'req.merchantId'
:
44209846
'req.merchantId'
:
this
.
merchantId
}
}
await
searchCrowdIdByCrowdname
(
crowdP
arams
).
then
(
res
=>
{
await
searchCrowdIdByCrowdname
(
p
arams
).
then
(
res
=>
{
this
.
corwdId
=
res
||
''
this
.
corwdId
=
res
})
})
marketQuery
=
{
marketQuery
=
{
crowdDesc
:
this
.
groupCorwdDesc
,
crowdDesc
:
this
.
groupCorwdDesc
,
...
@@ -279,8 +275,8 @@ export default {
...
@@ -279,8 +275,8 @@ export default {
}
}
}
}
params
.
info
.
crowdList
.
push
(
marketQuery
)
params
.
info
.
crowdList
.
push
(
marketQuery
)
this
.
$common
.
utils
.
storage
.
set
(
'sopInfo'
,
params
)
console
.
log
(
params
)
console
.
log
(
params
)
this
.
$common
.
utils
.
storage
.
set
(
'sopInfo'
,
params
)
this
.
$history
.
push
({
this
.
$history
.
push
({
path
:
'marketing/sop/editSop'
path
:
'marketing/sop/editSop'
})
})
...
@@ -301,7 +297,6 @@ export default {
...
@@ -301,7 +297,6 @@ export default {
}
}
})
})
staff
.
unshift
({
label
:
'全部'
,
value
:
''
})
staff
.
unshift
({
label
:
'全部'
,
value
:
''
})
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
tagsPartFormList
[
id
].
optionList
=
staff
this
.
tagsPartFormList
[
id
].
optionList
=
staff
})
})
...
@@ -379,7 +374,6 @@ export default {
...
@@ -379,7 +374,6 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@import
'@/styles/variables.scss'
;
@import
'@/styles/variables.scss'
;
.expandImg
{
.expandImg
{
...
...
src/views/clientDataOverview/index copy.vue
View file @
95db824
...
@@ -222,7 +222,6 @@ export default {
...
@@ -222,7 +222,6 @@ export default {
height
:
17px
;
height
:
17px
;
align-items
:
center
;
align-items
:
center
;
font-size
:
12px
;
font-size
:
12px
;
font-family
:
Helvetica
;
color
:
#8c8c8c
;
color
:
#8c8c8c
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
...
src/views/clientDataOverview/index.vue
View file @
95db824
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
</div>
</div>
<!-- 引入echart组件 -->
<!-- 引入echart组件 -->
<pie-echart
width=
"100%"
height=
"
30
0px"
:topDataObj=
"topDataObj"
></pie-echart>
<pie-echart
width=
"100%"
height=
"
27
0px"
:topDataObj=
"topDataObj"
></pie-echart>
<!--
<pie-echart-copy
class=
"pieCopy"
width=
"100%"
height=
"300px"
:topDataObj=
"topDataObj"
></pie-echart-copy>
-->
<!--
<pie-echart-copy
class=
"pieCopy"
width=
"100%"
height=
"300px"
:topDataObj=
"topDataObj"
></pie-echart-copy>
-->
<div
class=
"personsMap"
v-if=
"topDataObj.entmicroAddCustomerCount > 0"
>
<div
class=
"personsMap"
v-if=
"topDataObj.entmicroAddCustomerCount > 0"
>
<!--
<pictorial-bar
width=
"100%"
height=
"500px"
:entmicroAddCustomerCount=
"topDataObj.entmicroAddCustomerCount"
:entmicroNotAddCustomerCount=
"topDataObj.entmicroNotAddCustomerCount"
></pictorial-bar>
-->
<!--
<pictorial-bar
width=
"100%"
height=
"500px"
:entmicroAddCustomerCount=
"topDataObj.entmicroAddCustomerCount"
:entmicroNotAddCustomerCount=
"topDataObj.entmicroNotAddCustomerCount"
></pictorial-bar>
-->
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
class=
"itembox"
>
<div
class=
"itembox"
>
<div
style=
"display: flex; overflow: hidden"
>
<div
style=
"display: flex; overflow: hidden"
>
<div
class=
"buy"
>
<div
class=
"buy"
>
<div
class=
"buy-total item"
@
click=
"goto(
4
)"
fn=
"人群客户列表"
mode=
"div"
>
<div
class=
"buy-total item"
@
click=
"goto(
1
)"
fn=
"人群客户列表"
mode=
"div"
>
<div
class=
"buyTitle"
>
<div
class=
"buyTitle"
>
<span
class=
"client"
>
基盘客户
</span>
<span
class=
"client"
>
基盘客户
</span>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"有购车或其他交易行为的所有客户"
>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"有购车或其他交易行为的所有客户"
>
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
<el-divider></el-divider>
<el-divider></el-divider>
<no-data
:type=
"'hasText'"
v-if=
"isEmptyObj"
></no-data>
<no-data
:type=
"'hasText'"
v-if=
"isEmptyObj"
></no-data>
<div
class=
"firmClient"
>
<div
class=
"firmClient"
>
<div
@
click=
"goto(
5
)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
<div
@
click=
"goto(
2
)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
<div
class=
"clientCompleted"
>
<div
class=
"clientCompleted"
>
<span>
已加企微
</span>
<span>
已加企微
</span>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"在基盘客户中,已加企微的客户"
>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"在基盘客户中,已加企微的客户"
>
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<span
class=
"numPro"
>
占比:{{ topDataObj.purchaseCustomerAddPercent | percentageDeal }}%
</span>
<span
class=
"numPro"
>
占比:{{ topDataObj.purchaseCustomerAddPercent | percentageDeal }}%
</span>
</p>
</p>
</div>
</div>
<div
@
click=
"goto(
6
)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
<div
@
click=
"goto(
3
)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
<div
class=
"clientCompleted"
>
<div
class=
"clientCompleted"
>
<span>
未加企微
</span>
<span>
未加企微
</span>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"在基盘客户中,未加企微的客户"
>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"在基盘客户中,未加企微的客户"
>
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
<!-- <el-divider direction="vertical"></el-divider> -->
<!-- <el-divider direction="vertical"></el-divider> -->
</div>
</div>
<div
class=
"buy"
>
<div
class=
"buy"
>
<div
class=
"buy-total item"
@
click=
"goto(
1
)"
fn=
"人群客户列表"
mode=
"div"
>
<div
class=
"buy-total item"
@
click=
"goto(
4
)"
fn=
"人群客户列表"
mode=
"div"
>
<div
class=
"buyTitle"
>
<div
class=
"buyTitle"
>
<span
class=
"client"
>
潜在意向客户
</span>
<span
class=
"client"
>
潜在意向客户
</span>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"无购车且无其他交易行为的所有客户"
>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"无购车且无其他交易行为的所有客户"
>
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
<no-data
:type=
"'hasText'"
v-if=
"isEmptyObj"
></no-data>
<no-data
:type=
"'hasText'"
v-if=
"isEmptyObj"
></no-data>
<div
class=
"firmClient"
>
<div
class=
"firmClient"
>
<div
@
click=
"goto(
2
)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
<div
@
click=
"goto(
5
)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
<div
class=
"clientCompleted"
>
<div
class=
"clientCompleted"
>
<span>
已加企微
</span>
<span>
已加企微
</span>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"在潜在意向客户中,已加企微的客户"
>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"在潜在意向客户中,已加企微的客户"
>
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
<span
class=
"numPro"
>
占比:{{ topDataObj.purposeCustomerAddPercent | percentageDeal }}%
</span>
<span
class=
"numPro"
>
占比:{{ topDataObj.purposeCustomerAddPercent | percentageDeal }}%
</span>
</p>
</p>
</div>
</div>
<div
@
click=
"goto(
3
)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
<div
@
click=
"goto(
6
)"
fn=
"人群客户列表"
mode=
"div"
class=
"wid50"
>
<div
class=
"clientCompleted"
>
<div
class=
"clientCompleted"
>
<span>
未加企微
</span>
<span>
未加企微
</span>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"在潜在意向客户中,未加企微的客户"
>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"在潜在意向客户中,未加企微的客户"
>
...
@@ -173,10 +173,10 @@
...
@@ -173,10 +173,10 @@
</div>
</div>
<div
class=
"intendedTop"
>
<div
class=
"intendedTop"
>
<!-- 已加企微,待匹配客户 -->
<!-- 已加企微,待匹配客户 -->
<div
class=
"intended"
@
click=
"goto(
11
)"
>
<div
class=
"intended"
@
click=
"goto(
7
)"
>
<p
class=
"intend-name"
>
<p
class=
"intend-name"
>
<span
class=
"nameHover"
>
已加企微,待匹配客户
</span>
<span
class=
"nameHover"
>
已加企微,待匹配客户
</span>
<span
class=
"intend-phone"
@
click
.
stop=
"goto(
20
)"
>
(已绑定手机号{{ (topDataObj.notMatchCustomerAddPhoneCount || 0) | overThousandFilter }}人)
</span>
<span
class=
"intend-phone"
@
click
.
stop=
"goto(
8
)"
>
(已绑定手机号{{ (topDataObj.notMatchCustomerAddPhoneCount || 0) | overThousandFilter }}人)
</span>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"已加企微,且未匹配到潜在意向或基盘客户的客户"
>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"已加企微,且未匹配到潜在意向或基盘客户的客户"
>
<span
class=
"dataOverPopover"
>
已加企微,且未匹配到潜在意向或基盘客户的客户
</span>
<span
class=
"dataOverPopover"
>
已加企微,且未匹配到潜在意向或基盘客户的客户
</span>
<img
class=
"questionImg"
src=
"@/assets/clientDataOverview/grayquestion.png"
slot=
"reference"
/>
<img
class=
"questionImg"
src=
"@/assets/clientDataOverview/grayquestion.png"
slot=
"reference"
/>
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
</div>
</div>
</div>
</div>
<!-- 未加企微,未匹配客户 -->
<!-- 未加企微,未匹配客户 -->
<div
class=
"intended"
@
click=
"goto(
21
)"
>
<div
class=
"intended"
@
click=
"goto(
9
)"
>
<p
class=
"intend-name"
>
<p
class=
"intend-name"
>
<span>
未加企微,未匹配客户
</span>
<span>
未加企微,未匹配客户
</span>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户"
>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户"
>
...
...
src/views/clientDataOverview/marketingPeople.vue
View file @
95db824
This diff is collapsed.
Click to expand it.
src/views/clientManage/index.vue
View file @
95db824
...
@@ -18,10 +18,10 @@
...
@@ -18,10 +18,10 @@
<span
slot=
"customerSex"
slot-scope=
"scope"
>
<span
slot=
"customerSex"
slot-scope=
"scope"
>
<span>
{{
scope
.
scope
.
customerSex
==
0
?
'未知'
:
scope
.
scope
.
customerSex
==
1
?
'男'
:
scope
.
scope
.
customerSex
==
2
?
'女'
:
''
}}
</span>
<span>
{{
scope
.
scope
.
customerSex
==
0
?
'未知'
:
scope
.
scope
.
customerSex
==
1
?
'男'
:
scope
.
scope
.
customerSex
==
2
?
'女'
:
''
}}
</span>
</span>
</span>
<div
slot=
"followStaff"
class=
"entmicro"
slot-scope=
"scope"
>
<
!--
<
div
slot=
"followStaff"
class=
"entmicro"
slot-scope=
"scope"
>
<div
v-if=
"!followList(scope.scope.followStaff).length"
>
--
</div>
<div
v-if=
"!followList(scope.scope.followStaff).length"
>
--
</div>
<div
class=
"entmicro-tag"
style=
"padding-right:3px"
v-for=
"(tag, idx) in followList(scope.scope.followStaff)"
:key=
"idx"
>
<div
class=
"entmicro-tag"
style=
"padding-right:3px"
v-for=
"(tag, idx) in followList(scope.scope.followStaff)"
:key=
"idx"
>
<el-tooltip
effect=
"dark"
:content=
"tag"
placement=
"top"
>
<el-tooltip
effect=
"dark"
:content=
"tag"
placement=
"top"
v-if=
"idx
< 3
"
>
<el-tag
type=
"info"
class=
"ellipsis-1"
v-if=
"idx
< 3
"
:disable-transitions=
"false"
>
<el-tag
type=
"info"
class=
"ellipsis-1"
v-if=
"idx
< 3
"
:disable-transitions=
"false"
>
<i
class=
"el-icon-user-solid"
></i>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
}}
{{
tag
}}
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<el-tag
type=
"info"
v-if=
"followList(scope.scope.followStaff).length > 3 && idx == 3"
>
<el-tag
type=
"info"
v-if=
"followList(scope.scope.followStaff).length > 3 && idx == 3"
>
<el-popover
placement=
"top"
width=
"600"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<el-popover
placement=
"top"
width=
"600"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<div
slot=
"reference"
>
...(
{{
followList
(
scope
.
scope
.
followStaff
).
length
}}
)
</div>
<div
slot=
"reference"
>
...(
{{
followList
(
scope
.
scope
.
followStaff
).
length
}}
)
</div>
<div
class=
"entmicro-hover"
>
<div
class=
"entmicro-hover"
>
<el-tag
style=
"margin-left:4px"
type=
"info"
v-for=
"(i, index) in followList(scope.scope.followStaff)"
:key=
"index"
:disable-transitions=
"false"
>
<el-tag
style=
"margin-left:4px"
type=
"info"
v-for=
"(i, index) in followList(scope.scope.followStaff)"
:key=
"index"
:disable-transitions=
"false"
>
<i
class=
"el-icon-user-solid"
style=
"color: #75acff"
></i>
<i
class=
"el-icon-user-solid"
style=
"color: #75acff"
></i>
{{
i
}}
{{
i
}}
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</el-popover>
</el-popover>
</el-tag>
</el-tag>
</div>
</div>
</div>
</div>
-->
<!-- 企微名称 -->
<!-- 企微名称 -->
<div
slot=
"nickNameList"
slot-scope=
"scope"
class=
"expandImg"
>
<div
slot=
"nickNameList"
slot-scope=
"scope"
class=
"expandImg"
>
<div
v-if=
"!scope.scope.nickNameList.length"
>
--
</div>
<div
v-if=
"!scope.scope.nickNameList.length"
>
--
</div>
...
@@ -259,21 +259,21 @@ export default {
...
@@ -259,21 +259,21 @@ export default {
{
{
label
:
'客户ID'
,
label
:
'客户ID'
,
prop
:
'oneId'
,
prop
:
'oneId'
,
width
:
14
0
,
width
:
29
0
,
line
:
1
line
:
1
},
},
{
{
label
:
'客户名称'
,
label
:
'客户名称'
,
prop
:
'customerName'
,
prop
:
'customerName'
,
addHtml
:
'customerName'
,
addHtml
:
'customerName'
,
width
:
1
2
0
,
width
:
1
7
0
,
line
:
1
line
:
1
},
},
{
{
label
:
'企微名称'
,
label
:
'企微名称'
,
prop
:
'nickNameList'
,
prop
:
'nickNameList'
,
addHtml
:
'nickNameList'
,
addHtml
:
'nickNameList'
,
width
:
190
,
width
:
190
},
},
{
{
label
:
'联系电话'
,
label
:
'联系电话'
,
...
@@ -289,7 +289,7 @@ export default {
...
@@ -289,7 +289,7 @@ export default {
{
{
label
:
'跟进员工'
,
label
:
'跟进员工'
,
prop
:
'followStaff'
,
prop
:
'followStaff'
,
addHtml
:
'followStaff'
,
//
addHtml: 'followStaff',
width
:
320
width
:
320
},
},
{
{
...
@@ -323,13 +323,13 @@ export default {
...
@@ -323,13 +323,13 @@ export default {
{
{
label
:
'车系'
,
label
:
'车系'
,
prop
:
'audi'
,
prop
:
'audi'
,
width
:
12
0
,
width
:
25
0
,
line
:
1
line
:
1
},
},
{
{
label
:
'车架号'
,
label
:
'车架号'
,
prop
:
'carVin'
,
prop
:
'carVin'
,
width
:
18
0
,
width
:
27
0
,
line
:
1
line
:
1
},
},
{
{
...
@@ -341,7 +341,7 @@ export default {
...
@@ -341,7 +341,7 @@ export default {
{
{
label
:
'购车时间'
,
label
:
'购车时间'
,
prop
:
'buyDate'
,
prop
:
'buyDate'
,
width
:
17
0
,
width
:
25
0
,
line
:
1
line
:
1
},
},
{
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment