diff --git a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue index 6798e0068d..2b9ce97bac 100644 --- a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue +++ b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue @@ -3,7 +3,7 @@
- +
@@ -80,7 +80,8 @@ export default { isTemplate: Boolean, templateReport: Object, isShare: Boolean, - shareId: String + shareId: String, + isPlan: Boolean }, watch: { reportId() { @@ -422,5 +423,4 @@ export default { .scenario-result .icon.is-active { transform: rotate(90deg); } - diff --git a/frontend/src/business/components/api/automation/report/ApiReportViewHeader.vue b/frontend/src/business/components/api/automation/report/ApiReportViewHeader.vue index 6ba3b74fb8..2c3c129f67 100644 --- a/frontend/src/business/components/api/automation/report/ApiReportViewHeader.vue +++ b/frontend/src/business/components/api/automation/report/ApiReportViewHeader.vue @@ -21,7 +21,7 @@ {{$t('report.test_end_time')}}: {{ report.endTime | timestampFormatDate }} - + {{ $t('test_track.plan_view.export_report') }} @@ -41,7 +41,8 @@ export default { exportFlag: { type: Boolean, default: false, - } + }, + isPlan: Boolean }, computed: { path() { diff --git a/frontend/src/business/components/common/components/report/MsReportExportTemplate.vue b/frontend/src/business/components/common/components/report/MsReportExportTemplate.vue index e28cbae870..29c17c2f9d 100644 --- a/frontend/src/business/components/common/components/report/MsReportExportTemplate.vue +++ b/frontend/src/business/components/common/components/report/MsReportExportTemplate.vue @@ -28,4 +28,8 @@ background: white; } + @page { + margin-bottom: 30px; + margin-top: 30px; + } diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanApiReport.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanApiReport.vue index 145ce1509c..e148d1f2eb 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanApiReport.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanApiReport.vue @@ -10,7 +10,7 @@ - + diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanLoadReport.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanLoadReport.vue index 87a091a4aa..66c942e1e9 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanLoadReport.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanLoadReport.vue @@ -8,7 +8,7 @@ - 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 6005a49ec6..0b35981865 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 @@ -234,4 +234,8 @@ export default { width: 100%; padding: 40px; } + +/deep/ .padding-col { + padding: 5px; +} diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/component/ApiCaseFailureResult.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/component/ApiCaseFailureResult.vue index 4418641da6..cce8981677 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/component/ApiCaseFailureResult.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/component/ApiCaseFailureResult.vue @@ -1,54 +1,55 @@