From 406a94c6e05ef79bb70adf964da0f03d45208b45 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 27 Jul 2022 11:13:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=8A=A5=E5=91=8A=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=BC=BA=E9=99=B7UI=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comonents/report/detail/TestPlanReportContent.vue | 1 + .../report/detail/TestPlanReportNavigationBar.vue | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContent.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContent.vue index f3332cf7f8..de09fb8bfe 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContent.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContent.vue @@ -23,6 +23,7 @@ :summary-enable="summaryEnable" :functional-enable="functionalEnable" :load-enable="loadEnable" + :ui-enable="uiEnable" :overview-enable="overviewEnable" :is-template="isTemplate"/> diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportNavigationBar.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportNavigationBar.vue index 1c54b43af9..5d26495be7 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportNavigationBar.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportNavigationBar.vue @@ -34,7 +34,8 @@ export default { functionalEnable: Boolean, apiEnable: Boolean, loadEnable: Boolean, - needMoveBar: Boolean + uiEnable: Boolean, + needMoveBar: Boolean, }, data() { return { @@ -60,6 +61,10 @@ export default { { link: 'load', title: this.$t('test_track.report.analysis_load'), + }, + { + link: 'ui', + title: this.$t('test_track.report.analysis_ui') } ] } @@ -84,6 +89,9 @@ export default { loadEnable() { this.setData(); }, + uiEnable() { + this.setData(); + } }, computed: { navBtnClass() { @@ -109,6 +117,7 @@ export default { ['functional', this.functionalEnable], ['api', this.apiEnable], ['load', this.loadEnable], + ['ui', this.uiEnable], ]); this.data = []; this.contents.forEach(item => {