style(API): 接口测试报告页面在左侧请求列表中增加结果状态显示

This commit is contained in:
wenyann 2020-11-06 13:58:06 +08:00
parent 8ccca7dc03
commit 1e5e19417e
1 changed files with 14 additions and 4 deletions

View File

@ -7,12 +7,22 @@
{{ request.method }}
</div>
</el-col>
<el-col :span="20">
<el-col :span="15">
<div class="name">{{ request.name }}</div>
<el-tooltip effect="dark" :content="request.url" placement="bottom" :open-delay="800">
<div class="url">{{ request.url }}</div>
</el-tooltip>
</el-col>
<el-col :span="5">
<div class="success">
<el-tag size="mini" type="success" v-if="request.success">
{{ $t('api_report.success') }}
</el-tag>
<el-tag size="mini" type="danger" v-else>
{{ $t('api_report.fail') }}
</el-tag>
</div>
</el-col>
</el-row>
</div>
</div>