refactor (接口测试): 报告显示优化去除用例集合报告展示的场景统计
--story=1006186 --user=赵勇 接口case 的集合报告不展示场景的统计 https://www.tapd.cn/55049933/s/1117551
This commit is contained in:
parent
f158a7c979
commit
3389925e9e
|
@ -7,7 +7,7 @@
|
|||
:debug="debug" :report="report" @reportExport="handleExport"
|
||||
@reportSave="handleSave"/>
|
||||
<main v-if="isNotRunning">
|
||||
<ms-metric-chart :content="content" :totalTime="totalTime"/>
|
||||
<ms-metric-chart :content="content" :totalTime="totalTime" :report="report"/>
|
||||
<div>
|
||||
<el-tabs v-model="activeName" @tab-click="handleClick">
|
||||
<el-tab-pane :label="$t('api_report.total')" name="total">
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<div class="split"></div>
|
||||
<!-- 场景统计 -->
|
||||
<div style="width: 50%">
|
||||
<el-row type="flex" justify="center" align="middle">
|
||||
<el-row type="flex" justify="center" align="middle" v-if="report.reportType !== 'API_INTEGRATED'">
|
||||
<div class="metric-box">
|
||||
<div class="value">{{ content.scenarioTotal ? content.scenarioTotal : 0}}</div>
|
||||
<div class="name">{{ $t('api_test.scenario.scenario') }}</div>
|
||||
|
@ -69,7 +69,7 @@
|
|||
<div class="name">{{ $t('error_report_library.option.name') }}</div>
|
||||
</div>
|
||||
</el-row>
|
||||
<el-divider></el-divider>
|
||||
<el-divider v-if="report.reportType !== 'API_INTEGRATED'"/>
|
||||
<el-row type="flex" justify="center" align="middle">
|
||||
<el-row type="flex" justify="center" align="middle">
|
||||
<div class="metric-box">
|
||||
|
@ -131,6 +131,7 @@
|
|||
name: "MsMetricChart",
|
||||
components: {MsChart},
|
||||
props: {
|
||||
report: Object,
|
||||
content: Object,
|
||||
totalTime: Number,
|
||||
isExport:{
|
||||
|
|
Loading…
Reference in New Issue