From 0a037a2f3bbb4c846a62d7007a6ac76744f50fd5 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Mon, 25 Nov 2024 18:07:32 +0800 Subject: [PATCH] =?UTF-8?q?style(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=B7=A5=E4=BD=9C=E5=8F=B0=E5=8D=A1=E7=89=87=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=88=87=E6=8D=A2=E6=A8=A1=E5=BC=8F=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E8=87=AA=E9=80=82=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../homePage/components/apiCount.vue | 13 ++++++---- .../homePage/components/caseCount.vue | 26 +++++++++---------- .../homePage/components/defectMemberBar.vue | 2 +- .../homePage/components/overview.vue | 2 +- .../homePage/components/overviewMember.vue | 2 +- .../homePage/components/passRatePie.vue | 4 +-- .../homePage/components/testPlanCount.vue | 22 +++++++--------- .../src/views/workbench/homePage/index.vue | 2 +- 8 files changed, 35 insertions(+), 38 deletions(-) diff --git a/frontend/src/views/workbench/homePage/components/apiCount.vue b/frontend/src/views/workbench/homePage/components/apiCount.vue index 126b56ade0..22c0bcb946 100644 --- a/frontend/src/views/workbench/homePage/components/apiCount.vue +++ b/frontend/src/views/workbench/homePage/components/apiCount.vue @@ -22,8 +22,12 @@
- - - +
+
@@ -52,7 +56,6 @@ import MsSelect from '@/components/business/ms-select'; import CardSkeleton from './cardSkeleton.vue'; import PassRatePie from './passRatePie.vue'; - import TabCard from './tabCard.vue'; import { workApiCountCoverRage, workApiCountDetail } from '@/api/modules/workbench'; import { useI18n } from '@/hooks/useI18n'; diff --git a/frontend/src/views/workbench/homePage/components/caseCount.vue b/frontend/src/views/workbench/homePage/components/caseCount.vue index e40e6ea896..55cfb948a1 100644 --- a/frontend/src/views/workbench/homePage/components/caseCount.vue +++ b/frontend/src/views/workbench/homePage/components/caseCount.vue @@ -22,19 +22,18 @@
- - - +
+
+ +
+
+
@@ -53,7 +52,6 @@ import MsSelect from '@/components/business/ms-select'; import CardSkeleton from './cardSkeleton.vue'; import PassRatePie from './passRatePie.vue'; - import TabCard from './tabCard.vue'; import { workCaseCountDetail } from '@/api/modules/workbench'; import { useI18n } from '@/hooks/useI18n'; diff --git a/frontend/src/views/workbench/homePage/components/defectMemberBar.vue b/frontend/src/views/workbench/homePage/components/defectMemberBar.vue index a88d615e6e..f1771bcb5b 100644 --- a/frontend/src/views/workbench/homePage/components/defectMemberBar.vue +++ b/frontend/src/views/workbench/homePage/components/defectMemberBar.vue @@ -26,7 +26,7 @@ allow-clear allow-search :search-keys="['label']" - class="!w-[200px]" + class="!w-[220px]" :prefix="t('workbench.homePage.staff')" :multiple="true" :has-all-select="true" diff --git a/frontend/src/views/workbench/homePage/components/overview.vue b/frontend/src/views/workbench/homePage/components/overview.vue index 8e7ff1f1e4..7b516a579a 100644 --- a/frontend/src/views/workbench/homePage/components/overview.vue +++ b/frontend/src/views/workbench/homePage/components/overview.vue @@ -15,7 +15,7 @@ value-key="id" label-key="name" :search-keys="['name']" - class="!w-[200px]" + class="!w-[230px]" :prefix="t('workbench.homePage.project')" :multiple="true" :has-all-select="true" diff --git a/frontend/src/views/workbench/homePage/components/overviewMember.vue b/frontend/src/views/workbench/homePage/components/overviewMember.vue index f50e94b106..b79ccfd3dd 100644 --- a/frontend/src/views/workbench/homePage/components/overviewMember.vue +++ b/frontend/src/views/workbench/homePage/components/overviewMember.vue @@ -29,7 +29,7 @@ value-key="value" label-key="label" :search-keys="['label']" - class="!w-[200px]" + class="!w-[220px]" :prefix="t('workbench.homePage.staff')" :multiple="true" :has-all-select="true" diff --git a/frontend/src/views/workbench/homePage/components/passRatePie.vue b/frontend/src/views/workbench/homePage/components/passRatePie.vue index 3eaf43b65e..bd2a95b232 100644 --- a/frontend/src/views/workbench/homePage/components/passRatePie.vue +++ b/frontend/src/views/workbench/homePage/components/passRatePie.vue @@ -13,7 +13,7 @@
-
{{ item.label }}
+
{{ item.label }}
{{ hasPermission ? addCommasToNumber(item.value as number) : '-' }}
@@ -21,8 +21,6 @@