diff --git a/src/api/search.js b/src/api/search.js new file mode 100644 index 0000000..7fa5928 --- /dev/null +++ b/src/api/search.js @@ -0,0 +1,26 @@ +import { post, get, upload } from '@/utils/request' + +//ES搜索-主页搜索什么都有、指定用户、指定群、群与用户概览 +export const ServeSeachQueryAll = (data = {}) => { + return post('/api/v1/elasticsearch/query-all', data) +} + +//ES搜索聊天记录-主页搜索什么都有、聊天记录 +export const ServeQueryTalkRecord = (data = {}) => { + return post('/api/v1/elasticsearch/query-talk-record', data) +} + +//查看存在聊天记录的天数 +export const ServeTalkDate = (data) => { + return post('/api/v1/talk/date', data) +} + +//获取会话Id +export const ServeGetSessionId = (data) => { + return post('/api/v1/talk/session/getId', data) +} + +//获取用户所在群聊列表 +export const ServeUserGroupChatList = (data) => { + return post('/api/v1/group/user/list', data) +} diff --git a/src/api/user.js b/src/api/user.js index 76c55b7..17bcd0b 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -29,3 +29,8 @@ export const ServeGetUserDetail = () => { export const ServeGetUserSetting = () => { return get('/api/v1/users/setting') } + +//根据erpUserId查询聊天系统用户详情 +export const getUserInfoByERPUserId = (data) => { + return post('/api/v1/users/info', data) +} diff --git a/src/assets/image/chatList/chat-settings.png b/src/assets/image/chatList/chat-settings.png new file mode 100644 index 0000000..2a3a55c Binary files /dev/null and b/src/assets/image/chatList/chat-settings.png differ diff --git a/src/assets/image/chatList/search-empty.png b/src/assets/image/chatList/search-empty.png new file mode 100644 index 0000000..bdb9a27 Binary files /dev/null and b/src/assets/image/chatList/search-empty.png differ diff --git a/src/assets/image/icon/close-btn-grey-line.png b/src/assets/image/icon/close-btn-grey-line.png new file mode 100644 index 0000000..79ee151 Binary files /dev/null and b/src/assets/image/icon/close-btn-grey-line.png differ diff --git a/src/components/group/GroupPanel.vue b/src/components/group/GroupPanel.vue index 57c64f4..7e25748 100644 --- a/src/components/group/GroupPanel.vue +++ b/src/components/group/GroupPanel.vue @@ -1,6 +1,6 @@ diff --git a/src/views/message/inner/panel/PanelHeader.vue b/src/views/message/inner/panel/PanelHeader.vue index 53e377d..680d5f1 100644 --- a/src/views/message/inner/panel/PanelHeader.vue +++ b/src/views/message/inner/panel/PanelHeader.vue @@ -67,12 +67,12 @@ const onSetMenu = () => { @click="emit('evnet', 'notice')" /> + > + +