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
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
333 additions
and
154 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
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<el-divider></el-divider>
<el-divider></el-divider>
<!-- 营销人群展示 -->
<!-- 营销人群展示 -->
<div
class=
"bigMarketItem"
v-if=
"closeFlag"
>
<div
class=
"bigMarketItem"
v-if=
"closeFlag"
>
<div
v-for=
"(item, idx) in itemArr"
:key=
"idx"
:class=
"[
{ active: isActive == idx }, 'marketItem']" @click="choickItem(idx, item.crowdName)">
<div
v-for=
"(item, idx) in itemArr"
:key=
"idx"
:class=
"[
{ active: isActive == idx }, 'marketItem']" @click="choickItem(idx, item.crowdName
, item.crowdId
)">
<template
v-if=
"idx
< displayNum
"
>
<template
v-if=
"idx
< displayNum
"
>
<p
class=
"peopleName"
>
{{
item
.
crowdName
}}
</p>
<p
class=
"peopleName"
>
{{
item
.
crowdName
}}
</p>
<div
class=
"itemBox"
>
<div
class=
"itemBox"
>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<div
v-show=
"!closeFlag"
>
<div
v-show=
"!closeFlag"
>
<div
class=
"swiper-container"
id=
"swiper"
>
<div
class=
"swiper-container"
id=
"swiper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-wrapper"
>
<div
v-for=
"(item, idx) in itemArr"
:key=
"idx"
:class=
"[{ active: isActive == idx }, 'marketItem', 'swiper-slide']"
@
click=
"choickItem(idx, item.crowdName)"
>
<div
v-for=
"(item, idx) in itemArr"
:key=
"idx"
:class=
"[{ active: isActive == idx }, 'marketItem', 'swiper-slide']"
@
click=
"choickItem(idx, item.crowdName
, item.crowdId
)"
>
<div
class=
"marketItem-border"
>
<div
class=
"marketItem-border"
>
<p
class=
"peopleName"
>
{{ item.crowdName }}
</p>
<p
class=
"peopleName"
>
{{ item.crowdName }}
</p>
<div
class=
"itemBox"
>
<div
class=
"itemBox"
>
...
@@ -68,10 +68,33 @@
...
@@ -68,10 +68,33 @@
</div>
</div>
<div>
<div>
<el-button
size=
"small"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
size=
"small"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
class=
"marketSOP"
size=
"small"
@
click=
"market
Button
()"
>
营销SOP
</el-button>
<el-button
class=
"marketSOP"
size=
"small"
@
click=
"market
SOP
()"
>
营销SOP
</el-button>
</div>
</div>
</div>
</div>
<GLTable
v-loading=
"loading"
:hasNum=
"true"
@
setTableHeightEvent=
"setTableHeightEvent"
@
setTableFinishFun=
"setTableFinishFun"
ref=
"marketPeople"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
></GLTable>
<GLTable
v-loading=
"loading"
:hasNum=
"true"
@
setTableHeightEvent=
"setTableHeightEvent"
@
setTableFinishFun=
"setTableFinishFun"
:beforeSearchFn=
"beforeSearchFn"
ref=
"marketPeople"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
>
<!-- 企微名称 -->
<div
slot=
"nickNameList"
slot-scope=
"scope"
class=
"expandImg"
>
<div
v-for=
"(list, idx) in scope.scope.nickNameList"
:key=
"idx"
>
<div
v-if=
"idx == 0"
>
<span>
{{ list.nickName }}
</span>
<span
class=
"smallFontSize"
:class=
"[list.type == 1 ? 'pure-green-text' : '', list.type == 2 ? 'pure-yello-text' : '']"
>
@{{ list.corpName }}
</span>
</div>
<span
v-if=
"idx == 1"
>
<el-popover
placement=
"right-start"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<div
style=
"padding-bottom: 3px !important"
v-for=
"(i, index) in scope.scope.nickNameList"
:key=
"index"
>
<span>
{{ i.nickName }}
</span>
<span
style=
"height: 20px; font-size: 12px; letter-spacing: 0; line-height: 20px; font-weight: 400; margin-left: 2px"
:class=
"[i.type == 1 ? 'pure-green-text' : '', i.type == 2 ? 'pure-yello-text' : '']"
>
@{{ i.corpName }}
</span>
</div>
<img
class=
"imgEll"
src=
"@/assets/tagsManage/ellipsis.png"
alt=
""
slot=
"reference"
/>
</el-popover>
</span>
</div>
</div>
<!-- 操作 -->
<div
slot=
"optionBtns"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"goDetail(scope.scope)"
class=
"blue-text"
>
详情
</el-button>
</div>
</GLTable>
</div>
</div>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"营销计划"
name=
"second"
>
<el-tab-pane
label=
"营销计划"
name=
"second"
>
...
@@ -82,7 +105,8 @@
...
@@ -82,7 +105,8 @@
</template>
</template>
<
script
>
<
script
>
import
{
marketingPeopleListShow
}
from
'@/api/modules/clientDataOverview'
import
{
marketingPeopleListShow
,
getcrowdManageList
}
from
'@/api/modules/clientDataOverview'
import
{
getStaffList
}
from
'@/api/modules/clientManage'
import
marketingPlan
from
'./components/marketingPlan.vue'
import
marketingPlan
from
'./components/marketingPlan.vue'
import
Swiper
from
'swiper'
import
Swiper
from
'swiper'
import
'swiper/dist/css/swiper.min.css'
import
'swiper/dist/css/swiper.min.css'
...
@@ -95,8 +119,10 @@ export default {
...
@@ -95,8 +119,10 @@ export default {
queryTab
:
''
,
queryTab
:
''
,
crowdGroupId
:
''
,
crowdGroupId
:
''
,
activeName
:
'first'
,
activeName
:
'first'
,
searchForm
:
{},
searchForm
:
{
isActive
:
-
1
,
crowdId
:
''
},
isActive
:
0
,
displayNum
:
4
,
//展示的数目
displayNum
:
4
,
//展示的数目
closeFlag
:
false
,
//展开收起
closeFlag
:
false
,
//展开收起
showTitle
:
''
,
// 展示的标题
showTitle
:
''
,
// 展示的标题
...
@@ -105,57 +131,39 @@ export default {
...
@@ -105,57 +131,39 @@ export default {
{
{
type
:
'input'
,
type
:
'input'
,
inputType
:
'text'
,
inputType
:
'text'
,
name
:
'
keyword
'
,
name
:
'
carNumber
'
,
label
:
'车牌号'
label
:
'车牌号'
},
},
{
{
type
:
'input'
,
type
:
'input'
,
inputType
:
'text'
,
inputType
:
'text'
,
name
:
'
keyword
'
,
name
:
'
carSeries
'
,
label
:
'车系'
label
:
'车系'
},
},
{
{
type
:
'select'
,
type
:
'select'
,
name
:
'
status
'
,
name
:
'
followStaff
'
,
label
:
'跟进员工'
,
label
:
'跟进员工'
,
optionLabel
:
'label'
,
optionLabel
:
'label'
,
optionId
:
'value'
,
optionId
:
'value'
,
optionList
:
[
optionList
:
[]
{
label
:
'全部'
,
value
:
''
},
{
label
:
'待跟进'
,
value
:
0
},
{
label
:
'跟进中'
,
value
:
1
},
{
label
:
'已完成'
,
value
:
2
}
],
placeholder
:
'请选择'
},
},
{
{
type
:
'input'
,
type
:
'input'
,
inputType
:
'text'
,
inputType
:
'text'
,
name
:
'
keyword
'
,
name
:
'
customerPhone
'
,
label
:
'联系电话'
label
:
'联系电话'
},
},
{
{
type
:
'input'
,
type
:
'input'
,
inputType
:
'text'
,
inputType
:
'text'
,
name
:
'
keyword
'
,
name
:
'
nickName
'
,
label
:
'企微名称'
label
:
'企微名称'
},
},
{
{
type
:
'input'
,
type
:
'input'
,
inputType
:
'text'
,
inputType
:
'text'
,
name
:
'
us
erName'
,
name
:
'
custom
erName'
,
label
:
'客户名称'
label
:
'客户名称'
},
},
{
{
...
@@ -182,8 +190,8 @@ export default {
...
@@ -182,8 +190,8 @@ export default {
},
},
{
{
type
:
'datePicker'
,
type
:
'datePicker'
,
name
:
'
daterang
e'
,
name
:
'
carBuyDat
e'
,
label
:
'购车'
,
label
:
'购车
时间
'
,
valueFormat
:
'yyyy-MM-dd'
,
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
...
@@ -193,7 +201,7 @@ export default {
...
@@ -193,7 +201,7 @@ export default {
},
},
{
{
type
:
'datePicker'
,
type
:
'datePicker'
,
name
:
'
daterang
e'
,
name
:
'
InsEndDat
e'
,
label
:
'车险到期时间'
,
label
:
'车险到期时间'
,
valueFormat
:
'yyyy-MM-dd'
,
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
{
pickerOptions
:
{
...
@@ -210,78 +218,77 @@ export default {
...
@@ -210,78 +218,77 @@ export default {
{
{
label
:
'客户名称'
,
label
:
'客户名称'
,
prop
:
'customerName'
,
prop
:
'customerName'
,
addHtml
:
'customerName'
,
//
addHtml: 'customerName',
minWidth
:
150
minWidth
:
150
},
},
{
{
label
:
'企微名称'
,
label
:
'企微名称'
,
prop
:
'customerPhone'
,
prop
:
'nickNameList'
,
minWidth
:
120
addHtml
:
'nickNameList'
,
width
:
220
},
},
{
{
label
:
'联系电话'
,
label
:
'联系电话'
,
prop
:
'customerSex'
,
prop
:
'customerPhone'
,
addHtml
:
'customerSex'
,
width
:
130
width
:
150
},
},
{
{
label
:
'车架号'
,
label
:
'车架号'
,
prop
:
'
joinScene
'
,
prop
:
'
carVin
'
,
addHtml
:
'joinScene'
,
width
:
140
,
minWidth
:
140
line
:
1
},
},
{
{
label
:
'车牌号'
,
label
:
'车牌号'
,
prop
:
'
invitorName
'
,
prop
:
'
carNumber
'
,
minW
idth
:
120
w
idth
:
120
},
},
{
{
label
:
'车系'
,
label
:
'车系'
,
prop
:
'
joinTime
'
,
prop
:
'
audi
'
,
width
:
170
width
:
170
},
},
{
{
label
:
'车险开始时间'
,
label
:
'车险开始时间'
,
prop
:
'
joinTim
e'
,
prop
:
'
isStartDat
e'
,
width
:
170
width
:
170
},
},
{
{
label
:
'车险到期时间'
,
label
:
'车险到期时间'
,
prop
:
'
joinTim
e'
,
prop
:
'
insEndDat
e'
,
width
:
170
width
:
170
},
},
{
{
label
:
'跟进员工'
,
label
:
'跟进员工'
,
prop
:
'joinTime'
,
prop
:
'followStaff'
,
width
:
170
width
:
170
,
line
:
1
},
},
{
{
label
:
'是否加企微'
,
label
:
'是否加企微'
,
//1. 加入,0.未加入
prop
:
'
joinTi
me'
,
prop
:
'
isJoinNa
me'
,
width
:
1
7
0
width
:
1
3
0
},
},
{
{
label
:
'购车时间'
,
label
:
'购车时间'
,
prop
:
'
joinTim
e'
,
prop
:
'
buyDat
e'
,
width
:
1
7
0
width
:
1
3
0
},
},
{
{
label
:
'添加时间'
,
label
:
'添加时间'
,
prop
:
'joinTime'
,
prop
:
'addTime'
,
width
:
170
width
:
130
}
},
],
tableOption
:
{
width
:
60
,
btnList
:
[
{
{
name
:
'详情'
,
label
:
'操作'
,
pType
:
'detail'
width
:
'66px'
,
addHtml
:
'optionBtns'
,
fixed
:
'right'
}
}
]
]
}
},
}
getListApi
:
getcrowdManageList
,
// getListApi: getDetailQuitTableList,
status
:
true
}
}
},
},
created
()
{
created
()
{
...
@@ -291,7 +298,8 @@ export default {
...
@@ -291,7 +298,8 @@ export default {
if
(
this
.
queryTab
)
{
if
(
this
.
queryTab
)
{
this
.
activeName
=
this
.
queryTab
==
'first'
?
'first'
:
'second'
this
.
activeName
=
this
.
queryTab
==
'first'
?
'first'
:
'second'
}
}
this
.
getMarketingPeople
()
// this.getMarketingPeople()
this
.
getStaffList
()
},
},
mounted
()
{
mounted
()
{
new
Swiper
(
'.swiper-container'
,
{
new
Swiper
(
'.swiper-container'
,
{
...
@@ -308,18 +316,79 @@ export default {
...
@@ -308,18 +316,79 @@ export default {
})
})
},
},
methods
:
{
methods
:
{
// 获取营销人群展示
marketSOP
()
{
getMarketingPeople
()
{
let
params
=
this
.
itemArr
[
this
.
isActive
]
this
.
createMarketSOP
(
params
)
},
// 处理时间参数
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
searchForm
))
console
.
log
(
params
)
if
(
params
.
carBuyDate
)
{
params
.
beginCarBuyDate
=
this
.
searchForm
.
carBuyDate
[
0
]
params
.
endCarBuyDate
=
this
.
searchForm
.
carBuyDate
[
1
]
}
else
{
if
(
params
.
beginCarBuyDate
)
delete
params
.
beginCarBuyDate
&&
delete
params
.
endCarBuyDate
}
if
(
params
.
InsEndDate
)
{
params
.
beginCInsEndDate
=
this
.
searchForm
.
InsEndDate
[
0
]
params
.
endInsEndDate
=
this
.
searchForm
.
InsEndDate
[
1
]
}
else
{
if
(
params
.
beginCInsEndDate
)
delete
params
.
beginCInsEndDate
&&
delete
params
.
endInsEndDate
}
delete
params
.
carBuyDate
delete
params
.
InsEndDate
return
params
},
async
beforeSearchFn
()
{
if
(
this
.
status
)
{
this
.
status
=
false
let
params
=
{
let
params
=
{
'req.crowdGroupId'
:
this
.
crowdGroupId
'req.crowdGroupId'
:
this
.
crowdGroupId
}
}
marketingPeopleListShow
(
params
).
then
(
res
=>
{
await
marketingPeopleListShow
(
params
).
then
(
res
=>
{
this
.
itemArr
=
res
.
crowdUnitList
this
.
itemArr
=
res
.
crowdUnitList
this
.
showTitle
=
this
.
itemArr
[
0
].
crowdName
this
.
searchForm
.
crowdId
=
53
})
}
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
searchForm
=
this
.
getParams
()
resolve
()
})
},
// 跳转到详情页面
goDetail
(
scope
)
{
this
.
$router
.
push
(
'/clientManage/clientDetail?id='
+
scope
.
oneId
)
},
// 获取跟进员工
getStaffList
(
val
)
{
const
params
=
{
staffName
:
val
?
val
.
trim
()
:
''
}
getStaffList
(
params
).
then
(
res
=>
{
if
(
res
.
length
==
0
)
{
return
''
}
const
id
=
this
.
marketPeopleFormList
.
findIndex
(
item
=>
{
return
item
.
name
==
'followStaff'
})
const
staff
=
res
.
map
(
item
=>
{
return
{
label
:
item
.
staffName
,
value
:
item
.
staffName
}
})
staff
.
unshift
({
label
:
'全部'
,
value
:
''
})
console
.
log
(
staff
)
this
.
$nextTick
(()
=>
{
this
.
marketPeopleFormList
[
id
].
optionList
=
staff
})
})
})
},
},
// 搜索表格
// 搜索表格
searchTable
()
{
searchTable
()
{
console
.
log
(
this
.
searchForm
)
this
.
$refs
.
marketPeople
.
refreshTable
()
this
.
$refs
.
marketPeople
.
refreshTable
()
},
},
//重置表格
//重置表格
...
@@ -329,6 +398,7 @@ export default {
...
@@ -329,6 +398,7 @@ export default {
},
},
// 跳转到营销SOP
// 跳转到营销SOP
createMarketSOP
(
info
)
{
createMarketSOP
(
info
)
{
console
.
log
(
info
)
let
marketQuery
=
{
let
marketQuery
=
{
crowdDesc
:
info
.
crowdDesc
,
crowdDesc
:
info
.
crowdDesc
,
crowdId
:
info
.
crowdId
,
crowdId
:
info
.
crowdId
,
...
@@ -337,7 +407,7 @@ export default {
...
@@ -337,7 +407,7 @@ export default {
}
}
var
params
=
{
var
params
=
{
addOrEdit
:
'add'
,
addOrEdit
:
'add'
,
fromPage
:
`/
npmph/clientDataOverview/marketingPeople?crowdId=
${
this
.
crowdGroupId
}
&selectTab=
${
this
.
activeName
}
`
,
fromPage
:
`/
custom/clientDataOverview/marketingPeople?crowdId=
${
this
.
crowdGroupId
}
&selectTab=first
`
,
$title
:
encodeURI
(
'新建SOP'
),
$title
:
encodeURI
(
'新建SOP'
),
info
:
{
info
:
{
// 人群
// 人群
...
@@ -362,10 +432,15 @@ export default {
...
@@ -362,10 +432,15 @@ export default {
}
}
},
},
// 选择的人群
// 选择的人群
choickItem
(
idx
,
title
)
{
choickItem
(
idx
,
title
,
id
)
{
this
.
isActive
=
idx
this
.
isActive
=
idx
this
.
showTitle
=
title
this
.
showTitle
=
title
console
.
log
(
id
)
// 发送请求查询列表
// 发送请求查询列表
this
.
searchForm
=
{
crowdId
:
58
}
this
.
searchTable
()
},
},
setTableFinishFun
()
{
setTableFinishFun
()
{
// this.$refs.marketPeople.data.length ? (this.$refs.marketPeople.tableHeightValues = '') : this.$refs.marketPeople.setTableHeightFun()
// this.$refs.marketPeople.data.length ? (this.$refs.marketPeople.tableHeightValues = '') : this.$refs.marketPeople.setTableHeightFun()
...
@@ -375,13 +450,33 @@ export default {
...
@@ -375,13 +450,33 @@ export default {
},
},
handleClick
(
tab
)
{
handleClick
(
tab
)
{
console
.
log
(
tab
)
console
.
log
(
tab
)
// this.activeName
}
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.expandImg
{
display
:
flex
;
.smallFontSize
{
margin-left
:
2px
;
height
:
20px
;
font-size
:
12px
;
letter-spacing
:
0
;
line-height
:
20px
;
font-weight
:
400
;
}
.imgEll
{
margin-left
:
6.5px
;
cursor
:
pointer
;
}
}
.pure-green-text
{
color
:
#61cc43
;
}
.pure-yello-text
{
color
:
#fb8f28
;
}
/
deep
/
.swiper-container-horizontal
>
.swiper-pagination-progressbar
{
/
deep
/
.swiper-container-horizontal
>
.swiper-pagination-progressbar
{
width
:
5%
;
width
:
5%
;
bottom
:
0px
;
bottom
:
0px
;
...
...
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