Commit 6ebfee71 by 怪兽?别跑

会话存档ES接口预留

1 parent f6528489
...@@ -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'
}) })
} }
<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({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!