From 819be945b0d3bf72f8dc1f65f85cc80d29c4f668 Mon Sep 17 00:00:00 2001 From: ysn <2126564605@qq.com> Date: Tue, 9 Jun 2026 16:03:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=8F=A3=E4=BB=A4=E5=85=A5=E4=BC=9A-?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/videoCommunication.js | 36 ++++++++++++++++++++++++++ src/views/videoCommunication/index.vue | 36 ++------------------------ 2 files changed, 38 insertions(+), 34 deletions(-) diff --git a/src/api/videoCommunication.js b/src/api/videoCommunication.js index bd19b64..ca08590 100644 --- a/src/api/videoCommunication.js +++ b/src/api/videoCommunication.js @@ -1,4 +1,40 @@ import request from '@/utils/request' +export const meetingModes = () => { + return [ + { + title: "实时会诊", + icon: "el-icon-user-solid", + color: "blue", + routeName: "RealTimeConsultation", + routePath: "/videoCommunication/realTimeConsultation", + type: 1, + }, + { + title: "带教培训", + icon: "el-icon-video-play", + color: "yellow", + routeName: "Training", + routePath: "/videoCommunication/training", + type: 9, + }, + { + title: "在线质控", + icon: "el-icon-lightbulb", + color: "grayblue", + routeName: "QualityControl", + routePath: "/videoCommunication/qualityControl", + type: 6, + }, + { + title: "病例研讨", + icon: "el-icon-chat-line-square", + color: "greenblue", + routeName: "CaseStudy", + routePath: "/videoCommunication/caseStudy", + type: 3, + }, + ] +} // 视讯-加入会议 export function postConsultationInfo(data) { return request({ diff --git a/src/views/videoCommunication/index.vue b/src/views/videoCommunication/index.vue index 46f8445..b9c3e3d 100644 --- a/src/views/videoCommunication/index.vue +++ b/src/views/videoCommunication/index.vue @@ -175,6 +175,7 @@ diff --git a/src/views/message/components/MessageList.vue b/src/views/message/components/MessageList.vue index 7d3a8c6..06c66d9 100644 --- a/src/views/message/components/MessageList.vue +++ b/src/views/message/components/MessageList.vue @@ -33,7 +33,12 @@ class="search-item" @click="handleSelectSearchResult(user, 1)" > - +
{{ user.name }}
{{ user.department }}
@@ -48,10 +53,16 @@ class="search-item" @click="handleSelectSearchResult(group, 4)" > - +
{{ group.name }}
-
{{ group.member_count }}人
+
{{ group.user_num }}人
@@ -68,60 +79,76 @@
{{ contact.name }} - {{ - formatTime(contact.last_message_time) - }} + + {{ formatTime(contact.update_time) }} +
- {{ - formatLastMessage(contact) - }} - + + {{ contact.last_message_read === 0 ? "[对方未读]" : "" }} + {{ formatLastMessage(contact) }} + + + + +
-
+

暂无消息

+ + +
+ + 加载中... +
+ + +
+ 没有更多数据了 +
- + \ No newline at end of file + diff --git a/src/views/message/components/SearchRecord.vue b/src/views/message/components/SearchRecord.vue index fcfaba3..82f750f 100644 --- a/src/views/message/components/SearchRecord.vue +++ b/src/views/message/components/SearchRecord.vue @@ -1,206 +1,289 @@