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 7380654c
authored
Mar 17, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
e0eac431
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
124 additions
and
77 deletions
src/api/modules/clientDataOverview.js
src/config/index.js
src/styles/resetelement.scss
src/views/clientManage/clientDetail.vue
src/views/clientManage/index.vue
src/views/crowdManage/crowdAdd.vue
src/views/crowdManage/crowdDetail.vue
src/views/crowdManage/index.vue
src/api/modules/clientDataOverview.js
View file @
7380654
...
...
@@ -32,11 +32,12 @@ export function getDataOverviewBarMap(params) {
})
}
//
客户分群列表
接口
//
获取自定义分群客户列表数据
接口
export
function
getCustomerList
(
params
)
{
params
.
method
=
'entmicro.api.customer.c
luster
.page'
params
.
method
=
'entmicro.api.customer.c
rowd
.page'
return
http3
({
url
:
'/rop-scrm-entmicro/router'
,
// url:'http://192.168.3.193:8395/rop-scrm-entmicro/router',
method
:
'POST'
,
data
:
params
,
sign
:
true
...
...
src/config/index.js
View file @
7380654
...
...
@@ -18,9 +18,9 @@ export const fetchConfig = function (isEnv = true) {
return
Promise
.
resolve
(
cfg
)
}
return
new
Http
({
request
:{
timeout
:
3000
}}).
get
(
'https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2'
)
//
return new Http({request:{timeout:3000}}).get('https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config2')
//开发环境mock
//
return new Http({ request: { timeout: 3000 } }).get('http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2')
return
new
Http
({
request
:
{
timeout
:
3000
}
}).
get
(
'http://192.168.3.171:7300/mock/616d3b131072f92988f05a01/custom/config2'
)
}
export
const
config
=
{
install
(
vue
,
cfg
)
{
...
...
src/styles/resetelement.scss
View file @
7380654
...
...
@@ -26,3 +26,43 @@
.el-range-editor.is-active
:hover
{
border-color
:
$btnBlue
;
}
.el-message-box
{
width
:
547px
;
height
:
310px
;
box-sizing
:
border-box
;
padding-bottom
:
10px
;
}
.el-message-box__title
{
padding-left
:
0
;
margin-bottom
:
0
;
font-size
:
20px
;
line-height
:
1
;
color
:
#333
;
}
.el-message-box__title
{
display
:
block
!
important
;
}
.el-message-box__headerbtn
{
display
:
block
!
important
;
color
:
#666666
;
}
.el-message-box__header
{
position
:
relative
;
padding
:
15px
20px
;
border-bottom
:
1px
solid
#E6E6E6
;
}
.el-message-box__content
{
text-align
:
center
;
padding
:
60px
0
;
}
.el-icon-warning
{
display
:
block
!
important
;
font-size
:
33px
!
important
;
color
:
#5850FF
!
important
;
position
:relative
;
left
:
50%
;
transform
:
translateX
(
-50%
);
margin-bottom
:
12px
;
}
\ No newline at end of file
src/views/clientManage/clientDetail.vue
View file @
7380654
...
...
@@ -8,14 +8,14 @@
</div>
-->
<div
class=
"content"
>
<div
class=
"leftWrap"
>
<div
class=
"avatorStyle"
>
<div
class=
"avatorStyle"
>
<div
class=
"avator"
>
<img
:src=
"leftPanelInfo.avatar"
alt=
""
v-if=
"leftPanelInfo.avatar"
/>
<img
src=
"@/assets/clientDetail/defaultAvator.png"
alt=
""
v-else
/>
<img
:src=
"leftPanelInfo.avatar"
alt=
""
v-if=
"leftPanelInfo.avatar"
/>
<img
src=
"@/assets/clientDetail/defaultAvator.png"
alt=
""
v-else
/>
</div>
<span
class=
"customerID"
>
客户ID:
{{
leftPanelInfo
.
oneId
}}
</span>
</div>
<span
class=
"customerID"
>
客户ID:
{{
leftPanelInfo
.
oneId
}}
</span>
</div>
<hr>
<hr
/>
<div
class=
"leftWrapTop"
>
<div
class=
"baseInfo"
>
<span>
基本信息
</span>
...
...
@@ -56,7 +56,7 @@
</p>
<p>
<span>
证件号码:
</span>
<span
class=
"ellipsis-1"
>
{{
leftPanelInfo
.
idCard
}}
</span>
<span
class=
"ellipsis-1"
>
{{
leftPanelInfo
.
idCard
}}
</span>
</p>
<p>
<span>
性别:
</span>
...
...
@@ -417,24 +417,24 @@ export default {
{
label
:
'跟进员工'
,
prop
:
'staffName'
,
//
align: 'left'
align
:
'left'
},
{
label
:
'所属部门'
,
prop
:
'departmentName'
,
//
align: 'left'
align
:
'left'
},
{
label
:
'添加时间'
,
prop
:
'addTime'
,
minWidth
:
160
,
//
align: 'left'
align
:
'left'
},
{
label
:
'来源'
,
prop
:
'addWay'
,
addHtml
:
'addWay'
,
//
align: 'left',
align
:
'left'
,
minWidth
:
120
},
{
...
...
@@ -442,23 +442,23 @@ export default {
prop
:
'addType'
,
addHtml
:
'addType'
,
width
:
170
,
//
align: 'left'
align
:
'left'
},
{
label
:
'备注手机号'
,
prop
:
'remarkMobiles'
,
minWidth
:
120
,
//
align: 'left'
align
:
'left'
},
{
label
:
'备注'
,
prop
:
'remark'
,
//
align: 'left'
align
:
'left'
},
{
label
:
'描述'
,
prop
:
'description'
,
//
align: 'left'
align
:
'left'
}
]
},
...
...
@@ -471,27 +471,27 @@ export default {
label
:
'群聊名称'
,
prop
:
'groupName'
,
addHtml
:
'groupName'
,
//
align: 'left'
align
:
'left'
},
{
label
:
'群主'
,
prop
:
'groupHostName'
,
//
align: 'left'
align
:
'left'
},
{
label
:
'客户数'
,
prop
:
'membersNumber'
,
//
align: 'left'
align
:
'left'
},
{
label
:
'本群昵称'
,
prop
:
'groupNickName'
,
//
align: 'left'
align
:
'left'
},
{
label
:
'入群时间'
,
prop
:
'joinTime'
,
//
align: 'left'
align
:
'left'
},
{
label
:
'操作'
,
...
...
@@ -531,7 +531,7 @@ export default {
label
:
'已打标签'
,
prop
:
'labelInfoList'
,
addHtml
:
'labelInfoList'
,
//
align: 'left'
align
:
'left'
}
]
},
...
...
@@ -953,21 +953,20 @@ export default {
padding
:
0
20px
;
.baseInfo
{
padding-top
:
5px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
span
{
font-size
:
16px
;
font-weight
:
600
;
}
.iconStyle
{
.iconStyle
{
width
:
16px
;
height
:
16px
;
color
:
#666666
;
color
:
#666666
;
}
}
}
.avatorStyle
{
.avatorStyle
{
padding-bottom
:
5px
;
}
.avator
{
...
...
@@ -1255,5 +1254,8 @@ export default {
margin-bottom
:
10px
;
}
}
.table
/
deep
/
.line-ellipsis
{
white-space
:
nowrap
;
}
}
</
style
>
src/views/clientManage/index.vue
View file @
7380654
...
...
@@ -220,75 +220,75 @@ export default {
label
:
'客户ID'
,
prop
:
'oneId'
,
minWidth
:
150
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'客户名称'
,
prop
:
'customerName'
,
addHtml
:
'customerName'
,
minWidth
:
130
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'企微名称'
,
prop
:
'nickNameList'
,
addHtml
:
'nickNameList'
,
minWidth
:
170
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'联系电话'
,
prop
:
'customerPhone'
,
addHtml
:
'customerPhone'
,
minWidth
:
110
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'性别'
,
prop
:
'customerSex'
,
addHtml
:
'customerSex'
,
minWidth
:
80
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'跟进员工'
,
prop
:
'followStaff'
,
addHtml
:
'followStaff'
,
minWidth
:
120
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'是否加企微'
,
//1. 加入,0.未加入
prop
:
'isJoin'
,
addHtml
:
'isJoin'
,
width
:
100
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'当前状态'
,
prop
:
'status'
,
addHtml
:
'status'
,
minWidth
:
100
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'所属渠道'
,
prop
:
'sourceChannel'
,
width
:
150
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'添加来源'
,
prop
:
'addWay'
,
addHtml
:
'addWay'
,
minWidth
:
100
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'添加时间'
,
prop
:
'addTime'
,
width
:
150
,
//
//
align: 'left'
//align: 'left'
}
,
{
label
:
'操作'
,
...
...
src/views/crowdManage/crowdAdd.vue
View file @
7380654
...
...
@@ -115,7 +115,7 @@
<div
class=
"footer-panel"
>
<div>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
class=
"cancel-button"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
class=
"cancel-button"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
<el-dialog
title=
"人群规则说明"
class=
"crowd-dialog"
width=
"720px"
:before-close=
"handleClose"
:visible
.
sync=
"dialogRuleVisible"
:show-close=
"isShowCloseBtn"
>
...
...
@@ -210,20 +210,20 @@ export default {
{
label
:
'标签组'
,
prop
:
'groupName'
,
width
:
18
0
,
align
:
''
width
:
23
0
,
align
:
'
left
'
},
{
label
:
'标签组类型'
,
prop
:
'groupType'
,
width
:
180
//
align: 'left'
width
:
180
,
align
:
'left'
},
{
label
:
'标签'
,
prop
:
'labelUnitList'
,
addHtml
:
'labelUnitList'
//
align: 'left'
addHtml
:
'labelUnitList'
,
align
:
'left'
}
]
},
...
...
@@ -383,13 +383,16 @@ export default {
open
(
value
)
{
if
(
value
==
'dialogLogicVisible'
&&
this
.
selectedArray
.
length
==
0
)
{
this
.
$confirm
(
'暂未选中标签,无法生成人群规则逻辑,快去选标签吧?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'我知道了'
,
cancelButtonText
:
'取消'
,
showCancelButton
:
false
,
type
:
'warning'
})
.
then
(()
=>
{
this
[
value
]
=
false
})
.
catch
(()
=>
{})
return
}
this
[
value
]
=
true
...
...
@@ -893,8 +896,8 @@ export default {
left
:
50%
;
top
:
50%
;
margin-left
:
-220px
;
.cancel-button{
margin-left
:
20px
;
.cancel-button
{
margin-left
:
20px
;
}
}
}
...
...
src/views/crowdManage/crowdDetail.vue
View file @
7380654
...
...
@@ -120,20 +120,20 @@ export default {
{
label
:
'标签组'
,
prop
:
'groupName'
,
width
:
180
//
align: 'left'
width
:
180
,
align
:
'left'
},
{
label
:
'标签组类型'
,
prop
:
'groupType'
,
width
:
180
//
align: 'left'
width
:
180
,
align
:
'left'
},
{
label
:
'标签'
,
prop
:
'labelUnitList'
,
addHtml
:
'labelUnitList'
//
align: 'left'
addHtml
:
'labelUnitList'
,
align
:
'left'
}
]
},
...
...
src/views/crowdManage/index.vue
View file @
7380654
...
...
@@ -58,28 +58,28 @@ export default {
tableColumns
:
[
{
label
:
'人群名称'
,
prop
:
'crowdName'
prop
:
'crowdName'
,
// addHtml: 'crowdName',
//
align: 'left'
align
:
'left'
},
{
label
:
'人群描述'
,
prop
:
'crowdDesc'
//
align: 'left'
prop
:
'crowdDesc'
,
align
:
'left'
// width: 180
},
{
label
:
'人数'
,
prop
:
'total'
prop
:
'total'
,
// addHtml: 'total',
//
align: 'left'
align
:
'left'
},
{
label
:
'操作'
,
prop
:
'xxx'
,
fixed
:
'right'
,
addHtml
:
'xxx'
,
//
align: 'left',
align
:
'left'
,
width
:
180
}
]
...
...
@@ -168,14 +168,13 @@ export default {
padding
:
5px
16px
;
color
:
#fff
;
font-size
:
16px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
&:hover
{
background-color
:
$
lightBtnBlue
;
}
}
/
deep
/
.el-tabs__header
{
margin
:
0
0
20px
;
/
deep
/
.el-tabs__header
{
margin
:
0
0
20px
;
}
/
deep
/
.el-tabs__nav-wrap
::after
{
content
:
none
;
...
...
@@ -183,9 +182,12 @@ export default {
/
deep
/
.el-tabs__item
{
font-size
:
16px
;
color
:
#
5850ff
;
color
:
#
717171
;
letter-spacing
:
0.8px
;
//
font-weight
:
600
;
}
/
deep
/
.is-active
{
color
:
#5850ff
;
font-weight
:
500
;
}
.leftDistance
{
margin-left
:
10px
;
...
...
@@ -202,13 +204,12 @@ export default {
margin-left
:
10px
;
}
.searchTop
{
//
margin-left
:
45px
;
//
/deep/
.el-input__inner{
//
width
:
400px
;
//
}
//
.inline-b
{
//
margin-right
:
700px
;
//
}
/deep/
.
el-form-item
:
nth-child
(
2
)
{
position
:
static
!important
;
.el-form-item__content{
margin-left
:
15px
!important
;
}
}
}
.allTagsWrap
{
position
:
relative
;
...
...
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