From 0805383fde42995e25b3b1e8c726ad7b062cae42 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Tue, 25 Apr 2023 15:19:30 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=BE=A4=E6=B6=88=E6=81=AF=E5=B7=B2?= =?UTF-8?q?=E8=AF=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/newChat.js | 15 +++ .../newMap/display/newChat/chatDialog.vue | 113 ++++++++++++------ .../newMap/display/newChat/editGroup.vue | 6 +- 3 files changed, 96 insertions(+), 38 deletions(-) diff --git a/src/api/newChat.js b/src/api/newChat.js index 3e7f3ca06..bdcc96501 100644 --- a/src/api/newChat.js +++ b/src/api/newChat.js @@ -172,3 +172,18 @@ export function sendBase64(groupId, data) { data }); } + +/** + * 设置群消息已读 + * @param {String} groupId 房间号 + * @param {Object} data + * @param {Number} data.id 群组id + * @returns + */ +export function setGroupReadMessage(groupId, data) { + return request({ + url: `/simulation/${groupId}/operate/Conversation_Group_Read_Message`, + method: 'post', + data + }); +} diff --git a/src/views/newMap/display/newChat/chatDialog.vue b/src/views/newMap/display/newChat/chatDialog.vue index d82ba53bf..08d3a3215 100644 --- a/src/views/newMap/display/newChat/chatDialog.vue +++ b/src/views/newMap/display/newChat/chatDialog.vue @@ -40,9 +40,12 @@