From 9a36cfe933e34f494c05d512cee7f265f27c0968 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 19 May 2026 23:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(im):=20=E7=BB=A7=E7=BB=AD?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A2=91=E9=81=93=E7=9A=84=E5=90=84=E7=A7=8D?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=EF=BC=88v4=EF=BC=89=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/dict.ts | 3 +- .../components/message/MaterialBubble.vue | 187 ++++++++------- .../components/message/MessageBubble.vue | 8 +- .../components/message/MessageItem.vue | 225 +++++++++++------- .../components/message/MessagePanel.vue | 2 - .../message/forward/MessageForwardDialog.vue | 24 +- .../channel/{channel => list}/ChannelForm.vue | 4 +- .../channel/list/components/ChannelSelect.vue | 33 +++ src/views/im/manager/channel/list/index.vue | 23 +- .../channel/material/ChannelMaterialForm.vue | 22 +- .../material/components/MaterialSelect.vue | 35 +++ .../im/manager/channel/material/index.vue | 37 ++- .../message/ChannelMessageSendForm.vue | 132 +++++----- .../im/manager/channel/message/index.vue | 22 +- src/views/im/utils/message.ts | 11 +- 15 files changed, 433 insertions(+), 335 deletions(-) rename src/views/im/manager/channel/{channel => list}/ChannelForm.vue (96%) create mode 100644 src/views/im/manager/channel/list/components/ChannelSelect.vue create mode 100644 src/views/im/manager/channel/material/components/MaterialSelect.vue diff --git a/src/utils/dict.ts b/src/utils/dict.ts index f813cb0a4..855189a71 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -344,5 +344,6 @@ export enum DICT_TYPE { IM_RTC_CALL_STATUS = 'im_rtc_call_status', // IM 通话状态:10=创建 / 20=进行中 / 30=已结束 IM_RTC_CALL_END_REASON = 'im_rtc_call_end_reason', // IM 通话结束原因:1=通话结束 / 2=已拒绝 / 3=已取消 / 4=无人接听 / 5=对方正忙 / 9=通话异常 IM_RTC_PARTICIPANT_ROLE = 'im_rtc_participant_role', // IM 通话参与角色:1=发起人 / 2=被邀请者 / 3=主动加入者 - IM_RTC_PARTICIPANT_STATUS = 'im_rtc_participant_status' // IM 通话参与状态:10=邀请中 / 20=已加入 / 30=已拒绝 / 40=未应答 / 50=已离开 + IM_RTC_PARTICIPANT_STATUS = 'im_rtc_participant_status', // IM 通话参与状态:10=邀请中 / 20=已加入 / 30=已拒绝 / 40=未应答 / 50=已离开 + IM_CHANNEL_MATERIAL_TYPE = 'im_channel_material_type' // IM 频道素材内容类型:1=富文本 / 2=外链 } diff --git a/src/views/im/home/pages/conversation/components/message/MaterialBubble.vue b/src/views/im/home/pages/conversation/components/message/MaterialBubble.vue index f8440f9db..d01b88b6e 100644 --- a/src/views/im/home/pages/conversation/components/message/MaterialBubble.vue +++ b/src/views/im/home/pages/conversation/components/message/MaterialBubble.vue @@ -1,26 +1,35 @@