fix(测试跟踪): 失败场景用例所属测试计划未显示
This commit is contained in:
parent
f871546d2e
commit
7fbbb7a505
|
@ -24,7 +24,7 @@
|
||||||
<el-table-column prop="testPlan" :label="$t('api_test.home_page.failed_case_list.table_coloum.test_plan')">
|
<el-table-column prop="testPlan" :label="$t('api_test.home_page.failed_case_list.table_coloum.test_plan')">
|
||||||
<template v-slot:default="{row}">
|
<template v-slot:default="{row}">
|
||||||
<div v-for="(testPlan, index) in row.testPlanDTOList" :key="index">
|
<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">
|
<el-link type="info" @click="redirect('testPlanEdit',testPlan.id)" v-if="testPlan.name === row.testPlan || row.caseType !== 'apiCase'">
|
||||||
{{ testPlan.name }};
|
{{ testPlan.name }};
|
||||||
</el-link>
|
</el-link>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<el-table-column prop="testPlan" :label="$t('api_test.home_page.failed_case_list.table_coloum.test_plan')">
|
<el-table-column prop="testPlan" :label="$t('api_test.home_page.failed_case_list.table_coloum.test_plan')">
|
||||||
<template v-slot:default="{row}">
|
<template v-slot:default="{row}">
|
||||||
<div v-for="(testPlan, index) in row.testPlanDTOList" :key="index">
|
<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">
|
<el-link type="info" @click="redirect('testPlanEdit',testPlan.id)" v-if="testPlan.name === row.testPlan || row.caseType !== 'apiCase'">
|
||||||
{{ testPlan.name }};
|
{{ testPlan.name }};
|
||||||
</el-link>
|
</el-link>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue