fix(接口测试): 步骤结果未对齐

--bug=1026270 --user=宋昌昌 【接口测试】场景报告-执行结果-步骤结果未对齐 https://www.tapd.cn/55049933/s/1374249
This commit is contained in:
song-cc-rock 2023-05-23 10:46:30 +08:00 committed by fit2-zhao
parent 91fdace459
commit a86c6e3b8b
1 changed files with 22 additions and 18 deletions

View File

@ -8,25 +8,25 @@
"> ">
<el-card class="ms-card"> <el-card class="ms-card">
<el-row> <el-row>
<el-col :span="22"> <el-col :span="22">
<div class="el-step__icon is-text ms-api-col"> <div class="el-step__icon is-text ms-api-col">
<div class="el-step__icon-inner"> <div class="el-step__icon-inner">
{{ node.index }} {{ node.index }}
</div> </div>
</div>
<el-tooltip effect="dark" :content="node.label" placement="top">
<el-link v-if="node.redirect" class="report-label-head" @click="isLink">
{{ getLabel(node.label) }}
</el-link>
<span v-else>{{ getLabel(node.label) }}</span>
</el-tooltip>
</el-col>
<el-col :span="2">
<div style="float: right">
<ms-api-report-status :status="node.totalStatus"
v-if="node.type !=='ConstantTimer'|| node.type !=='Assertion'"/>
</div> </div>
</el-col> <el-tooltip effect="dark" :content="node.label" placement="top">
<el-link v-if="node.redirect" class="report-label-head" @click="isLink">
{{ getLabel(node.label) }}
</el-link>
<span v-else>{{ getLabel(node.label) }}</span>
</el-tooltip>
</el-col>
<el-col :span="2">
<div style="float: right">
<ms-api-report-status :status="node.totalStatus"
v-if="node.type !=='ConstantTimer'|| node.type !=='Assertion'"/>
</div>
</el-col>
</el-row> </el-row>
</el-card> </el-card>
</div> </div>
@ -188,4 +188,8 @@ export default {
height: 20px; height: 20px;
font-size: 12px; font-size: 12px;
} }
:deep(.ms-card .el-card__body) {
padding-right: 1px;
}
</style> </style>