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 91f7dd79
authored
Dec 28, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
6852d519
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
25 deletions
src/views/clientManage/index.vue
src/views/clientManage/index.vue
View file @
91f7dd7
...
...
@@ -25,16 +25,19 @@
</span>
<div
slot=
"followStaff"
class=
"entmicro"
slot-scope=
"scope"
>
<div
class=
"entmicro-tag"
v-for=
"(tag, idx) in followList(scope.scope.followStaff)"
:key=
"idx"
>
<el-tag
type=
"info"
v-if=
"idx
< 3
"
:disable-transitions=
"false"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
}}
</el-tag>
<el-tooltip
effect=
"dark"
:content=
"tag"
placement=
"top"
>
<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=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<
span
slot=
"reference"
>
...(
{{
followList
(
scope
.
scope
.
followStaff
).
length
}}
)
</span
>
<div
class=
"entmicro-hover"
>
<el-tag
type=
"info"
style=
"margin-right:
10px;margin-bottom:10px;
"
v-for=
"(i, index) in followList(scope.scope.followStaff)"
:key=
"index"
:disable-transitions=
"false"
>
<i
class=
"el-icon-user-solid"
style=
"color:#75acff"
></i>
<
div
slot=
"reference"
>
...(
{{
followList
(
scope
.
scope
.
followStaff
).
length
}}
)
</div
>
<div
class=
"entmicro-hover"
>
<el-tag
type=
"info"
style=
"margin-right:
10px; margin-bottom: 10px
"
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
.
staffName
}}{{
i
.
departmentName
?
`(${i.departmentName
}
)`
:
''
}}
-->
{{
i
}}
<
/el-tag
>
...
...
@@ -66,8 +69,8 @@
<
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>
<!--
<
el
-
button
type
=
"text"
@
click
=
"goDetail(scope.scope.oneId)"
>
详情
<
/el-button> --
>
<
GLButton
@
click
=
"goDetail(scope.scope.oneId)"
fn
=
"客户详情"
type
=
"text"
>
详情
<
/GLButton
>
<
/div
>
<
/GLTable
>
<
/div
>
...
...
@@ -182,7 +185,7 @@ export default {
// btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName
:
'data'
,
// tableOption: true,
tableOption
:
false
,
tableOption
:
false
,
tableColumns
:
[
{
label
:
'客户ID'
,
...
...
@@ -211,7 +214,7 @@ export default {
label
:
'跟进员工'
,
prop
:
'followStaff'
,
addHtml
:
'followStaff'
,
minWidth
:
1
2
0
minWidth
:
1
4
0
}
,
{
label
:
'来源'
,
...
...
@@ -220,7 +223,7 @@ export default {
minWidth
:
100
}
,
{
label
:
'渠道来源'
,
label
:
'渠道来源'
,
prop
:
'sourceChannel'
,
width
:
100
}
,
...
...
@@ -242,13 +245,13 @@ export default {
width
:
95
}
,
{
label
:
'操作'
,
prop
:
'optionBtns'
,
width
:
'80px'
,
addHtml
:
'optionBtns'
,
fixed
:
'right'
label
:
'操作'
,
prop
:
'optionBtns'
,
width
:
'80px'
,
addHtml
:
'optionBtns'
,
fixed
:
'right'
}
]
,
]
// tableOption:
{
// width: 80
//
}
...
...
@@ -291,7 +294,6 @@ export default {
// this.searchTable()
//
}
//接收到的数据为空
// if (!this.$refs.clientManage.data.length)
{
// this.$refs.clientManage.setTableHeightFun()
...
...
@@ -447,13 +449,10 @@ export default {
font
-
size
:
14
px
;
}
}
// span
{
// line-height: 20px;
//
}
}
.
el
-
tag
{
margin
-
right
:
10
px
;
ma
rgin
-
bottom
:
10
px
;
//
margin-right: 10px;
ma
x
-
width
:
124
px
;
cursor
:
pointer
;
background
-
color
:
#
fff
!
important
;
}
...
...
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