refactor(性能测试): 用例页面的测试详情

This commit is contained in:
Captain.B 2021-06-06 10:21:53 +08:00 committed by 刘瑞斌
parent 33e9af4cb9
commit 71bd6d2895
2 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,9 @@
<el-tab-pane :label="$t('report.test_overview')">
<ms-report-test-overview :report="report" ref="testOverview"/>
</el-tab-pane>
<el-tab-pane :label="$t('report.test_details')">
<ms-report-test-details :report="report" ref="testDetails"/>
</el-tab-pane>
<el-tab-pane :label="$t('report.test_request_statistics')">
<ms-report-request-statistics :report="report" ref="requestStatistics"/>
</el-tab-pane>
@ -101,6 +104,7 @@ import MsContainer from "@/business/components/common/components/MsContainer";
import MsMainContainer from "@/business/components/common/components/MsMainContainer";
import MsPerformancePressureConfig from "@/business/components/performance/report/components/PerformancePressureConfig";
import MonitorCard from "@/business/components/performance/report/components/MonitorCard";
import MsReportTestDetails from '@/business/components/performance/report/components/TestDetails';
export default {
@ -112,6 +116,7 @@ export default {
MsReportLogDetails,
MsReportRequestStatistics,
MsReportTestOverview,
MsReportTestDetails,
MsContainer,
MsMainContainer,
MsPerformancePressureConfig

View File

@ -40,6 +40,9 @@
<el-tab-pane :label="$t('report.test_overview')">
<test-overview :report="report"/>
</el-tab-pane>
<el-tab-pane :label="$t('report.test_details')">
<ms-report-test-details :report="report" ref="testDetails"/>
</el-tab-pane>
<el-tab-pane :label="$t('report.test_request_statistics')">
<request-statistics :report="report"/>
</el-tab-pane>
@ -63,11 +66,13 @@ import LogDetails from "../../../../../performance/report/components/LogDetails"
import ErrorLog from "../../../../../performance/report/components/ErrorLog";
import RequestStatistics from "../../../../../performance/report/components/RequestStatistics";
import TestOverview from "../../../../../performance/report/components/TestOverview";
import MsReportTestDetails from "@/business/components/performance/report/components/TestDetails";
export default {
name: "PerformanceTestResult",
components: {
TestOverview,
MsReportTestDetails,
RequestStatistics,
ErrorLog,
LogDetails,