refactor(接口定义): 去掉回收站场景列表的状态排序

This commit is contained in:
wxg0103 2022-09-14 14:51:09 +08:00 committed by f2c-ci-robot[bot]
parent 98e40f8cb3
commit 595302a61a
2 changed files with 3 additions and 7 deletions

View File

@ -96,7 +96,7 @@
<ms-table-column prop="status"
:label="$t('test_track.plan.plan_status')"
sortable
:sortable="trashEnable ? false : true"
:field="item"
:fields-width="fieldsWidth"
:filters="!trashEnable ? apiscenariofilters.STATUS_FILTERS : null"

View File

@ -67,8 +67,8 @@
<ms-table-column
prop="status"
sortable="custom"
:filters="!trashEnable ? statusFilters : statusFiltersTrash"
:filters="!trashEnable ? statusFilters : null"
:sortable="trashEnable ? false : true"
:field="item"
:fields-width="fieldsWidth"
min-width="120px"
@ -400,10 +400,6 @@ export default {
{text: this.$t('test_track.plan.plan_status_completed'), value: 'Completed'},
],
statusFiltersTrash: [
{text: this.$t('test_track.plan.plan_status_trash'), value: 'Trash'},
],
caseStatusFilters: [
{text: this.$t('api_test.home_page.detail_card.unexecute'), value: '未执行'},
{text: this.$t('test_track.review.pass'), value: '通过'},