From 0544e09b0bac319c8e5fbd449c0569b66a75221b Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 18 Jan 2022 15:34:25 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=A6=96=E9=A1=B5=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E7=BB=9F=E8=AE=A1=E6=98=BE=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1009703 --user=陈建星 [测试跟踪] github#9466测试跟踪首页用例数量统计显示不全 https://www.tapd.cn/55049933/s/10932477 --- .../api/homepage/components/ApiInfoCard.vue | 23 ++-------- .../api/homepage/components/SceneInfoCard.vue | 19 ++------ .../components/ScheduleTaskInfoCard.vue | 20 ++------ .../homepage/components/TestCaseInfoCard.vue | 22 ++------- .../common/chart/MsCountRingChart.vue | 46 +++++++++++++++++++ .../components/track/home/TrackHome.vue | 1 - .../track/home/components/BugCountCard.vue | 20 ++++---- .../track/home/components/CaseCountCard.vue | 24 +++------- .../home/components/RelevanceCaseCard.vue | 23 ++-------- 9 files changed, 81 insertions(+), 117 deletions(-) create mode 100644 frontend/src/business/components/common/chart/MsCountRingChart.vue diff --git a/frontend/src/business/components/api/homepage/components/ApiInfoCard.vue b/frontend/src/business/components/api/homepage/components/ApiInfoCard.vue index ad3ed29d24..8a96194986 100644 --- a/frontend/src/business/components/api/homepage/components/ApiInfoCard.vue +++ b/frontend/src/business/components/api/homepage/components/ApiInfoCard.vue @@ -7,15 +7,9 @@ -
- - {{ apiCountData.allApiDataCountNumber }} - - - {{ $t('api_test.home_page.unit_of_measurement') }} - -
+
+
@@ -162,10 +156,11 @@ + + diff --git a/frontend/src/business/components/track/home/TrackHome.vue b/frontend/src/business/components/track/home/TrackHome.vue index d05cc7f3e2..4bfbd4e99a 100644 --- a/frontend/src/business/components/track/home/TrackHome.vue +++ b/frontend/src/business/components/track/home/TrackHome.vue @@ -38,7 +38,6 @@ - diff --git a/frontend/src/business/components/track/home/components/BugCountCard.vue b/frontend/src/business/components/track/home/components/BugCountCard.vue index 55d7955fc2..34a30f2846 100644 --- a/frontend/src/business/components/track/home/components/BugCountCard.vue +++ b/frontend/src/business/components/track/home/components/BugCountCard.vue @@ -7,21 +7,17 @@
-
- - {{ bugTotalSize }} - - - {{ $t('api_test.home_page.unit_of_measurement') }} - -
- {{ $t('test_track.home.percentage') }} - + + + +
+ {{ $t('test_track.home.percentage') }} + {{rage}} -
+ @@ -57,10 +53,12 @@