fix(测试跟踪): 修复测试跟踪7天失败用例未展示测试计划的缺陷

--bug=1015086 --user=宋天阳 【测试跟踪】测试跟踪首页-过去7天测试计划失败用例TOP10,所属测试计划没显示
https://www.tapd.cn/55049933/s/1205557
This commit is contained in:
song-tianyang 2022-07-20 16:21:08 +08:00 committed by 建国
parent 189af2a829
commit 1368923d19
3 changed files with 8 additions and 7 deletions

View File

@ -35,10 +35,9 @@
</el-table-column>
<el-table-column prop="testPlan" :label="$t('api_test.home_page.failed_case_list.table_coloum.test_plan')">
<template v-slot:default="{row}">
<div v-for="(testPlan, index) in row.testPlanDTOList" :key="index">
<el-link type="info" @click="redirect('testPlanEdit',testPlan.id)"
v-if="testPlan.name === row.testPlan || row.caseType !== 'apiCase'">
{{ testPlan.name }};
<div>
<el-link type="info" @click="redirect('testPlanEdit',row.testPlanId)">
{{ row.testPlan }}
</el-link>
</div>
</template>

View File

@ -1,5 +1,6 @@
<template>
<el-card class="table-card" v-loading="result.loading" body-style="padding:16px 5px 16px 5px;" style="height: 350px;margin-top: 5px">
<el-card class="table-card" v-loading="result.loading" body-style="padding:16px 5px 16px 5px;"
style="margin-top: 5px">
<div slot="header">
<span class="title">
{{ $t('test_track.home.case_count') }}
@ -144,7 +145,7 @@ export default {
}
.detail-container {
margin-top: 20px
margin-top: 30px;
}
.default-property {

View File

@ -1,5 +1,6 @@
<template>
<el-card class="table-card" v-loading="result.loading" body-style="padding:16px 5px 16px 5px;" style="height: 350px;margin-top: 5px">
<el-card class="table-card" v-loading="result.loading" body-style="padding:16px 5px 16px 5px;"
style="margin-top: 5px">
<div slot="header">
<span class="title">
{{ $t('test_track.home.relevance_case') }}