Commit 6ebfee71 by 怪兽?别跑

会话存档ES接口预留

1 parent f6528489
......@@ -5,7 +5,7 @@ const service = window.lwConfig.services.wecom
export const getExternalChatList = (fromId) => {
return request({
url: service + '/chat/msg/selectExternalChatList/' + fromId,
method: 'get',
method: 'get'
})
}
......@@ -14,7 +14,7 @@ export const selectAloneChatList = (params) => {
return request({
url: service + '/chat/msg/selectAloneChatList',
method: 'get',
params,
params
})
}
......@@ -22,20 +22,20 @@ export const selectAloneChatList = (params) => {
export const getInternalChatList = (fromId) => {
return request({
url: service + '/chat/msg/selectInternalChatList/' + fromId,
method: 'get',
method: 'get'
})
}
export const getGroupChatList = (fromId) => {
return request({
url: service + '/chat/msg/selectGroupChatList/' + fromId,
method: 'get',
method: 'get'
})
}
export const getGroupChatListNew = (fromId) => {
return request({
url: service + '/groupchat/getGroupListByMemberId/' + fromId,
method: 'get',
method: 'get'
})
}
// export const chatList = (params) => {
......@@ -64,16 +64,32 @@ export const getChatList = (params) => {
return request({
url: service + '/chat/msg/selectFullSearchChatList',
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) => {
return request({
url: service + '/chat/msg/selectFullSearchChatList/export',
method: 'get',
params,
responseType: 'blob',
responseType: 'blob'
})
}
<template>
<div class="g-card">
<search-title>
<search-title @search="getData">
<template v-slot>
<el-input :model-value="userNames" readonly @click="dialogVisible = true" placeholder="请选择添加员工" />
</template>
......@@ -79,6 +79,7 @@
SearchTitle
},
methods: {
getData() {},
goRoute(row) {
let { externalUserid, firstUserId: userId } = row
this.$router.push({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!