From 204aef1583de4dd2ced02ef94af4550eb3b6e5d2 Mon Sep 17 00:00:00 2001 From: fan Date: Sat, 6 May 2023 10:52:15 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=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 This reverts commit 0805383f --- src/api/newChat.js | 15 ---- .../newMap/display/newChat/chatDialog.vue | 76 +++++++++---------- .../newMap/display/newChat/editGroup.vue | 6 +- 3 files changed, 38 insertions(+), 59 deletions(-) diff --git a/src/api/newChat.js b/src/api/newChat.js index bdcc96501..3e7f3ca06 100644 --- a/src/api/newChat.js +++ b/src/api/newChat.js @@ -172,18 +172,3 @@ 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 2f6b6a32d..94441687f 100644 --- a/src/views/newMap/display/newChat/chatDialog.vue +++ b/src/views/newMap/display/newChat/chatDialog.vue @@ -40,12 +40,9 @@
-
- -
- +
-
{{ getGroupName(item) }}
+
{{ item.name }}
{{ getLastMsg(item.messageList) }}
@@ -56,6 +53,12 @@
+
@@ -63,13 +66,13 @@
工作台
通讯录
- +