From f1fe90aeb11b52dd7e096c39d296c1fa38a0a38a Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 15 May 2024 18:59:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=BF=E6=8D=A2=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E6=89=80=E6=9C=89=E7=9A=84=E8=A1=A8=E5=A4=B4?= =?UTF-8?q?=E7=AD=9B=E9=80=89&=E5=85=AC=E5=85=B1=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/pure/ms-table/base-table.vue | 12 +- .../pure/ms-table/comp/defaultFilter.vue | 22 +- .../pure/ms-table/comp/filterConfig.ts | 8 + .../src/components/pure/ms-table/useTable.ts | 6 + frontend/src/enums/tableFilterEnum.ts | 6 + frontend/src/enums/taskCenter.ts | 6 + .../project-management/commonScript/index.vue | 76 ++---- .../taskCenter/component/apiCase.vue | 235 +++++------------- .../taskCenter/component/executionStatus.vue | 3 +- .../taskCenter/component/scheduledTask.vue | 171 +++++-------- .../taskCenter/component/taskCom.vue | 5 +- .../taskCenter/component/utils.ts | 144 +++++++---- 12 files changed, 304 insertions(+), 390 deletions(-) diff --git a/frontend/src/components/pure/ms-table/base-table.vue b/frontend/src/components/pure/ms-table/base-table.vue index 8a1ffc36fa..679cb6b202 100644 --- a/frontend/src/components/pure/ms-table/base-table.vue +++ b/frontend/src/components/pure/ms-table/base-table.vue @@ -106,7 +106,7 @@ :options="item.filterConfig.options" :data-index="item.dataIndex" v-bind="item.filterConfig" - :filter="filter" + :filter="filterData" @handle-confirm="(v) => handleFilterConfirm(v, item.dataIndex as string, item.isCustomParam || false)" > + + - -