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 754100e5
authored
Mar 30, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
other:样式,功能修改
1 parent
ad9e702a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
89 additions
and
65 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 @
754100e
...
@@ -6,85 +6,86 @@
...
@@ -6,85 +6,86 @@
* @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'
,
// url:'http://192.168.3.181:9636/rop-scrm-datahub/router',
// url:'http://192.168.3.181:9636/rop-scrm-datahub/router',
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
//通过人群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'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
//创建人群
//创建人群
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'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
//根据标签组合查询人群客户数
//根据标签组合查询人群客户数
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'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
//搜索框查询
//搜索框查询
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'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
//标签组树查询
//标签组树查询
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'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
returnAll
:
true
returnAll
:
true
})
})
}
}
export
default
{
export
default
{
getCrowdList
,
getCrowdList
,
getCrowdDetails
,
getCrowdDetails
,
addCrowd
,
addCrowd
,
getCrowdCount
,
getCrowdCount
,
getSearchBox
,
getSearchBox
,
getLabelTreeList
getLabelTreeList
}
}
src/assets/css/public.scss
View file @
754100e
...
@@ -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 @
754100e
...
@@ -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 @
754100e
...
@@ -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 @
754100e
...
@@ -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 @
754100e
...
@@ -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