Commit 151af4c5 authored by wxg0103's avatar wxg0103 Committed by fit2-zhao
Browse files

fix(接口测试): 接口定义列表按状态筛选可选状态不对

--bug=1009400 --user=王孝刚 接口定义列表按状态筛选可选状态不对
https://www.tapd.cn/55049933/s/1088375
parent c9f727aa
Showing with 6 additions and 1 deletion
+6 -1
......@@ -67,7 +67,7 @@
<ms-table-column
prop="status"
sortable="custom"
:filters="statusFilters"
:filters="!trashEnable ? statusFilters : statusFiltersTrash"
:field="item"
:fields-width="fieldsWidth"
min-width="120px"
......@@ -80,6 +80,7 @@
</template>
</ms-table-column>
<ms-table-column
prop="method"
sortable="custom"
......@@ -362,8 +363,12 @@ export default {
{text: this.$t('test_track.plan.plan_status_prepare'), value: 'Prepare'},
{text: this.$t('test_track.plan.plan_status_running'), value: 'Underway'},
{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: '通过'},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment