From 814eb44358b1ec2685111f29cb55136216396e0d Mon Sep 17 00:00:00 2001 From: wangyifeng <812766448@qq.com> Date: Thu, 15 May 2025 18:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8E=86=E5=8F=B2=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E8=AE=B0=E5=BD=95=E6=9F=A5=E8=AF=A2=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=EF=BC=9B=E6=8E=A5=E5=85=A5erp=E7=9A=84v-loadmore=E6=8C=87?= =?UTF-8?q?=E4=BB=A4=EF=BC=8C=E7=94=A8=E4=BA=8E=E5=AE=9E=E7=8E=B0PC?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E8=A7=A6=E5=BA=95=E5=8A=A0=E8=BD=BD=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A;=E7=BB=A7=E7=BB=AD=E4=BC=98=E5=8C=96=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A8=A1=E5=9D=97=E7=9A=84=E8=81=94=E5=8A=A8=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env.test | 2 + src/components/group/GroupPanel.vue | 8 +- src/components/search/searchItem.vue | 26 +- src/components/search/searchList.vue | 550 ++++++++--------------- src/directive/index.ts | 6 +- src/plugins/directive/index.js | 118 +++++ src/plugins/index.ts | 5 + src/utils/auth.js | 2 +- src/views/message/inner/IndexContent.vue | 124 ++++- src/views/message/inner/IndexSider.vue | 106 ++++- 10 files changed, 559 insertions(+), 388 deletions(-) create mode 100644 src/plugins/directive/index.js diff --git a/env/.env.test b/env/.env.test index d9f7529..7157087 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://172.16.100.93:8503 +# VITE_BASE_API=http://192.168.88.21:9503 VITE_EPR_BASEURL=http://114.218.158.24:9020 VITE_SOCKET_API=ws://172.16.100.93:8504 +# VITE_SOCKET_API=ws://192.168.88.21:9504 VUE_APP_WEBSITE_NAME="Lumen IM" \ No newline at end of file diff --git a/src/components/group/GroupPanel.vue b/src/components/group/GroupPanel.vue index 717132e..a05357a 100644 --- a/src/components/group/GroupPanel.vue +++ b/src/components/group/GroupPanel.vue @@ -17,7 +17,7 @@ import customModal from '@/components/common/customModal.vue' const userStore = useUserStore() const { showUserInfoModal } = useInject() -const emit = defineEmits(['close', 'to-talk']) +const emit = defineEmits(['close', 'to-talk', 'handleSearchRecordByConditionModalShow']) const props = defineProps({ gid: { type: Number, @@ -200,6 +200,10 @@ const showChatSettingOperateModal = (type: string) => { break } } + +const showSearchRecordByConditionModal = () => { + emit('handleSearchRecordByConditionModalShow', true) +}