From 32b1c4888ddfb849c6a6b2814703cf7249a2ed1f Mon Sep 17 00:00:00 2001 From: dayou <853094838@qq.com> Date: Fri, 14 Jun 2024 19:05:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9D=83=E9=99=90=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E4=BC=98=E5=8C=96=E4=BB=A5=E5=8F=8A=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=85=B6=E4=BB=96=E9=97=AE=E9=A2=98=20(#290)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/management/api/space.ts | 5 +- web/src/management/components/LeftMenu.vue | 14 +-- .../edit/modules/generalModule/BackPanel.vue | 8 +- .../pages/list/components/SpaceList.vue | 5 +- web/src/management/router/index.ts | 97 ++++++++++--------- web/src/management/store/actions.js | 1 - .../EditOptions/Options/OptionEditBar.vue | 1 - web/src/render/components/MaterialGroup.vue | 3 - web/src/render/components/QuestionWrapper.vue | 1 - web/src/render/pages/IndexPage.vue | 1 - web/src/render/store/getters.js | 1 - 11 files changed, 67 insertions(+), 70 deletions(-) diff --git a/web/src/management/api/space.ts b/web/src/management/api/space.ts index 24de4466..b0aadda9 100644 --- a/web/src/management/api/space.ts +++ b/web/src/management/api/space.ts @@ -1,5 +1,4 @@ import axios from './base' - // 空间 export const createSpace = ({ name, description, members }: any) => { return axios.post('/workspace', { name, description, members }) @@ -29,7 +28,7 @@ export const getUserList = (username: string) => { }) } -// 协作权限列表 +// 获取协作权限下拉框枚举 export const getPermissionList = () => { return axios.get('collaborator/getPermissionList') } @@ -72,4 +71,4 @@ export const getCollaboratorPermissions = (surveyId: string) => { surveyId } }) -} +} \ No newline at end of file diff --git a/web/src/management/components/LeftMenu.vue b/web/src/management/components/LeftMenu.vue index 7f631fe6..e9dc05ab 100644 --- a/web/src/management/components/LeftMenu.vue +++ b/web/src/management/components/LeftMenu.vue @@ -26,7 +26,7 @@