From 33f18742dd72b560f239210ac975b8070a3dbe1e Mon Sep 17 00:00:00 2001 From: ysansan Date: Mon, 8 Jul 2024 21:54:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20list=E6=A8=A1=E5=9D=97=E7=9A=84pinia?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=20(#323)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: list模块的pinia迁移 * fix: type check error * fix: reserSelectValueMap, reserButtonValueMap 命名修正,addSpace和updateSpace 参数类型约束 --------- Co-authored-by: Ysansan --- .../pages/create/components/CreateForm.vue | 10 +- .../pages/list/components/BaseList.vue | 45 ++--- .../pages/list/components/MemberList.vue | 6 +- .../pages/list/components/SpaceList.vue | 25 ++- .../pages/list/components/SpaceModify.vue | 48 ++--- web/src/management/pages/list/index.vue | 63 +++---- web/src/management/store/index.js | 4 +- web/src/management/stores/surveyList.ts | 167 ++++++++++++++++++ web/src/management/stores/teamSpace.ts | 139 +++++++++++++++ web/src/management/utils/types/workSpace.ts | 21 ++- 10 files changed, 425 insertions(+), 103 deletions(-) create mode 100644 web/src/management/stores/surveyList.ts create mode 100644 web/src/management/stores/teamSpace.ts diff --git a/web/src/management/pages/create/components/CreateForm.vue b/web/src/management/pages/create/components/CreateForm.vue index ae07eac5..614a122d 100644 --- a/web/src/management/pages/create/components/CreateForm.vue +++ b/web/src/management/pages/create/components/CreateForm.vue @@ -38,13 +38,11 @@ diff --git a/web/src/management/pages/list/index.vue b/web/src/management/pages/list/index.vue index 4b2cc0ee..33b4a069 100644 --- a/web/src/management/pages/list/index.vue +++ b/web/src/management/pages/list/index.vue @@ -60,60 +60,52 @@