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 86d11795
authored
Jul 04, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新2.6.0代码
1 parent
cede7bc8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
32 deletions
src/components/layout-row/index.vue
src/views/clientDataOverview/index.vue
src/views/clientManage/clientDetail.vue
src/views/clientManage/index.vue
src/components/layout-row/index.vue
View file @
86d1179
...
...
@@ -75,7 +75,7 @@ export default {
color
:
#333333
;
line-height
:
20px
;
text-align
:
left
;
m
ax-width
:
228
px
;
m
in-width
:
260
px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
...
...
src/views/clientDataOverview/index.vue
View file @
86d1179
...
...
@@ -317,7 +317,7 @@
</
template
>
</div>
<div
class=
"set"
>
<span
v-if=
"customerSegmentation && customerSegmentation.length >
4
&& !closeFlag"
@
click=
"expandClick('expand')"
>
<span
v-if=
"customerSegmentation && customerSegmentation.length >
displayNum
&& !closeFlag"
@
click=
"expandClick('expand')"
>
展开
<i
class=
"el-icon-arrow-down color-58"
></i>
</span>
...
...
@@ -393,7 +393,7 @@ export default {
isFourDisplay
:
''
,
isFiveDisplay
:
''
,
screenWidth
:
null
,
displayNum
:
4
,
//展示的数目
displayNum
:
''
,
//展示的数目
closeFlag
:
false
,
//展开收起
isAddScrm
:
true
,
crowdType
:
3
,
...
...
src/views/clientManage/clientDetail.vue
View file @
86d1179
...
...
@@ -82,10 +82,15 @@
<!-- 1-是,2-否 -->
<span>
{{
leftPanelInfo
.
isJoin
==
1
?
'是'
:
leftPanelInfo
.
isJoin
==
0
?
'否'
:
''
}}
</span>
</p>
<p>
<span>
关注公众号:
</span>
<!-- 1-是,2-否 -->
<span>
{{
leftPanelInfo
.
isJoin
==
1
?
'是'
:
leftPanelInfo
.
isJoin
==
0
?
'否'
:
''
}}
</span>
</p>
<p>
<span>
当前状态:
</span>
<span>
{{
leftPanelInfo
.
status
==
-
1
?
'删除好友'
:
leftPanelInfo
.
status
==
0
?
'正常'
:
''
}}
</span>
<span>
{{
c
}}
</span>
</p>
<p>
...
...
src/views/clientManage/index.vue
View file @
86d1179
...
...
@@ -13,34 +13,11 @@
</div>
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
v-if=
"isReload"
ref=
"clientManage"
:hasNum=
"true"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
:searchForm=
"searchFormTable"
:noDataImg=
"url"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
>
<span
slot=
"customerName"
slot-scope=
"scope"
>
<GLFull
:labelWidth=
"70"
:identification=
"`node_$
{scope.scope.id}`">
{{
scope
.
scope
.
customerName
}}
</GLFull>
<GLFull
:labelWidth=
"70"
:identification=
"`node_$
{scope.scope.id}`">
{{
scope
.
scope
.
customerName
?
scope
.
scope
.
customerName
:
'--'
}}
</GLFull>
</span>
<span
slot=
"customerSex"
slot-scope=
"scope"
>
<span>
{{
scope
.
scope
.
customerSex
==
0
?
'未知'
:
scope
.
scope
.
customerSex
==
1
?
'男'
:
scope
.
scope
.
customerSex
==
2
?
'女'
:
''
}}
</span>
</span>
<!--
<div
slot=
"followStaff"
class=
"entmicro"
slot-scope=
"scope"
>
<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"
>
<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"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
}}
</el-tag>
</el-tooltip>
<el-tag
type=
"info"
v-if=
"followList(scope.scope.followStaff).length > 3 && idx == 3"
>
<el-popover
placement=
"top"
width=
"600"
trigger=
"hover"
content=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<div
slot=
"reference"
>
...(
{{
followList
(
scope
.
scope
.
followStaff
).
length
}}
)
</div>
<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"
>
<i
class=
"el-icon-user-solid"
style=
"color: #75acff"
></i>
{{
i
}}
</el-tag>
</div>
</el-popover>
</el-tag>
</div>
</div>
-->
<!-- 企微名称 -->
<div
slot=
"nickNameList"
slot-scope=
"scope"
class=
"expandImg"
>
<div
v-if=
"!scope.scope.nickNameList.length"
>
--
</div>
...
...
@@ -78,10 +55,6 @@
<span>
{{
statusText
(
scope
.
scope
.
status
)
}}
</span>
</span>
</span>
<!--
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<auth-button
:data=
"scope.scope"
></auth-button>
<span
@
click=
"goDetail(scope.scope.oneId)"
class=
"blue-text"
>
详情
</span>
</
template
>
-->
<div
class=
"table-btns"
slot=
"optionBtns"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"goDetail(scope.scope.oneId)"
>
详情
</el-button>
<!--
<GLButton
@
click=
"goDetail(scope.scope.oneId)"
fn=
"客户详情"
type=
"text"
>
详情
</GLButton>
-->
...
...
@@ -371,6 +344,37 @@ export default {
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
}
if
(
location
.
host
.
includes
(
'192.168.1.127'
))
{
// cgacar
this
.
clientManageFormList
.
push
({
type
:
'select'
,
name
:
''
,
label
:
'关注公众号'
,
placeholder
:
'请选择'
,
optionLabel
:
'label'
,
optionId
:
'value'
,
optionList
:
[
{
label
:
'全部'
,
value
:
null
},
{
label
:
'是'
,
value
:
1
},
{
label
:
'否'
,
value
:
0
}
]
})
this
.
tableParams
.
tableColumns
.
splice
(
6
,
0
,
{
label
:
'关注公众号'
,
prop
:
''
,
width
:
140
,
line
:
1
})
}
this
.
getDictionaryFun
()
this
.
getStaffList
()
},
...
...
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