Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 30d31820
authored
Mar 20, 2021
by
qiyeqing
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
会话优化
1 parent
0180a53c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
23 deletions
linkwe-ui/src/views/conversation/component/groupList.vue
linkwe-ui/src/views/conversation/page/employeeTest.vue
linkwe-ui/src/views/conversation/component/groupList.vue
View file @
30d3182
...
@@ -7,8 +7,7 @@
...
@@ -7,8 +7,7 @@
<span
class=
"fl"
>
<span
class=
"fl"
>
<div
class=
"ninebox"
>
<div
class=
"ninebox"
>
<ul
v-if=
"item.roomInfo"
>
<ul
v-if=
"item.roomInfo"
>
<li
v-for=
"(a,i) in item.roomInfo.avatar.split(',')"
:key=
"i"
><img
:src=
"a"
alt=
""
></li>
<li
v-for=
"(a,i) in item.roomInfo.avatar.split(',')"
:key=
"i"
><img
:src=
"a"
></li>
</ul>
</ul>
</div>
</div>
...
@@ -63,13 +62,13 @@
...
@@ -63,13 +62,13 @@
*
{
padding
:
0
;
*
{
padding
:
0
;
.fl{
float
:
left
;}
.fl{
float
:
left
;}
margin
:
0
;
}
margin
:
0
;
}
.ninebox
{
width
:
62px
;
height
:
60
px
;
border
:
1px
solid
#199ed8
;
;
.ninebox
{
width
:
54px
;
height
:
52
px
;
border
:
1px
solid
#199ed8
;
;
ul
li{
ul
li{
float
:
left
;
float
:
left
;
width
:
1
7
px
;
width
:
1
5
px
;
height
:
1
7
px
;
height
:
1
5
px
;
padding
:
0
!important
;
padding
:
0
!important
;
margin
:
1px
2px
2
px
1px
;
margin
:
1px
1px
1
px
1px
;
}
}
}
}
.list
{
.list
{
overflow-y
:
scroll
;
overflow-y
:
scroll
;
...
@@ -83,7 +82,7 @@
...
@@ -83,7 +82,7 @@
.gray
{
color
:
#999
;}
.gray
{
color
:
#999
;}
.padt10
{
padding-top
:
10px
;}
.padt10
{
padding-top
:
10px
;}
ul
li
{
ul
li
{
padding
:
10px
;
padding
:
3px
10px
;
overflow
:
hidden
;
overflow
:
hidden
;
border-bottom
:
1px
solid
#efefef
;
border-bottom
:
1px
solid
#efefef
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -92,8 +91,8 @@
...
@@ -92,8 +91,8 @@
text-overflow
:
ellipsis
;}
text-overflow
:
ellipsis
;}
:hover
{
background
:
#efefef
;}
:hover
{
background
:
#efefef
;}
img
{
img
{
width
:
40px
;
width
:
100%
;
height
:
40px
;
height
:
100%
;
float
:
left
float
:
left
}
}
}
}
...
...
linkwe-ui/src/views/conversation/page/employeeTest.vue
View file @
30d3182
...
@@ -208,7 +208,7 @@
...
@@ -208,7 +208,7 @@
},
},
mounted
()
{
mounted
()
{
this
.
getTree
()
this
.
getTree
()
this
.
getAmount
()
//
this.getAmount()
},
},
methods
:
{
methods
:
{
voiceLook
(
e
){
voiceLook
(
e
){
...
@@ -251,7 +251,10 @@
...
@@ -251,7 +251,10 @@
this
.
activeNameThreeClick
(
true
)
this
.
activeNameThreeClick
(
true
)
},
},
activeNameThreeClick
(
page
,
group
)
{
activeNameThreeClick
(
page
,
group
)
{
console
.
log
(
this
.
activeName
)
console
.
log
(
!!
this
.
chat
.
id
)
if
(
!!!
this
.
chat
.
id
){
return
//没有选择人
}
if
(
!!!
page
)
{
if
(
!!!
page
)
{
this
.
currentPage
=
1
this
.
currentPage
=
1
}
}
...
@@ -355,18 +358,18 @@
...
@@ -355,18 +358,18 @@
if
(
!
value
)
return
true
;
if
(
!
value
)
return
true
;
return
data
.
name
.
indexOf
(
value
)
!==
-
1
;
return
data
.
name
.
indexOf
(
value
)
!==
-
1
;
},
},
getAmount
(){
//
getAmount(){
let
querys
=
{
//
let querys = {
pageNum
:
'1'
,
//
pageNum: '1',
pageSize
:
'999'
,
//
pageSize: '999',
department
:
''
//
department: ''
}
//
}
api
.
getList
(
querys
).
then
(({
//
api.getList(querys).then(({
total
//
total
})
=>
{
//
}) => {
this
.
employAmount
=
total
//
this.employAmount= total
})
//
})
},
//
},
handleNodeClick
(
data
,
add
)
{
handleNodeClick
(
data
,
add
)
{
if
(
!
data
.
userId
)
{
if
(
!
data
.
userId
)
{
let
querys
=
{
let
querys
=
{
...
...
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