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 49c500a3
authored
Mar 30, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'wangzh_dev_2.0.0' into 'v2.0.0'
other:样式,功能修改 See merge request
!8
2 parents
1ed225b4
754100e5
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
10 deletions
src/api/modules/crowdManage.js
src/assets/css/public.scss
src/views/clientDataOverview/group.vue
src/views/crowdManage/crowdAdd.vue
src/views/crowdManage/crowdDetail.vue
src/views/crowdManage/index.vue
src/api/modules/crowdManage.js
View file @
49c500a
...
@@ -6,11 +6,12 @@
...
@@ -6,11 +6,12 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
,
http3
}
from
'@/main'
import
{
http
,
http3
}
from
'@/main'
// http 对应的域名http://ismv.branch.glsx.com.cn
// http 对应的域名http://ismv.branch.glsx.com.cn
// 查询推荐人群和自定义人群列表
// 查询推荐人群和自定义人群列表
const
getCrowdList
=
(
params
)
=>
{
const
getCrowdList
=
params
=>
{
params
.
method
=
'scrm.api.datahub.user.queryCrowdTree'
params
.
method
=
'scrm.api.datahub.user.queryCrowdTree'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
...
@@ -23,7 +24,7 @@ const getCrowdList=(params)=> {
...
@@ -23,7 +24,7 @@ const getCrowdList=(params)=> {
}
}
//通过人群Id查询人群详情
//通过人群Id查询人群详情
const
getCrowdDetails
=
(
params
)
=>
{
const
getCrowdDetails
=
params
=>
{
params
.
method
=
'scrm.api.datahub.user.queryCrowdDetailsById'
params
.
method
=
'scrm.api.datahub.user.queryCrowdDetailsById'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
...
@@ -34,7 +35,7 @@ const getCrowdDetails=(params) =>{
...
@@ -34,7 +35,7 @@ const getCrowdDetails=(params) =>{
})
})
}
}
//创建人群
//创建人群
const
addCrowd
=
(
params
)
=>
{
const
addCrowd
=
params
=>
{
params
.
method
=
'scrm.api.datahub.user.addCrowd'
params
.
method
=
'scrm.api.datahub.user.addCrowd'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
...
@@ -46,7 +47,7 @@ const addCrowd=(params) =>{
...
@@ -46,7 +47,7 @@ const addCrowd=(params) =>{
}
}
//根据标签组合查询人群客户数
//根据标签组合查询人群客户数
const
getCrowdCount
=
(
params
)
=>
{
const
getCrowdCount
=
params
=>
{
params
.
method
=
'scrm.api.datahub.user.queryCrowdCountByTagCombine'
params
.
method
=
'scrm.api.datahub.user.queryCrowdCountByTagCombine'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
...
@@ -57,7 +58,7 @@ const getCrowdCount=(params) =>{
...
@@ -57,7 +58,7 @@ const getCrowdCount=(params) =>{
})
})
}
}
//搜索框查询
//搜索框查询
const
getSearchBox
=
(
params
)
=>
{
const
getSearchBox
=
params
=>
{
params
.
method
=
'scrm.api.datahub.labelgroup.querySearchBox'
params
.
method
=
'scrm.api.datahub.labelgroup.querySearchBox'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
...
@@ -69,7 +70,7 @@ const getSearchBox=(params) =>{
...
@@ -69,7 +70,7 @@ const getSearchBox=(params) =>{
}
}
//标签组树查询
//标签组树查询
const
getLabelTreeList
=
(
params
)
=>
{
const
getLabelTreeList
=
params
=>
{
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelGroupTree'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelGroupTree'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
...
...
src/assets/css/public.scss
View file @
49c500a
...
@@ -90,4 +90,5 @@ background: transparent !important;
...
@@ -90,4 +90,5 @@ background: transparent !important;
}
}
.mg2
{
.mg2
{
margin-left
:
20px
;
margin-left
:
20px
;
margin-right
:
20px
;
}
}
\ No newline at end of file
\ No newline at end of file
src/views/clientDataOverview/group.vue
View file @
49c500a
...
@@ -153,6 +153,7 @@ export default {
...
@@ -153,6 +153,7 @@ export default {
pageSize
:
10
,
pageSize
:
10
,
pageNum
:
1
pageNum
:
1
}
}
if
(
this
.
crowdType
)
params
.
customCrowd
=
true
customerClusterListExport
(
params
).
then
(
res
=>
{
customerClusterListExport
(
params
).
then
(
res
=>
{
this
.
$Utils
.
exportFn
(
res
)
this
.
$Utils
.
exportFn
(
res
)
})
})
...
...
src/views/crowdManage/crowdAdd.vue
View file @
49c500a
...
@@ -895,6 +895,7 @@ export default {
...
@@ -895,6 +895,7 @@ export default {
width
:
100%
;
width
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
z-index
:
999
;
.
el-button
:
nth-child
(
2
)
{
.
el-button
:
nth-child
(
2
)
{
margin-left
:
20px
;
margin-left
:
20px
;
}
}
...
...
src/views/crowdManage/crowdDetail.vue
View file @
49c500a
...
@@ -270,6 +270,7 @@ export default {
...
@@ -270,6 +270,7 @@ export default {
width
:
100%
;
width
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
z-index
:
999
;
div
{
div
{
display
:
inline-block
;
display
:
inline-block
;
position
:
relative
;
position
:
relative
;
...
...
src/views/crowdManage/index.vue
View file @
49c500a
...
@@ -16,7 +16,13 @@
...
@@ -16,7 +16,13 @@
<el-button
class=
"searchBtn"
type=
"primary"
@
click=
"searchTable"
>
查询
</el-button>
<el-button
class=
"searchBtn"
type=
"primary"
@
click=
"searchTable"
>
查询
</el-button>
</span>
</span>
</search-form>
</search-form>
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
v-if=
"isReload"
ref=
"crowdManage"
:hasNum=
"false"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
:searchForm=
"searchForm"
:pageConf=
"pageConf"
:noDataImg=
"url"
:tableParams=
"tableParams"
:headerStyle=
"
{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<GLTable
class=
"crowdTable"
@
setTableFinishFun=
"setTableFinishFun"
v-if=
"isReload"
ref=
"crowdManage"
:hasNum=
"false"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
:searchForm=
"searchForm"
:pageConf=
"pageConf"
:noDataImg=
"url"
:tableParams=
"tableParams"
:headerStyle=
"
{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<span
slot=
"crowdName"
slot-scope=
"scope"
>
<span
class=
"line-ellipsis"
>
{{
scope
.
scope
.
crowdName
.
slice
(
0
,
24
)
}}
</span>
</span>
<span
slot=
"crowdDesc"
slot-scope=
"scope"
>
<span
class=
"line-ellipsis"
>
{{
scope
.
scope
.
crowdDesc
.
slice
(
0
,
24
)
}}
</span>
</span>
<template
slot=
"xxx"
slot-scope=
"scope"
>
<template
slot=
"xxx"
slot-scope=
"scope"
>
<!--
<span
@
click=
"btnClick('detail', scope.scope)"
class=
"blue-text"
>
查看详情
</span>
-->
<!--
<span
@
click=
"btnClick('detail', scope.scope)"
class=
"blue-text"
>
查看详情
</span>
-->
<GLButton
type=
"text"
@
click=
"btnClick('detail', scope.scope)"
class=
"blue-text"
fn=
"查看详情"
>
查看详情
</GLButton>
<GLButton
type=
"text"
@
click=
"btnClick('detail', scope.scope)"
class=
"blue-text"
fn=
"查看详情"
>
查看详情
</GLButton>
...
@@ -59,14 +65,16 @@ export default {
...
@@ -59,14 +65,16 @@ export default {
{
{
label
:
'人群名称'
,
label
:
'人群名称'
,
prop
:
'crowdName'
,
prop
:
'crowdName'
,
//
addHtml: 'crowdName',
addHtml
:
'crowdName'
,
align
:
'left'
align
:
'left'
// width: 431
},
},
{
{
label
:
'人群描述'
,
label
:
'人群描述'
,
prop
:
'crowdDesc'
,
prop
:
'crowdDesc'
,
addHtml
:
'crowdDesc'
,
align
:
'left'
align
:
'left'
// width:
180
// width:
431
},
},
{
{
label
:
'人数'
,
label
:
'人数'
,
...
@@ -240,5 +248,16 @@ export default {
...
@@ -240,5 +248,16 @@ export default {
position
:
relative
;
position
:
relative
;
}
}
}
}
.crowdTable
{
padding
:
0
20px
;
/deep/
.line-ellipsis
{
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
width
:
20vw
;
display
:
block
;
}
}
}
}
</
style
>
</
style
>
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