refactor(接口测试): 全部场景列表当前状态去掉废弃的筛选项 (#12789)
--bug=1012314 --user=王孝刚 【接口测试】+【UI测试】列表页面筛选“废弃”状态的用例后,左侧列表统计结果显示不一致 https://www.tapd.cn/55049933/s/1138943 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
8b85321494
commit
d35406be9b
|
@ -99,7 +99,7 @@
|
|||
sortable
|
||||
:field="item"
|
||||
:fields-width="fieldsWidth"
|
||||
:filters="apiscenariofilters.STATUS_FILTERS"
|
||||
:filters="!trashEnable ? apiscenariofilters.STATUS_FILTERS : apiscenariofilters.TRASH_FILTERS"
|
||||
min-width="120px">
|
||||
<template v-slot:default="scope">
|
||||
<plan-status-table-item :value="scope.row.status"/>
|
||||
|
|
|
@ -105,8 +105,11 @@ export function API_SCENARIO_FILTERS () {
|
|||
{text: i18n.t('test_track.plan.plan_status_prepare'), value: 'Prepare'},
|
||||
{text: i18n.t('test_track.plan.plan_status_running'), value: 'Underway'},
|
||||
{text: i18n.t('test_track.plan.plan_status_completed'), value: 'Completed'},
|
||||
],
|
||||
TRASH_FILTERS: [
|
||||
{text: i18n.t('test_track.plan.plan_status_trash'), value: 'Trash'},
|
||||
],
|
||||
|
||||
LEVEL_FILTERS: [
|
||||
{text: 'P0', value: 'P0'},
|
||||
{text: 'P1', value: 'P1'},
|
||||
|
|
Loading…
Reference in New Issue