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()