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 2993a6c7
authored
Mar 01, 2021
by
qiyeqing
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
2f9c80a1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
68 additions
and
51 deletions
linkwe-ui/src/api/content.js
linkwe-ui/src/views/conversation/component/list.vue
linkwe-ui/src/views/conversation/page/employeeTest.vue
linkwe-ui/src/views/conversation/page/userTest.vue
linkwe-ui/src/views/index.vue
linkwe-ui/src/api/content.js
View file @
2993a6c
import
request
from
'@/utils/request'
const
getTree
=
(
params
)
=>
{
return
request
({
url
:
'/chat/mapping/list'
,
method
:
'get'
,
params
,
})
}
const
chatList
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/finance/getChatContactList'
,
method
:
'get'
,
params
,
})
}
const
chatGrounpList
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/finance/getChatRoomContactList'
,
method
:
'get'
,
params
,
})
}
const
listByCustomer
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/customer/list'
,
method
:
'get'
,
params
,
})
}
const
getChatAllList
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/finance/getChatAllList'
,
method
:
'get'
,
params
,
})
}
//
export
const
content
=
{
getTree
,
chatList
,
listByCustomer
,
getChatAllList
,
chatGrounpList
}
\ No newline at end of file
const
getTree
=
(
params
)
=>
{
return
request
({
url
:
'/chat/mapping/list'
,
method
:
'get'
,
params
,
})
}
const
chatList
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/finance/getChatContactList'
,
method
:
'get'
,
params
,
})
}
const
indexTable
=
()
=>
{
return
request
({
url
:
'/wecom/page/getCorpBasicData'
,
method
:
'get'
})
}
const
indexEchart
=
()
=>
{
return
request
({
url
:
'/wecom/page/getCorpRealTimeData'
,
method
:
'get'
})
}
//
const
chatGrounpList
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/finance/getChatRoomContactList'
,
method
:
'get'
,
params
,
})
}
const
listByCustomer
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/customer/list'
,
method
:
'get'
,
params
,
})
}
const
getChatAllList
=
(
params
)
=>
{
return
request
({
url
:
'/wecom/finance/getChatAllList'
,
method
:
'get'
,
params
,
})
}
//
export
const
content
=
{
indexEchart
,
indexTable
,
getTree
,
chatList
,
listByCustomer
,
getChatAllList
,
chatGrounpList
}
linkwe-ui/src/views/conversation/component/list.vue
View file @
2993a6c
...
...
@@ -6,8 +6,9 @@
<el-row
style=
"padding:10px"
>
<el-col
:span=
"3"
>
<img
:src=
"item.receiveWeCustomer.avatar"
></el-col>
<el-col
:span=
"21"
>
<p>
{{
item
.
receiveWeCustomer
.
name
}}
<span
class=
"fr gray"
>
{{
parseTime
(
item
.
finalChatContext
.
msgtime
)
}}
</span></p>
<p
class=
"gray padt10"
v-if=
"item.finalChatContext.text"
>
{{
item
.
finalChatContext
.
text
.
content
}}
</p>
<!--
{{
parseTime
(
item
.
finalChatContext
.
msgtime
)
}}
<span
class=
"fr gray"
></span>
-->
<p>
{{
item
.
receiveWeCustomer
.
name
}}
</p>
<!--
<p
class=
"gray padt10"
v-if=
"item.finalChatContext.text"
>
{{
item
.
finalChatContext
.
text
.
content
}}
</p>
-->
</el-col>
</el-row>
</li>
...
...
@@ -63,6 +64,7 @@
cursor
:
pointer
;
p{
white-space
:
nowrap
;
overflow
:
hidden
;
line-height
:
40px
;
text-overflow
:
ellipsis
;}
:hover
{
background
:
#efefef
;}
img
{
...
...
linkwe-ui/src/views/conversation/page/employeeTest.vue
View file @
2993a6c
...
...
@@ -98,7 +98,7 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"action"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
>
<el-button
type=
"text"
size=
"small"
>
下载
</el-button>
<el-button
type=
"text"
size=
"small"
>
查看
</el-button>
</
template
>
...
...
@@ -323,7 +323,6 @@
let
querys
=
{
pageNum
:
'1'
,
pageSize
:
'999'
,
isActivate
:
'4'
,
department
:
data
.
id
}
api
.
getList
(
querys
).
then
(({
...
...
linkwe-ui/src/views/conversation/page/userTest.vue
View file @
2993a6c
...
...
@@ -5,7 +5,7 @@
<div
class=
"hd_box"
>
<div
class=
"hd_name"
>
客户列表(
{{
employAmount
}}
)
</div>
<div
class=
"paddingT10"
>
<el-input
placeholder=
"搜索客户"
prefix-icon=
"el-icon-search"
v-model=
"employName"
>
<el-input
placeholder=
"搜索客户"
prefix-icon=
"el-icon-search"
v-model=
"employName"
@
keyup
.
enter
.
native=
"customerList"
>
</el-input>
</div>
</div>
...
...
@@ -26,7 +26,7 @@
<div
class=
"hd_box"
>
<div
class=
"hd_name"
>
{{
talkName
}}
</div>
<div
class=
"paddingT10"
>
<el-input
placeholder=
"搜索聊天记录"
prefix-icon=
"el-icon-search"
v-model=
"
employName
"
>
<el-input
placeholder=
"搜索聊天记录"
prefix-icon=
"el-icon-search"
v-model=
"
chatContent
"
>
</el-input>
</div>
</div>
...
...
@@ -107,7 +107,7 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"action"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
>
<el-button
type=
"text"
size=
"small"
>
下载
</el-button>
<el-button
type=
"text"
size=
"small"
>
查看
</el-button>
</
template
>
...
...
@@ -172,6 +172,7 @@
employAmount
:
1
,
employName
:
''
,
talkName
:
''
,
chatContent
:
""
,
personIndex
:
'-1'
,
activeName
:
"0"
,
activeNameThree
:
'0'
,
...
...
linkwe-ui/src/views/index.vue
View file @
2993a6c
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