From efb410b65763d7a8cc011f3caa72844a21c6642e Mon Sep 17 00:00:00 2001 From: wangyifeng <812766448@qq.com> Date: Mon, 26 May 2025 18:57:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=86=8D=E6=AC=A1=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E4=BB=8E=E8=81=8A=E5=A4=A9app=E6=8E=A5=E5=85=A5=E7=9A=84?= =?UTF-8?q?=E6=8C=89=E6=9D=A1=E4=BB=B6=E6=9F=A5=E8=AF=A2=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E7=BB=84=E4=BB=B6=EF=BC=8C=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E4=BA=86=E6=8C=89=E7=BE=A4=E6=88=90=E5=91=98=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E3=80=81=E6=8C=89=E6=97=A5=E6=9C=9F=E6=9F=A5=E8=AF=A2=E7=9A=84?= =?UTF-8?q?=E7=89=B9=E5=BC=82=E5=8C=96=EF=BC=8C=E7=BB=9F=E4=B8=80=E8=B0=83?= =?UTF-8?q?=E7=94=A8history=E6=8E=A5=E5=8F=A3=EF=BC=8C=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E4=B8=8D=E5=90=8C=E7=9A=84=E5=9C=BA=E6=99=AF=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=8F=82=E6=95=B0=EF=BC=8C=E5=B9=B6=E5=A4=84=E7=90=86=E7=A9=BA?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=92=8C=E5=88=86=E9=A1=B5=E7=AD=89=E3=80=82?= =?UTF-8?q?=E5=A4=84=E7=90=86=E4=B8=8D=E5=90=8C=E4=BA=A4=E4=BA=92=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E4=B8=8B=E9=9C=80=E8=A6=81=E9=87=8D=E7=BD=AE=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=9D=A1=E4=BB=B6=E7=9A=84=E6=83=85=E5=86=B5=E3=80=82?= =?UTF-8?q?=E7=9B=AE=E5=89=8D=E6=8C=89=E6=97=A5=E6=9C=9F=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=BE=85=E6=8E=A5=E5=85=A5=EF=BC=8C=E5=85=B6=E4=BB=96=E5=B7=B2?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 1 + env/.env.test | 2 + src/components/group/GroupPanel.vue | 2 + src/components/search/searchByCondition.vue | 280 ++++++++++++++------ src/components/search/searchItem.vue | 1 + src/hooks/useTalkRecord.ts | 8 +- src/store/modules/dialogue.js | 14 + src/utils/auth.js | 2 +- src/utils/strings.js | 2 +- src/views/message/inner/IndexContent.vue | 198 +++++++++++--- 10 files changed, 384 insertions(+), 126 deletions(-) diff --git a/components.d.ts b/components.d.ts index d2dbebc..4ab0865 100644 --- a/components.d.ts +++ b/components.d.ts @@ -70,6 +70,7 @@ declare module 'vue' { RevokeMessage: typeof import('./src/components/talk/message/RevokeMessage.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] + SearchByCondition: typeof import('./src/components/search/searchByCondition.vue')['default'] SearchItem: typeof import('./src/components/search/searchItem.vue')['default'] SearchList: typeof import('./src/components/search/searchList.vue')['default'] SysGroupAdminMessage: typeof import('./src/components/talk/message/system/SysGroupAdminMessage.vue')['default'] diff --git a/env/.env.test b/env/.env.test index 6abdb34..d5060ef 100644 --- a/env/.env.test +++ b/env/.env.test @@ -3,6 +3,8 @@ ENV = 'development' VITE_BASE=/ VUE_APP_PREVIEW=false VITE_BASE_API=http://114.218.158.24:8503 +# VITE_BASE_API=http://192.168.88.21:9503 VITE_EPR_BASEURL=http://114.218.158.24:9020 VITE_SOCKET_API=ws://114.218.158.24:8504 +# VITE_SOCKET_API=ws://192.168.88.21:9504 VUE_APP_WEBSITE_NAME="" \ No newline at end of file diff --git a/src/components/group/GroupPanel.vue b/src/components/group/GroupPanel.vue index 2c11bed..2642fd5 100644 --- a/src/components/group/GroupPanel.vue +++ b/src/components/group/GroupPanel.vue @@ -236,6 +236,8 @@ const handleModalConfirm = (closeLoading) => { closeLoading() window['$message'].error(err.message) }) + } else if (state.chatSettingOperateType == 'quit'){ + //退出群聊 } } diff --git a/src/components/search/searchByCondition.vue b/src/components/search/searchByCondition.vue index 09b0824..7bda76c 100644 --- a/src/components/search/searchByCondition.vue +++ b/src/components/search/searchByCondition.vue @@ -1,6 +1,6 @@