fix(测试跟踪): 功能用例回收站用例状态筛选不生效
--bug=1018660 --user=陈建星 【测试跟踪】回收站高级搜索用例状态不属于废弃,筛选结果不正确 https://www.tapd.cn/55049933/s/1273107
This commit is contained in:
parent
2b25364e21
commit
4917387be1
|
@ -211,7 +211,7 @@ import TestCaseImport from './import/TestCaseImport';
|
|||
import MsTablePagination from 'metersphere-frontend/src/components/pagination/TablePagination';
|
||||
import PriorityTableItem from "../../common/tableItems/planview/PriorityTableItem";
|
||||
import TypeTableItem from "../../common/tableItems/planview/TypeTableItem";
|
||||
import {TEST_CASE_CONFIGS} from "metersphere-frontend/src/components/search/search-components";
|
||||
import {OPERATORS, TEST_CASE_CONFIGS} from "metersphere-frontend/src/components/search/search-components";
|
||||
import BatchEdit from "./BatchEdit";
|
||||
import {TEST_CASE_LIST} from "metersphere-frontend/src/utils/constants";
|
||||
import StatusTableItem from "@/business/common/tableItems/planview/StatusTableItem";
|
||||
|
@ -550,6 +550,7 @@ export default {
|
|||
if (element.label === '用例状态') {
|
||||
element.label = this.$t('custom_field.case_status')
|
||||
// 回收站TAB页处理高级搜索用例状态字段
|
||||
element.operator.options = [OPERATORS.IN];
|
||||
if (this.trashEnable) {
|
||||
element.options = [{text: this.$t('test_track.plan.plan_status_trash'), value: 'Trash'}];
|
||||
} else {
|
||||
|
|
|
@ -9,7 +9,7 @@ export {CUSTOM_TABLE_HEADER} from "metersphere-frontend/src/utils/default-table-
|
|||
|
||||
|
||||
export {generateColumnKey, getAdvSearchCustomField} from "metersphere-frontend/src/components/search/custom-component";
|
||||
export {TEST_CASE_RELEVANCE_ISSUE_LIST} from "metersphere-frontend/src/components/search/search-components";
|
||||
export {TEST_CASE_RELEVANCE_ISSUE_LIST, OPERATORS} from "metersphere-frontend/src/components/search/search-components";
|
||||
|
||||
|
||||
export {getProjectMemberOption} from "metersphere-frontend/src/api/user";
|
||||
|
|
Loading…
Reference in New Issue