From 5c4de546d9ed7fa39584f7e547d6b5084208f41b Mon Sep 17 00:00:00 2001 From: teukkk Date: Fri, 30 Aug 2024 19:11:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2-?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84&?= =?UTF-8?q?=E5=BC=80=E5=90=AF=E9=AB=98=E7=BA=A7=E7=AD=9B=E9=80=89=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E5=9F=BA=E7=A1=80=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/ms-case-associate/index.vue | 3 +- .../pure/ms-advance-filter/filterDrawer.vue | 47 +++++++++++++------ .../pure/ms-advance-filter/index.ts | 23 ++++----- .../pure/ms-advance-filter/index.vue | 13 ++--- .../components/pure/ms-advance-filter/type.ts | 40 ++++------------ .../components/pure/ms-split-box/index.vue | 18 ++++++- .../components/pure/ms-table/base-table.vue | 6 ++- .../src/components/pure/ms-table/useTable.ts | 25 +++++----- frontend/src/enums/advancedFilterEnum.ts | 28 +++++++---- frontend/src/views/bug-management/index.vue | 27 ++--------- frontend/src/views/bug-management/recycle.vue | 15 ++---- .../components/caseTable.vue | 17 ++++--- .../components/recycleCaseTable.vue | 24 +--------- .../caseManagementFeature/index.vue | 4 +- .../components/detail/caseTable.vue | 3 +- .../components/index/reviewTable.vue | 8 +--- 16 files changed, 139 insertions(+), 162 deletions(-) diff --git a/frontend/src/components/business/ms-case-associate/index.vue b/frontend/src/components/business/ms-case-associate/index.vue index a3a155496e..bed81be8c4 100644 --- a/frontend/src/components/business/ms-case-associate/index.vue +++ b/frontend/src/components/business/ms-case-associate/index.vue @@ -195,7 +195,7 @@ import { useVModel } from '@vueuse/core'; import { CustomTypeMaps, MsAdvanceFilter } from '@/components/pure/ms-advance-filter'; - import { FilterFormItem, FilterType } from '@/components/pure/ms-advance-filter/type'; + import { FilterFormItem } from '@/components/pure/ms-advance-filter/type'; import MsDrawer from '@/components/pure/ms-drawer/index.vue'; import MsIcon from '@/components/pure/ms-icon-font/index.vue'; import MsBaseTable from '@/components/pure/ms-table/base-table.vue'; @@ -215,6 +215,7 @@ import type { CaseManagementTable } from '@/models/caseManagement/featureCase'; import type { CommonList, ModuleTreeNode, TableQueryParams } from '@/models/common'; import type { ProjectListItem } from '@/models/setting/project'; + import { FilterType } from '@/enums/advancedFilterEnum'; import { ProtocolKeyEnum } from '@/enums/apiEnum'; import { CaseLinkEnum } from '@/enums/caseEnum'; import { CaseManagementRouteEnum } from '@/enums/routeEnum'; diff --git a/frontend/src/components/pure/ms-advance-filter/filterDrawer.vue b/frontend/src/components/pure/ms-advance-filter/filterDrawer.vue index 51f831a806..8972dbaeee 100644 --- a/frontend/src/components/pure/ms-advance-filter/filterDrawer.vue +++ b/frontend/src/components/pure/ms-advance-filter/filterDrawer.vue @@ -22,7 +22,7 @@ - +
{{ t('common.filter') }} - {{ t('common.reset') }} + {{ t('common.reset') }} {{ t('common.save') }} {{ t('advanceFilter.saveAsView') }} @@ -215,6 +215,7 @@