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 2a166114
authored
Mar 01, 2021
by
qiyeqing
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
41b1c321
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 @
2a16611
import
request
from
'@/utils/request'
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
\ 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 @
2a16611
...
@@ -6,8 +6,9 @@
...
@@ -6,8 +6,9 @@
<el-row
style=
"padding:10px"
>
<el-row
style=
"padding:10px"
>
<el-col
:span=
"3"
>
<img
:src=
"item.receiveWeCustomer.avatar"
></el-col>
<el-col
:span=
"3"
>
<img
:src=
"item.receiveWeCustomer.avatar"
></el-col>
<el-col
:span=
"21"
>
<el-col
:span=
"21"
>
<p>
{{
item
.
receiveWeCustomer
.
name
}}
<span
class=
"fr gray"
>
{{
parseTime
(
item
.
finalChatContext
.
msgtime
)
}}
</span></p>
<!--
{{
parseTime
(
item
.
finalChatContext
.
msgtime
)
}}
<span
class=
"fr gray"
></span>
-->
<p
class=
"gray padt10"
v-if=
"item.finalChatContext.text"
>
{{
item
.
finalChatContext
.
text
.
content
}}
</p>
<p>
{{
item
.
receiveWeCustomer
.
name
}}
</p>
<!--
<p
class=
"gray padt10"
v-if=
"item.finalChatContext.text"
>
{{
item
.
finalChatContext
.
text
.
content
}}
</p>
-->
</el-col>
</el-col>
</el-row>
</el-row>
</li>
</li>
...
@@ -63,6 +64,7 @@
...
@@ -63,6 +64,7 @@
cursor
:
pointer
;
cursor
:
pointer
;
p{
white-space
:
nowrap
;
p{
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
line-height
:
40px
;
text-overflow
:
ellipsis
;}
text-overflow
:
ellipsis
;}
:hover
{
background
:
#efefef
;}
:hover
{
background
:
#efefef
;}
img
{
img
{
...
...
linkwe-ui/src/views/conversation/page/employeeTest.vue
View file @
2a16611
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"action"
label=
"操作"
>
<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>
<el-button
type=
"text"
size=
"small"
>
查看
</el-button>
<el-button
type=
"text"
size=
"small"
>
查看
</el-button>
</
template
>
</
template
>
...
@@ -323,7 +323,6 @@
...
@@ -323,7 +323,6 @@
let
querys
=
{
let
querys
=
{
pageNum
:
'1'
,
pageNum
:
'1'
,
pageSize
:
'999'
,
pageSize
:
'999'
,
isActivate
:
'4'
,
department
:
data
.
id
department
:
data
.
id
}
}
api
.
getList
(
querys
).
then
(({
api
.
getList
(
querys
).
then
(({
...
...
linkwe-ui/src/views/conversation/page/userTest.vue
View file @
2a16611
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"hd_box"
>
<div
class=
"hd_box"
>
<div
class=
"hd_name"
>
客户列表(
{{
employAmount
}}
)
</div>
<div
class=
"hd_name"
>
客户列表(
{{
employAmount
}}
)
</div>
<div
class=
"paddingT10"
>
<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>
</el-input>
</div>
</div>
</div>
</div>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<div
class=
"hd_box"
>
<div
class=
"hd_box"
>
<div
class=
"hd_name"
>
{{
talkName
}}
</div>
<div
class=
"hd_name"
>
{{
talkName
}}
</div>
<div
class=
"paddingT10"
>
<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>
</el-input>
</div>
</div>
</div>
</div>
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"action"
label=
"操作"
>
<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>
<el-button
type=
"text"
size=
"small"
>
查看
</el-button>
<el-button
type=
"text"
size=
"small"
>
查看
</el-button>
</
template
>
</
template
>
...
@@ -172,6 +172,7 @@
...
@@ -172,6 +172,7 @@
employAmount
:
1
,
employAmount
:
1
,
employName
:
''
,
employName
:
''
,
talkName
:
''
,
talkName
:
''
,
chatContent
:
""
,
personIndex
:
'-1'
,
personIndex
:
'-1'
,
activeName
:
"0"
,
activeName
:
"0"
,
activeNameThree
:
'0'
,
activeNameThree
:
'0'
,
...
...
linkwe-ui/src/views/index.vue
View file @
2a16611
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