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 31797b7c
authored
Jan 21, 2021
by
qiyeqing
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
群聊!
1 parent
6f32c84a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
linkwe-ui/src/api/content.js
linkwe-ui/src/views/conversation/component/groupList.vue
linkwe-ui/src/views/conversation/page/employeeTest.vue
linkwe-ui/src/api/content.js
View file @
31797b7
...
...
@@ -14,6 +14,13 @@ const getTree=(params)=>{
params
,
})
}
const
chatGrounpList
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/finance/getChatRoomContactList'
,
method
:
'get'
,
params
,
})
}
const
listByCustomer
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/customer/list'
,
...
...
@@ -33,5 +40,6 @@ const getTree=(params)=>{
getTree
,
chatList
,
listByCustomer
,
getChatAllList
getChatAllList
,
chatGrounpList
}
\ No newline at end of file
linkwe-ui/src/views/conversation/component/groupList.vue
View file @
31797b7
...
...
@@ -6,15 +6,14 @@
<el-row
style=
"padding:10px"
v-if=
"item.finalChatContext.msgtype=='text'"
>
<el-col
:span=
"3"
>
<img
:src=
"item.finalChatContext.fromInfo.avatar"
></el-col>
<el-col
:span=
"3"
>
<img
v-if=
"item.finalChatContext.fromInfo"
:src=
"item.finalChatContext.fromInfo.avatar"
></el-col>
<el-col
:span=
"21"
>
<p>
{{
item
.
roomInfo
.
groupN
ame
}}
<span
class=
"fr gray"
>
{{
parseTime
(
item
.
finalChatContext
.
fromInfo
.
updateTime
)
}}
</span></p>
<p>
{{
item
.
finalChatContext
.
roomInfo
.
n
ame
}}
<span
class=
"fr gray"
>
{{
parseTime
(
item
.
finalChatContext
.
fromInfo
.
updateTime
)
}}
</span></p>
<p
class=
"gray padt10"
v-if=
"item.finalChatContext.fromInfo"
>
{{
item
.
finalChatContext
.
fromInfo
.
name
}}
:
{{
item
.
finalChatContext
.
text
.
content
}}
</p>
</el-col>
</el-row>
<el-row
style=
"padding:10px"
v-if=
"item.finalChatContext.msgtype=='file'"
>
<el-col
:span=
"3"
>
</el-col>
<el-col
:span=
"3"
>
`
</el-col>
<el-col
:span=
"21"
>
<p><span
class=
"fr gray"
>
{{
parseTime
(
item
.
finalChatContext
.
msgtime
)
}}
</span></p>
<p
class=
"gray padt10"
>
{{
item
.
finalChatContext
.
from
}}
:
...
...
@@ -49,7 +48,7 @@
},
methods
:{
liClick
(
e
){
this
.
$emit
(
'
chat
Fn'
,
e
)
this
.
$emit
(
'
group
Fn'
,
e
)
}
}
}
...
...
linkwe-ui/src/views/conversation/page/employeeTest.vue
View file @
31797b7
This diff is collapsed.
Click to expand it.
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