diff --git a/frontend/src/views/api-test/components/requestComposition/response/result/index.vue b/frontend/src/views/api-test/components/requestComposition/response/result/index.vue index c7602f41da..a5cd589eb4 100644 --- a/frontend/src/views/api-test/components/requestComposition/response/result/index.vue +++ b/frontend/src/views/api-test/components/requestComposition/response/result/index.vue @@ -75,16 +75,6 @@ - -
- {{ props.environmentName }} -
- -
@@ -152,7 +142,6 @@ isHttpProtocol?: boolean; isDefinition?: boolean; showType: 'API' | 'CASE'; - environmentName?: string; // 环境 isResponseModel?: boolean; reportId?: string; steps?: ScenarioItemType[]; // 步骤列表 diff --git a/frontend/src/views/api-test/report/component/case/setReportChart.vue b/frontend/src/views/api-test/report/component/case/setReportChart.vue index f35775527c..cf40d97c47 100644 --- a/frontend/src/views/api-test/report/component/case/setReportChart.vue +++ b/frontend/src/views/api-test/report/component/case/setReportChart.vue @@ -40,7 +40,7 @@
{{ item.label }}
-
{{ item.count || 0 }}
+
{{ item.count || 0 }}
{{ item.rote || 0 }}
diff --git a/frontend/src/views/api-test/report/component/step/stepDrawer.vue b/frontend/src/views/api-test/report/component/step/stepDrawer.vue index 2f33e8eab5..b2bece2f2e 100644 --- a/frontend/src/views/api-test/report/component/step/stepDrawer.vue +++ b/frontend/src/views/api-test/report/component/step/stepDrawer.vue @@ -23,7 +23,6 @@ :step-item="props.scenarioDetail" :console="props.console" :is-definition="true" - :environment-name="props.environmentName" :report-id="props.scenarioDetail?.reportId" /> @@ -37,12 +36,9 @@ import ConditionStatus from '../conditionStatus.vue'; import StepDetailContent from '@/views/api-test/components/requestComposition/response/result/index.vue'; - import { useI18n } from '@/hooks/useI18n'; - import type { ScenarioItemType } from '@/models/apiTest/report'; import { ScenarioStepType } from '@/enums/apiEnum'; - const { t } = useI18n(); const props = defineProps<{ visible: boolean; stepId: string; @@ -50,7 +46,6 @@ scenarioDetail?: ScenarioItemType; showType: 'API' | 'CASE'; // 接口场景|用例 console?: string; // 控制台 - environmentName?: string; // 环境名称 }>(); const emit = defineEmits<{ diff --git a/frontend/src/views/api-test/report/component/step/stepTree.vue b/frontend/src/views/api-test/report/component/step/stepTree.vue index c2da995e09..7d336c637e 100644 --- a/frontend/src/views/api-test/report/component/step/stepTree.vue +++ b/frontend/src/views/api-test/report/component/step/stepTree.vue @@ -172,7 +172,6 @@ :step-item="step" :console="props.console" :is-definition="true" - :environment-name="props.environmentName" :show-type="props.showType" :is-response-model="true" :report-id="props?.reportId" @@ -221,7 +220,6 @@ showType: 'API' | 'CASE'; activeType: 'tiled' | 'tab'; console?: string; - environmentName?: string; reportId?: string; expandedKeys: (string | number)[]; }>(); diff --git a/frontend/src/views/api-test/report/component/tiledList.vue b/frontend/src/views/api-test/report/component/tiledList.vue index d18607291e..4e8a88dec9 100644 --- a/frontend/src/views/api-test/report/component/tiledList.vue +++ b/frontend/src/views/api-test/report/component/tiledList.vue @@ -14,7 +14,6 @@ :active-type="props.activeType" :expand-all="isExpandAll" :console="props.reportDetail.console" - :environment-name="props.reportDetail.environmentName" :report-id="props.reportDetail.id" @detail="showDetail" /> @@ -26,7 +25,6 @@ :scenario-detail="scenarioDetail" :show-type="props.showType" :console="props.reportDetail.console" - :environment-name="props.reportDetail.environmentName" :report-id="props.reportDetail.id" /> diff --git a/frontend/src/views/api-test/report/locale/en-US.ts b/frontend/src/views/api-test/report/locale/en-US.ts index f1df1beada..f67e45e484 100644 --- a/frontend/src/views/api-test/report/locale/en-US.ts +++ b/frontend/src/views/api-test/report/locale/en-US.ts @@ -36,7 +36,7 @@ export default { 'report.detail.api.requestTotalTimeTip': 'The total response time of all requests', 'report.detail.api.assertPass': 'Assert pass', 'report.detail.api.executionRate': 'Req execution Rate', - 'report.detail.api.requestAnalysis': 'Report analysis', + 'report.detail.api.requestAnalysis': 'Request analysis', 'report.detail.api.total': 'total', 'report.detail.api.reportDetail': 'Report detail', 'report.detail.api.filterPlaceholder': 'Please select a filter conditions', diff --git a/frontend/src/views/api-test/report/locale/zh-CN.ts b/frontend/src/views/api-test/report/locale/zh-CN.ts index 31b567da68..e792b91688 100644 --- a/frontend/src/views/api-test/report/locale/zh-CN.ts +++ b/frontend/src/views/api-test/report/locale/zh-CN.ts @@ -34,7 +34,7 @@ export default { 'report.detail.api.requestTotalTimeTip': '全部请求的响应时间总和', 'report.detail.api.assertPass': '断言通过率', 'report.detail.api.executionRate': '请求执行率', - 'report.detail.api.requestAnalysis': '报告分析', + 'report.detail.api.requestAnalysis': '请求分析', 'report.detail.api.total': '总数(个)', 'report.detail.api.reportDetail': '报告明细', 'report.detail.api.filterPlaceholder': '请选择过滤条件', diff --git a/frontend/src/views/test-plan/report/detail/component/planDetail.vue b/frontend/src/views/test-plan/report/detail/component/planDetail.vue index 53a15d7eaf..59c819ace6 100644 --- a/frontend/src/views/test-plan/report/detail/component/planDetail.vue +++ b/frontend/src/views/test-plan/report/detail/component/planDetail.vue @@ -13,7 +13,7 @@
-
{{ t('report.detail.api.requestAnalysis') }}
+
{{ t('report.detail.api.reportAnalysis') }}