fix(接口测试): 优化回收站表格,回收站数据的状态不支持排序和筛选
--bug=1015933 --user=宋天阳 【接口测试】接口自动化-回收站中有状态只有一种“废弃”,建议把排序删掉。 https://www.tapd.cn/55049933/s/1226621
This commit is contained in:
parent
2793c40aa1
commit
08305ab73a
|
@ -557,6 +557,7 @@
|
|||
from api_scenario
|
||||
where project_id = #{projectId}
|
||||
and status = 'Trash'
|
||||
and latest IS TRUE
|
||||
</select>
|
||||
|
||||
<select id="selectNameById" resultType="java.lang.String">
|
||||
|
|
|
@ -98,10 +98,10 @@
|
|||
|
||||
<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 : apiscenariofilters.TRASH_FILTERS"
|
||||
:filters="!trashEnable ? apiscenariofilters.STATUS_FILTERS : null"
|
||||
min-width="120px">
|
||||
<template v-slot:default="scope">
|
||||
<plan-status-table-item :value="scope.row.status"/>
|
||||
|
@ -317,12 +317,12 @@
|
|||
import {
|
||||
downloadFile,
|
||||
getCurrentProjectID,
|
||||
getCurrentUserId,
|
||||
getUUID,
|
||||
hasLicense,
|
||||
hasPermission,
|
||||
objToStrMap,
|
||||
strMapToObj,
|
||||
getCurrentUserId
|
||||
strMapToObj
|
||||
} from "@/common/js/utils";
|
||||
import {
|
||||
API_SCENARIO_CONFIGS,
|
||||
|
|
|
@ -68,8 +68,8 @@
|
|||
|
||||
<ms-table-column
|
||||
prop="status"
|
||||
sortable="custom"
|
||||
:filters="!trashEnable ? statusFilters : statusFiltersTrash"
|
||||
:sortable="trashEnable ? false:'custom'"
|
||||
:filters="!trashEnable ? statusFilters : null"
|
||||
:field="item"
|
||||
:fields-width="fieldsWidth"
|
||||
min-width="120px"
|
||||
|
|
Loading…
Reference in New Issue