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 819cef52
authored
Mar 14, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
b2e77304
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
72 deletions
src/views/clientDataOverview/group.vue
src/views/clientDataOverview/index.vue
src/views/crowdManage/crowdAdd.vue
src/views/crowdManage/crowdDetail.vue
src/views/clientDataOverview/group.vue
View file @
819cef5
<
template
>
<
template
>
<div
class=
"scrm-sub-client-container"
>
<div
class=
"scrm-sub-client-container"
>
<div
class=
"head-container"
>
<div
class=
"head-container"
>
<div
class=
"head-container-title color-3 font-20"
>
{{
describeData
[
id
-
1
].
name
}}
</div>
<div
class=
"head-container-title color-3 font-20"
>
{{
crowdForm
.
crowdName
}}
</div>
<div
class=
"head-container-content color-6 font-14"
>
{{
describeData
[
id
-
1
].
info
}}
</div>
<div
class=
"head-container-content color-6 font-14"
>
{{
crowdForm
.
crowdDesc
}}
</div>
<!--
<div
class=
"reminder font-14 color-3"
>
企业标签 | 自动更新
</div>
-->
<!--
<div
class=
"reminder font-14 color-3"
>
企业标签 | 自动更新
</div>
-->
<div
class=
"back color-58 font-14"
@
click=
"goBack"
>
返回人群管理
</div>
<div
class=
"back color-58 font-14"
@
click=
"goBack"
>
返回人群管理
</div>
</div>
</div>
...
@@ -29,15 +29,15 @@
...
@@ -29,15 +29,15 @@
<span>
{{
list
.
nickName
}}
</span>
<span>
{{
list
.
nickName
}}
</span>
<span
class=
"smallFontSize"
:class=
"[list.type == 1 ? 'pure-green-text' : '', list.type == 2 ? 'pure-yello-text' : '']"
>
@
{{
list
.
corpName
}}
</span>
<span
class=
"smallFontSize"
:class=
"[list.type == 1 ? 'pure-green-text' : '', list.type == 2 ? 'pure-yello-text' : '']"
>
@
{{
list
.
corpName
}}
</span>
</div>
</div>
<span
v-if=
"idx == 1"
>
<span
v-if=
"idx == 1"
>
<el-popover
placement=
"right-start"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<el-popover
placement=
"right-start"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<div
style=
"padding-bottom:
3px !important"
v-for=
"(i, index) in scope.scope.nickNameList"
:key=
"index"
>
<div
style=
"padding-bottom:
3px !important"
v-for=
"(i, index) in scope.scope.nickNameList"
:key=
"index"
>
<span>
{{
i
.
nickName
}}
</span>
<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>
<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>
</div>
<img
class=
"imgEll"
src=
"@/assets/tagsManage/ellipsis.png"
alt=
""
slot=
"reference"
/>
<img
class=
"imgEll"
src=
"@/assets/tagsManage/ellipsis.png"
alt=
""
slot=
"reference"
/>
</el-popover>
</el-popover>
</span>
</span>
</div>
</div>
</div>
</div>
</GLTable>
</GLTable>
...
@@ -55,6 +55,7 @@ export default {
...
@@ -55,6 +55,7 @@ export default {
getListApi
:
getCustomerList
,
getListApi
:
getCustomerList
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'count'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'count'
},
tableSearchForm
:
{},
tableSearchForm
:
{},
crowdForm
:
{},
id
:
this
.
$route
.
params
.
id
?
this
.
$route
.
params
.
id
:
''
,
id
:
this
.
$route
.
params
.
id
?
this
.
$route
.
params
.
id
:
''
,
totalCount
:
''
,
totalCount
:
''
,
tableParams
:
{
tableParams
:
{
...
@@ -110,50 +111,8 @@ export default {
...
@@ -110,50 +111,8 @@ export default {
}
}
]
]
},
},
describeData
:
[
{
url
:
url
name
:
'潜在意向客户'
,
info
:
'无购车且无其他交易行为的所有客户'
},
{
name
:
'潜在意向客户(已加企微客户)'
,
info
:
'在潜在意向客户中,已加企微的客户'
},
{
name
:
'潜在意向客户(未加企微客户)'
,
info
:
'在潜在意向客户中,未加企微的客户'
},
{
name
:
'基盘客户'
,
info
:
'有购车或其他交易行为的所有客户'
},
{
name
:
'基盘客户(已加企微客户)'
,
info
:
'在基盘客户中,已加企微的客户'
},
{
name
:
'基盘客户(未加企微客户)'
,
info
:
'在基盘客户中,未加企微的客户'
},
{
name
:
'新车客户'
,
info
:
'购车时间3个月的客户'
},
{
name
:
'车险待续保客户'
,
info
:
'近一个月内车险即将到期的客户'
},
{
name
:
'新车待首保客户'
,
info
:
'购车时间5~7个月内,且无保养记录的客户'
},
{
name
:
'沉默客户'
,
info
:
'超过180天未到店的客户'
}
],
url
:
url
,
//describeData: ['无购车且无其他交易行为的所有客户', '在潜在意向客户中,已加企微的客户', '在潜在意向客户中,未加企微的客户', '有购车或其他交易行为的所有客户', '在基盘客户中,已加企微的客户', '在基盘客户中,未加企微的客户', '购车时间3个月的客户', '近一个月内车险即将到期的客户', '购车时间5~7个月内,且无保养记录的客户', '超过180天未到店的客户']
}
}
},
},
created
()
{
created
()
{
...
@@ -171,8 +130,21 @@ export default {
...
@@ -171,8 +130,21 @@ export default {
this
.
tableSearchForm
=
{
this
.
tableSearchForm
=
{
crowdId
:
id
crowdId
:
id
}
}
// 通过人群Id查询人群详情
this
.
getCrowdDetails
()
// this.getTotalCount()
// this.getTotalCount()
},
},
getCrowdDetails
()
{
let
params
=
{
'req.crowdId'
:
this
.
id
}
this
.
$apis
.
crowdManage
.
getCrowdDetails
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
crowdForm
.
crowdName
=
res
.
data
.
crowdName
this
.
crowdForm
.
crowdDesc
=
res
.
data
.
crowdDesc
}
})
},
//导出
//导出
handleExport
()
{
handleExport
()
{
var
params
=
{
var
params
=
{
...
...
src/views/clientDataOverview/index.vue
View file @
819cef5
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
</div>
</div>
<div
class=
"itembox"
>
<div
class=
"itembox"
>
<div
class=
"no-buy"
>
<div
class=
"no-buy"
>
<
GLButton
class=
"no-buy-total item"
@
click=
"goto(1)"
fn=
"人群客户列表"
mode=
"div"
>
<
div
class=
"no-buy-total item"
@
click=
"goto(1)"
fn=
"人群客户列表"
mode=
"div"
>
<span>
潜在意向客户数
</span>
<span>
潜在意向客户数
</span>
<span>
无购车且无其他交易行为的所有客户
</span>
<span>
无购车且无其他交易行为的所有客户
</span>
<span
v-if=
"!isEmptyObj"
>
<span
v-if=
"!isEmptyObj"
>
...
@@ -63,11 +63,11 @@
...
@@ -63,11 +63,11 @@
<!-- <i class="vertical-line"></i> -->
<!-- <i class="vertical-line"></i> -->
<no-data
:type=
"'hasText'"
v-if=
"isEmptyObj"
></no-data>
<no-data
:type=
"'hasText'"
v-if=
"isEmptyObj"
></no-data>
</
GLButton
>
</
div
>
<el-divider
direction=
"vertical"
></el-divider>
<el-divider
direction=
"vertical"
></el-divider>
<div
class=
"rightWrap"
>
<div
class=
"rightWrap"
>
<
GLButton
class=
"inCompanyWechatNum item smallWrap"
@
click=
"goto(2)"
fn=
"人群客户列表"
mode=
"div"
>
<
div
class=
"inCompanyWechatNum item smallWrap"
@
click=
"goto(2)"
fn=
"人群客户列表"
mode=
"div"
>
<span>
已加企微客户数
</span>
<span>
已加企微客户数
</span>
<span>
<span>
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
...
@@ -75,9 +75,9 @@
...
@@ -75,9 +75,9 @@
</span>
</span>
<span>
在潜在意向客户中,已加企微的客户
</span>
<span>
在潜在意向客户中,已加企微的客户
</span>
<!-- <i class="horizontal-line"></i> -->
<!-- <i class="horizontal-line"></i> -->
</
GLButton
>
</
div
>
<el-divider></el-divider>
<el-divider></el-divider>
<
GLButton
class=
"outCompanyWechatNum item smallWrap"
@
click=
"goto(3)"
fn=
"人群客户列表"
mode=
"div"
>
<
div
class=
"outCompanyWechatNum item smallWrap"
@
click=
"goto(3)"
fn=
"人群客户列表"
mode=
"div"
>
<span>
未加企微客户数
</span>
<span>
未加企微客户数
</span>
<span>
<span>
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
...
@@ -89,11 +89,11 @@
...
@@ -89,11 +89,11 @@
引流企微
引流企微
<i
class=
"el-icon-d-arrow-right"
></i>
<i
class=
"el-icon-d-arrow-right"
></i>
</button>
</button>
</
GLButton
>
</
div
>
</div>
</div>
</div>
</div>
<div
class=
"buy"
>
<div
class=
"buy"
>
<
GLButton
class=
"buy-total item"
@
click=
"goto(4)"
fn=
"人群客户列表"
mode=
"div"
>
<
div
class=
"buy-total item"
@
click=
"goto(4)"
fn=
"人群客户列表"
mode=
"div"
>
<!-- <span>购买(存档)客户数</span> -->
<!-- <span>购买(存档)客户数</span> -->
<span>
基盘客户数
</span>
<span>
基盘客户数
</span>
<span>
有购车或其他交易行为的所有客户
</span>
<span>
有购车或其他交易行为的所有客户
</span>
...
@@ -110,10 +110,10 @@
...
@@ -110,10 +110,10 @@
<no-data
:type=
"'hasText'"
v-if=
"isEmptyObj"
></no-data>
<no-data
:type=
"'hasText'"
v-if=
"isEmptyObj"
></no-data>
<!-- <i class="vertical-line"></i> -->
<!-- <i class="vertical-line"></i> -->
</
GLButton
>
</
div
>
<el-divider
direction=
"vertical"
></el-divider>
<el-divider
direction=
"vertical"
></el-divider>
<div
class=
"rightWrap"
>
<div
class=
"rightWrap"
>
<
GLButton
class=
"inCompanyWechatNum item smallWrap"
@
click=
"goto(5)"
fn=
"人群客户列表"
mode=
"div"
>
<
div
class=
"inCompanyWechatNum item smallWrap"
@
click=
"goto(5)"
fn=
"人群客户列表"
mode=
"div"
>
<span>
已加企微客户数
</span>
<span>
已加企微客户数
</span>
<span>
<span>
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
...
@@ -122,9 +122,9 @@
...
@@ -122,9 +122,9 @@
<span>
在基盘客户中,已加企微的客户
</span>
<span>
在基盘客户中,已加企微的客户
</span>
<!-- <button class="btn">企微魔方>></button> -->
<!-- <button class="btn">企微魔方>></button> -->
<!-- <i class="horizontal-line"></i> -->
<!-- <i class="horizontal-line"></i> -->
</
GLButton
>
</
div
>
<el-divider></el-divider>
<el-divider></el-divider>
<
GLButton
class=
"outCompanyWechatNum item smallWrap"
@
click=
"goto(6)"
fn=
"人群客户列表"
mode=
"div"
>
<
div
class=
"outCompanyWechatNum item smallWrap"
@
click=
"goto(6)"
fn=
"人群客户列表"
mode=
"div"
>
<span>
未加企微客户数
</span>
<span>
未加企微客户数
</span>
<span>
<span>
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
引流企微
引流企微
<i
class=
"el-icon-d-arrow-right"
></i>
<i
class=
"el-icon-d-arrow-right"
></i>
</button>
</button>
</
GLButton
>
</
div
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
<h3
class=
"pageSubTitle"
>
客户分群
</h3>
<h3
class=
"pageSubTitle"
>
客户分群
</h3>
<div
class=
"itembox"
>
<div
class=
"itembox"
>
<
template
v-for=
"(item, index) in titles"
>
<
template
v-for=
"(item, index) in titles"
>
<
GLButton
class=
"item"
@
click=
"goto(item.id)"
fn=
"人群客户列表"
mode=
"div"
:key=
"index"
>
<
div
class=
"item"
@
click=
"goto(item.id)"
fn=
"人群客户列表"
mode=
"div"
:key=
"index"
>
<p>
{{
item
.
name
}}
</p>
<p>
{{
item
.
name
}}
</p>
<p>
{{
item
.
subName
}}
</p>
<p>
{{
item
.
subName
}}
</p>
<p>
<p>
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
<span
class=
"person-text"
>
人
</span>
<span
class=
"person-text"
>
人
</span>
</p>
</p>
<img
:src=
"item.url"
alt=
""
/>
<img
:src=
"item.url"
alt=
""
/>
</
GLButton
>
</
div
>
</
template
>
</
template
>
</div>
</div>
</div>
</div>
...
...
src/views/crowdManage/crowdAdd.vue
View file @
819cef5
...
@@ -175,7 +175,7 @@ export default {
...
@@ -175,7 +175,7 @@ export default {
offsetTop
:
0
,
offsetTop
:
0
,
expande
:
false
,
expande
:
false
,
isClick
:
false
,
isClick
:
false
,
addClick
:
false
,
addClick
:
false
,
isDom
:
false
,
isDom
:
false
,
isShowCloseBtn
:
true
,
isShowCloseBtn
:
true
,
tableData
:
[],
tableData
:
[],
...
@@ -250,13 +250,13 @@ export default {
...
@@ -250,13 +250,13 @@ export default {
let
height
=
document
.
getElementById
(
'selectTagBox'
).
offsetHeight
let
height
=
document
.
getElementById
(
'selectTagBox'
).
offsetHeight
console
.
log
(
height
,
'数据监听'
)
console
.
log
(
height
,
'数据监听'
)
if
(
!
this
.
isFixed
||
this
.
addClick
)
{
if
(
!
this
.
isFixed
||
this
.
addClick
)
{
//判断是否可以触发
//判断是否可以触发
this
.
isClick
=
false
this
.
isClick
=
false
this
.
expande
=
false
this
.
expande
=
false
}
}
console
.
log
(
this
.
isClick
)
console
.
log
(
this
.
isClick
)
if
(
!
this
.
isClick
||
this
.
addClick
||
!
this
.
isFixed
)
{
if
(
!
this
.
isClick
||
this
.
addClick
||
!
this
.
isFixed
)
{
//获取当前元素的高
//获取当前元素的高
if
(
height
>
96
)
{
if
(
height
>
96
)
{
...
@@ -939,6 +939,10 @@ export default {
...
@@ -939,6 +939,10 @@ export default {
b
{
b
{
color
:
#666666
;
color
:
#666666
;
}
}
span
{
white-space
:
nowrap
;
}
}
}
.static-image
{
.static-image
{
width
:
335px
;
width
:
335px
;
...
...
src/views/crowdManage/crowdDetail.vue
View file @
819cef5
...
@@ -285,6 +285,9 @@ export default {
...
@@ -285,6 +285,9 @@ export default {
b
{
b
{
color
:
#666666
;
color
:
#666666
;
}
}
span
{
white-space
:
nowrap
;
}
}
}
.static-image
{
.static-image
{
width
:
335px
;
width
:
335px
;
...
...
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