From f783b00d37147ad3f8be0432d0d044e98a486900 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Fri, 15 Jul 2022 14:36:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E6=8A=A5=E5=91=8A=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=A2=9E=E5=8A=A0=E8=BF=90=E8=A1=8C=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E7=9A=84=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 接口测试报告导出增加运行环境的显示 --- .../api/automation/report/ApiReportDetail.vue | 1 + .../api/automation/report/ApiReportExport.vue | 149 +++++++++--------- .../components/card/ApiCaseCountCard.vue | 2 +- .../homepage/components/card/ApiCountCard.vue | 2 +- .../components/card/ScenarioCountCard.vue | 6 +- .../components/card/ScheduleTaskCountCard.vue | 2 +- .../report/MsReportExportTemplate.vue | 41 ++--- .../components/report/MsReportTitle.vue | 90 ++++++----- 8 files changed, 157 insertions(+), 136 deletions(-) diff --git a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue index 606851bb1e..aa8ebcc56e 100644 --- a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue +++ b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue @@ -94,6 +94,7 @@ - +
@@ -15,41 +16,41 @@ {{ getName(request.name) }}
- {{request.url}} + {{ request.url }}
- {{request.method}} + {{ request.method }} - {{request.responseResult.responseTime}} ms + {{ request.responseResult.responseTime }} ms - {{request.responseResult.latency}} ms + {{ request.responseResult.latency }} ms - {{request.requestSize}} bytes + {{ request.requestSize }} bytes - {{request.responseResult.responseSize}} bytes + {{ request.responseResult.responseSize }} bytes - {{request.error}} + {{ request.error }} - {{request.passAssertions + " / " + request.totalAssertions}} + {{ request.passAssertions + " / " + request.totalAssertions }} - {{request.responseResult.responseCode}} + {{ request.responseResult.responseCode }} @@ -65,10 +66,10 @@ {{ $t('error_report_library.option.name') }} - {{$t('api_report.success')}} + {{ $t('api_report.success') }} - {{$t('api_report.fail')}} + {{ $t('api_report.fail') }}
@@ -80,80 +81,82 @@ diff --git a/frontend/src/business/components/api/homepage/components/card/ApiCaseCountCard.vue b/frontend/src/business/components/api/homepage/components/card/ApiCaseCountCard.vue index fa74e06fc7..6dfb63898c 100644 --- a/frontend/src/business/components/api/homepage/components/card/ApiCaseCountCard.vue +++ b/frontend/src/business/components/api/homepage/components/card/ApiCaseCountCard.vue @@ -258,7 +258,7 @@ export default { .rows-count-number { font-family: 'ArialMT', 'Arial', sans-serif; font-size: 14px; - color: var(--count_number); + color: var(--count_number) !important; } .detail-container { diff --git a/frontend/src/business/components/api/homepage/components/card/ApiCountCard.vue b/frontend/src/business/components/api/homepage/components/card/ApiCountCard.vue index 225ff1aa42..710b07feed 100644 --- a/frontend/src/business/components/api/homepage/components/card/ApiCountCard.vue +++ b/frontend/src/business/components/api/homepage/components/card/ApiCountCard.vue @@ -185,7 +185,7 @@ export default { .rows-count-number { font-family: 'ArialMT', 'Arial', sans-serif; font-size: 14px; - color: var(--count_number); + color: var(--count_number) !important; } .detail-container { diff --git a/frontend/src/business/components/api/homepage/components/card/ScenarioCountCard.vue b/frontend/src/business/components/api/homepage/components/card/ScenarioCountCard.vue index 441ee7622a..7d54a42dea 100644 --- a/frontend/src/business/components/api/homepage/components/card/ScenarioCountCard.vue +++ b/frontend/src/business/components/api/homepage/components/card/ScenarioCountCard.vue @@ -76,7 +76,7 @@ {{ $t('api_test.home_page.detail_card.unexecute') }} - + {{ sceneCountData.unexecuteCount }} @@ -116,7 +116,7 @@ {{ $t('api_test.home_page.detail_card.unexecute') }} - + {{ sceneCountData.unexecuteCount }} @@ -234,7 +234,7 @@ export default { .rows-count-number { font-family: 'ArialMT', 'Arial', sans-serif; font-size: 14px; - color: var(--count_number); + color: var(--count_number) !important; } .detail-container { diff --git a/frontend/src/business/components/api/homepage/components/card/ScheduleTaskCountCard.vue b/frontend/src/business/components/api/homepage/components/card/ScheduleTaskCountCard.vue index 4978087d7b..06a9083338 100644 --- a/frontend/src/business/components/api/homepage/components/card/ScheduleTaskCountCard.vue +++ b/frontend/src/business/components/api/homepage/components/card/ScheduleTaskCountCard.vue @@ -169,7 +169,7 @@ export default { .rows-count-number { font-family: 'ArialMT', 'Arial', sans-serif; font-size: 14px; - color: var(--count_number); + color: var(--count_number) !important; } .detail-container { diff --git a/frontend/src/business/components/common/components/report/MsReportExportTemplate.vue b/frontend/src/business/components/common/components/report/MsReportExportTemplate.vue index aa4cb1ebc0..db7a354e63 100644 --- a/frontend/src/business/components/common/components/report/MsReportExportTemplate.vue +++ b/frontend/src/business/components/common/components/report/MsReportExportTemplate.vue @@ -1,35 +1,36 @@ diff --git a/frontend/src/business/components/common/components/report/MsReportTitle.vue b/frontend/src/business/components/common/components/report/MsReportTitle.vue index 7bfb712a5f..aa9ab19aa7 100644 --- a/frontend/src/business/components/common/components/report/MsReportTitle.vue +++ b/frontend/src/business/components/common/components/report/MsReportTitle.vue @@ -1,62 +1,78 @@