fix(测试跟踪): 测试计划执行接口loading遮罩显示问题

--bug=1024729 --user=宋昌昌 【测试跟踪】测试计划-接口用例-操作执行-执行中-向右滚动查看页面-遮挡操作按钮 https://www.tapd.cn/55049933/s/1357390
This commit is contained in:
song-cc-rock 2023-03-29 19:15:15 +08:00 committed by fit2-zhao
parent 83a28bb25c
commit ee96610dd4
2 changed files with 14 additions and 15 deletions

View File

@ -178,22 +178,21 @@
align="center"
>
<template v-slot:default="scope">
<div v-loading="rowLoading === scope.row.id">
<el-link
@click="getReportResult(scope.row)"
:disabled="
<el-link
@click="getReportResult(scope.row)"
:disabled="
!scope.row.execResult || scope.row.execResult === 'PENDING'
"
>
<ms-test-plan-api-status :status="scope.row.execResult" />
</el-link>
<div
v-if="scope.row.id"
style="color: #999999; font-size: 12px"
>
<span> {{ scope.row.updateTime | datetimeFormat }}</span>
{{ scope.row.updateUser }}
</div>
>
<ms-test-plan-api-status :status="scope.row.execResult" />
<i v-if="rowLoading === scope.row.id" class="el-icon-loading" style="margin-left: 10px"/>
</el-link>
<div
v-if="scope.row.id"
style="color: #999999; font-size: 12px"
>
<span> {{ scope.row.updateTime | datetimeFormat }}</span>
{{ scope.row.updateUser }}
</div>
</template>
</ms-table-column>

View File

@ -1,5 +1,5 @@
<template>
<div>
<div style="display: inline">
<el-tag size="mini" type="primary" effect="plain" v-if="getStatus(status) === 'running'">
{{ showStatus(status) }}
</el-tag>