From c0d7fc80c00e254fdb7cfce87b314258972f8a05 Mon Sep 17 00:00:00 2001 From: zhangdahai112 Date: Mon, 20 Jun 2022 17:11:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(UI=20=E8=87=AA=E5=8A=A8=E5=8C=96):=20UI?= =?UTF-8?q?=E6=8A=A5=E5=91=8A-=E5=9C=BA=E6=99=AF/=E6=AD=A5=E9=AA=A4?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E6=97=A0=E6=9C=AA=E6=89=A7=E8=A1=8C=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1014216 --user=张大海 【UI测试】UI报告-场景/步骤统计无未执行状态 https://www.tapd.cn/55049933/s/1186977 --- .../automation/report/components/MetricChart.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/frontend/src/business/components/api/automation/report/components/MetricChart.vue b/frontend/src/business/components/api/automation/report/components/MetricChart.vue index 17687217dd..2db5674db8 100644 --- a/frontend/src/business/components/api/automation/report/components/MetricChart.vue +++ b/frontend/src/business/components/api/automation/report/components/MetricChart.vue @@ -111,14 +111,22 @@
{{ content.scenarioStepErrorReport ? content.scenarioStepErrorReport : 0 }}
{{ $t('error_report_library.option.name') }}
- -
+ +
{{ content.scenarioStepUnExecuteReport ? content.scenarioStepUnExecuteReport : 0 }}
{{ $t('api_test.home_page.detail_card.unexecute') }}
+ +
+
{{ + content.unExecute ? content.unExecute : 0 + }} +
+
{{ $t('api_test.home_page.detail_card.unexecute') }}
+
@@ -293,8 +301,8 @@ export default { }, showUnExecuteReport() { return (this.content.scenarioStepUnExecuteReport && this.content.scenarioStepUnExecuteReport > 0) - || (this.content.scenarioUnExecute && this.content.scenarioUnExecute > 0); - } + || (this.content.scenarioUnExecute && this.content.scenarioUnExecute > 0) || (this.content.unExecute && this.content.unExecute > 0); + }, }, }