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"
|
:debug="debug" :report="report" @reportExport="handleExport"
|
||||||
@reportSave="handleSave"/>
|
@reportSave="handleSave"/>
|
||||||
<main v-if="isNotRunning">
|
<main v-if="isNotRunning">
|
||||||
<ms-metric-chart :content="content" :totalTime="totalTime"/>
|
<ms-metric-chart :content="content" :totalTime="totalTime" :report="report"/>
|
||||||
<div>
|
<div>
|
||||||
<el-tabs v-model="activeName" @tab-click="handleClick">
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
||||||
<el-tab-pane :label="$t('api_report.total')" name="total">
|
<el-tab-pane :label="$t('api_report.total')" name="total">
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
<div class="split"></div>
|
<div class="split"></div>
|
||||||
<!-- 场景统计 -->
|
<!-- 场景统计 -->
|
||||||
<div style="width: 50%">
|
<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="metric-box">
|
||||||
<div class="value">{{ content.scenarioTotal ? content.scenarioTotal : 0}}</div>
|
<div class="value">{{ content.scenarioTotal ? content.scenarioTotal : 0}}</div>
|
||||||
<div class="name">{{ $t('api_test.scenario.scenario') }}</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 class="name">{{ $t('error_report_library.option.name') }}</div>
|
||||||
</div>
|
</div>
|
||||||
</el-row>
|
</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">
|
||||||
<el-row type="flex" justify="center" align="middle">
|
<el-row type="flex" justify="center" align="middle">
|
||||||
<div class="metric-box">
|
<div class="metric-box">
|
||||||
|
@ -131,6 +131,7 @@
|
||||||
name: "MsMetricChart",
|
name: "MsMetricChart",
|
||||||
components: {MsChart},
|
components: {MsChart},
|
||||||
props: {
|
props: {
|
||||||
|
report: Object,
|
||||||
content: Object,
|
content: Object,
|
||||||
totalTime: Number,
|
totalTime: Number,
|
||||||
isExport:{
|
isExport:{
|
||||||
|
|
Loading…
Reference in New Issue