From 42d5619af5a09900c31313fbf141c53c421fdaab Mon Sep 17 00:00:00 2001 From: baiqi Date: Fri, 1 Nov 2024 16:43:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A1=A8=E6=A0=BC=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1&=E7=94=A8=E4=BE=8B=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=93=8D=E4=BD=9C=E6=A0=8F=E5=AE=BD=E5=BA=A6=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/MsTableOperators.vue | 48 +- .../src/components/new-ui/MsTable.vue | 345 ++++-- .../business/case/components/TestCaseList.vue | 1051 ++++++++++------- 3 files changed, 850 insertions(+), 594 deletions(-) diff --git a/framework/sdk-parent/frontend/src/components/MsTableOperators.vue b/framework/sdk-parent/frontend/src/components/MsTableOperators.vue index 80278139a8..09c23eddf1 100644 --- a/framework/sdk-parent/frontend/src/components/MsTableOperators.vue +++ b/framework/sdk-parent/frontend/src/components/MsTableOperators.vue @@ -1,14 +1,23 @@ - diff --git a/framework/sdk-parent/frontend/src/components/new-ui/MsTable.vue b/framework/sdk-parent/frontend/src/components/new-ui/MsTable.vue index aea2dad5ed..3cdab419cc 100644 --- a/framework/sdk-parent/frontend/src/components/new-ui/MsTable.vue +++ b/framework/sdk-parent/frontend/src/components/new-ui/MsTable.vue @@ -8,11 +8,14 @@ v-loading="tableIsLoading" :data="data" :default-sort="defaultSort" - :class="{'ms-select-all-fixed': (showSelectAll && !hidePopover), 'row-click': rowClickStyle}" + :class="{ + 'ms-select-all-fixed': showSelectAll && !hidePopover, + 'row-click': rowClickStyle, + }" :height="screenHeight" :row-key="rowKey" :row-class-name="tableRowClassName" - :row-style='rowStyle' + :row-style="rowStyle" :cell-class-name="addPaddingColClass" :highlight-current-row="highlightCurrentRow" :border="enableHeaderDrag" @@ -25,21 +28,20 @@ @cell-mouse-enter="showPopover" @row-click="handleRowClick" :max-height="enableMaxHeight ? maxHeight : 'auto'" - ref="table"> + ref="table" + > + - - - +