From a3c1b56d27eecaee665b9219e169d3554eb8cb51 Mon Sep 17 00:00:00 2001 From: wangyifeng <812766448@qq.com> Date: Mon, 13 Jan 2025 16:56:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8C=89=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=90=9C=E7=B4=A2=E8=81=8A=E5=A4=A9=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E9=9D=99=E6=80=81=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E6=8E=A5=E5=85=A5=E7=9C=9F=E5=AE=9E=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/groupMembersList.vue | 2 +- .../groupManage/manageGroupAdmin.vue | 9 +- src/pages/chatSettings/index.vue | 6 + src/pages/search/components/searchItem.vue | 34 +- src/pages/search/components/searchList.vue | 1 + src/pages/search/searchByCondition/index.vue | 338 +++++++++++++++++- src/static/image/search/fileType_EXCEL.png | Bin 0 -> 1649 bytes src/static/image/search/fileType_Files.png | Bin 0 -> 1461 bytes src/static/image/search/fileType_PDF.png | Bin 0 -> 1257 bytes src/static/image/search/fileType_PPT.png | Bin 0 -> 1087 bytes src/static/image/search/fileType_WORD.png | Bin 0 -> 1993 bytes src/uni_modules/tmui/locale/zh-Hans.json | 3 +- 12 files changed, 380 insertions(+), 13 deletions(-) create mode 100644 src/static/image/search/fileType_EXCEL.png create mode 100644 src/static/image/search/fileType_Files.png create mode 100644 src/static/image/search/fileType_PDF.png create mode 100644 src/static/image/search/fileType_PPT.png create mode 100644 src/static/image/search/fileType_WORD.png diff --git a/src/pages/chatSettings/components/groupMembersList.vue b/src/pages/chatSettings/components/groupMembersList.vue index 244f784..ec3f3c1 100644 --- a/src/pages/chatSettings/components/groupMembersList.vue +++ b/src/pages/chatSettings/components/groupMembersList.vue @@ -20,7 +20,7 @@ }} -
+
{{ $t('group.identify.admin') }} diff --git a/src/pages/chatSettings/groupManage/manageGroupAdmin.vue b/src/pages/chatSettings/groupManage/manageGroupAdmin.vue index fad8097..766f925 100644 --- a/src/pages/chatSettings/groupManage/manageGroupAdmin.vue +++ b/src/pages/chatSettings/groupManage/manageGroupAdmin.vue @@ -34,11 +34,16 @@ import ZPaging from '@/uni_modules/z-paging/components/z-paging/z-paging.vue' import { onLoad } from '@dcloudio/uni-app' import { computed, onMounted, reactive } from 'vue' +import { useGroupTypeStore } from '@/store/groupType' import { useGroupStore, useDialogueStore } from '@/store' import { useI18n } from 'vue-i18n' const { t } = useI18n() +const groupTypeStore = useGroupTypeStore() +const groupTypeParams = reactive({ + postTreeList: computed(() => groupTypeStore.postTreeList), +}) const groupStore = useGroupStore() const dialogueStore = useDialogueStore() @@ -54,8 +59,10 @@ onLoad((options) => { console.log(options) }) -onMounted(() => { +onMounted(async () => { console.log(dialogueParams.adminList) + await groupTypeStore.getPositionsTree() + console.log(groupTypeParams) }) //点击跳转到添加禁言成员页面 diff --git a/src/pages/chatSettings/index.vue b/src/pages/chatSettings/index.vue index 1401025..1ac2799 100644 --- a/src/pages/chatSettings/index.vue +++ b/src/pages/chatSettings/index.vue @@ -426,6 +426,12 @@ const toSearchByConditionPage = (flag) => { } else { if (flag == 1) { condition = 'date' + } else if (flag == 2) { + condition = 'imgAndVideo' + } else if (flag == 3) { + condition = 'file' + } else if (flag == 4) { + condition = 'link' } uni.navigateTo({ url: diff --git a/src/pages/search/components/searchItem.vue b/src/pages/search/components/searchItem.vue index d1ca369..fc857f5 100644 --- a/src/pages/search/components/searchItem.vue +++ b/src/pages/search/components/searchItem.vue @@ -1,6 +1,7 @@