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 6ebfee71
authored
Aug 10, 2023
by
怪兽?别跑
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
会话存档ES接口预留
1 parent
f6528489
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
8 deletions
vue3-lw-pc/src/api/conversation/content.js
vue3-lw-pc/src/views/drainageCode/customerAssistant/info-table.vue
vue3-lw-pc/src/api/conversation/content.js
View file @
6ebfee7
...
@@ -5,7 +5,7 @@ const service = window.lwConfig.services.wecom
...
@@ -5,7 +5,7 @@ const service = window.lwConfig.services.wecom
export
const
getExternalChatList
=
(
fromId
)
=>
{
export
const
getExternalChatList
=
(
fromId
)
=>
{
return
request
({
return
request
({
url
:
service
+
'/chat/msg/selectExternalChatList/'
+
fromId
,
url
:
service
+
'/chat/msg/selectExternalChatList/'
+
fromId
,
method
:
'get'
,
method
:
'get'
})
})
}
}
...
@@ -14,7 +14,7 @@ export const selectAloneChatList = (params) => {
...
@@ -14,7 +14,7 @@ export const selectAloneChatList = (params) => {
return
request
({
return
request
({
url
:
service
+
'/chat/msg/selectAloneChatList'
,
url
:
service
+
'/chat/msg/selectAloneChatList'
,
method
:
'get'
,
method
:
'get'
,
params
,
params
})
})
}
}
...
@@ -22,20 +22,20 @@ export const selectAloneChatList = (params) => {
...
@@ -22,20 +22,20 @@ export const selectAloneChatList = (params) => {
export
const
getInternalChatList
=
(
fromId
)
=>
{
export
const
getInternalChatList
=
(
fromId
)
=>
{
return
request
({
return
request
({
url
:
service
+
'/chat/msg/selectInternalChatList/'
+
fromId
,
url
:
service
+
'/chat/msg/selectInternalChatList/'
+
fromId
,
method
:
'get'
,
method
:
'get'
})
})
}
}
export
const
getGroupChatList
=
(
fromId
)
=>
{
export
const
getGroupChatList
=
(
fromId
)
=>
{
return
request
({
return
request
({
url
:
service
+
'/chat/msg/selectGroupChatList/'
+
fromId
,
url
:
service
+
'/chat/msg/selectGroupChatList/'
+
fromId
,
method
:
'get'
,
method
:
'get'
})
})
}
}
export
const
getGroupChatListNew
=
(
fromId
)
=>
{
export
const
getGroupChatListNew
=
(
fromId
)
=>
{
return
request
({
return
request
({
url
:
service
+
'/groupchat/getGroupListByMemberId/'
+
fromId
,
url
:
service
+
'/groupchat/getGroupListByMemberId/'
+
fromId
,
method
:
'get'
,
method
:
'get'
})
})
}
}
// export const chatList = (params) => {
// export const chatList = (params) => {
...
@@ -64,16 +64,32 @@ export const getChatList = (params) => {
...
@@ -64,16 +64,32 @@ export const getChatList = (params) => {
return
request
({
return
request
({
url
:
service
+
'/chat/msg/selectFullSearchChatList'
,
url
:
service
+
'/chat/msg/selectFullSearchChatList'
,
method
:
'get'
,
method
:
'get'
,
params
,
params
})
})
}
}
//ES
// export const getChatList = (data) => {
// return request({
// url: service + '/chat/msg/chat/list',
// method: 'post',
// data
// })
// }
// export const getChatDetail = (data) => {
// return request({
// url: service + '/chat/msg/detail',
// method: 'post',
// data
// })
// }
// 全文检索 导出列表
// 全文检索 导出列表
export
const
exportList
=
(
params
)
=>
{
export
const
exportList
=
(
params
)
=>
{
return
request
({
return
request
({
url
:
service
+
'/chat/msg/selectFullSearchChatList/export'
,
url
:
service
+
'/chat/msg/selectFullSearchChatList/export'
,
method
:
'get'
,
method
:
'get'
,
params
,
params
,
responseType
:
'blob'
,
responseType
:
'blob'
})
})
}
}
vue3-lw-pc/src/views/drainageCode/customerAssistant/info-table.vue
View file @
6ebfee7
<
template
>
<
template
>
<div
class=
"g-card"
>
<div
class=
"g-card"
>
<search-title>
<search-title
@
search=
"getData"
>
<template
v-slot
>
<template
v-slot
>
<el-input
:model-value=
"userNames"
readonly
@
click=
"dialogVisible = true"
placeholder=
"请选择添加员工"
/>
<el-input
:model-value=
"userNames"
readonly
@
click=
"dialogVisible = true"
placeholder=
"请选择添加员工"
/>
</
template
>
</
template
>
...
@@ -79,6 +79,7 @@
...
@@ -79,6 +79,7 @@
SearchTitle
SearchTitle
}
,
}
,
methods
:
{
methods
:
{
getData
()
{
}
,
goRoute
(
row
)
{
goRoute
(
row
)
{
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
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