From 9afb23c08e1b0afa745c4174c8ba8f52ef089ba4 Mon Sep 17 00:00:00 2001 From: Jiangchunfu Date: Wed, 10 Jul 2024 16:20:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E5=8A=9F=E8=83=BD=E5=BB=BA?= =?UTF-8?q?=E8=AE=BE):=2015=E5=9B=A2=E9=98=9F=E7=A9=BA=E9=97=B4=E9=97=AE?= =?UTF-8?q?=E5=8D=B7=E5=88=97=E8=A1=A8=E9=A1=B5=E4=BC=98=E5=8C=96=20(#334)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/management/pages/list/index.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/web/src/management/pages/list/index.vue b/web/src/management/pages/list/index.vue index 3a86203a..89ab66ee 100644 --- a/web/src/management/pages/list/index.vue +++ b/web/src/management/pages/list/index.vue @@ -17,7 +17,9 @@
-

{{ spaceType === SpaceType.Group ? '团队空间' : '问卷' }}列表

+

+ {{ spaceType === SpaceType.Group ? '团队空间' : currentTeamSpace?.name || '问卷列表' }} +

创建团队空间 + + + 团队管理 + { const modifyType = ref('add') const showSpaceModify = ref(false) +// 当前团队信息 +const currentTeamSpace = computed(() => { + return store.state.list.teamSpaceList.find((item: any) => item._id === workSpaceId.value) +}) + +const onSetGroup = async () => { + await store.dispatch('list/getSpaceDetail', workSpaceId.value) + modifyType.value = 'edit' + showSpaceModify.value = true +} + const onCloseModify = (type: string) => { showSpaceModify.value = false if (type === 'update') fetchSpaceList()