fix(高级搜索): 接口自动化回收站高级搜索状态字段和列表状态不一致

--bug=1015469 --user=李玉号 【接口测试】接口自动化-回收站-高级搜索-状态字段和列表状态字段不一致
https://www.tapd.cn/55049933/s/1215767
This commit is contained in:
shiziyuan9527 2022-07-29 17:16:26 +08:00 committed by shiziyuan9527
parent 22ebbc5329
commit 7f7bf622dd
2 changed files with 6 additions and 2 deletions

View File

@ -319,7 +319,10 @@ import {
objToStrMap,
strMapToObj
} from "@/common/js/utils";
import {API_SCENARIO_CONFIGS} from "@/business/components/common/components/search/search-components";
import {
API_SCENARIO_CONFIGS,
API_SCENARIO_CONFIGS_TRASH
} from "@/business/components/common/components/search/search-components";
import {API_SCENARIO_LIST} from "../../../../../common/js/constants";
import {
@ -431,7 +434,7 @@ export default {
fieldsWidth: getCustomTableWidth('API_SCENARIO'),
screenHeight: 'calc(100vh - 180px)',//,
condition: {
components: API_SCENARIO_CONFIGS
components: this.trashEnable ? API_SCENARIO_CONFIGS_TRASH : API_SCENARIO_CONFIGS
},
scenarioId: "",
isMoveBatch: true,

View File

@ -799,6 +799,7 @@ export const API_DEFINITION_CONFIGS_TRASH = [ID, NAME, API_METHOD, API_PATH, API
export const API_CASE_CONFIGS = [ID, NAME, PRIORITY, TAGS, API_CASE_RESULT, UPDATE_TIME, CREATE_TIME, CREATOR, FOLLOW_PEOPLE, API_PATH];
export const API_SCENARIO_CONFIGS = [ID, NAME, PRIORITY, TAGS, API_SCENARIO_RESULT, UPDATE_TIME, CREATE_TIME, CREATOR, FOLLOW_PEOPLE, STEP_COUNT, SCENARIO_MODULE_TREE, API_STATUS];
export const API_SCENARIO_CONFIGS_TRASH = [ID, NAME, PRIORITY, TAGS, API_SCENARIO_RESULT, UPDATE_TIME, CREATE_TIME, CREATOR, FOLLOW_PEOPLE, STEP_COUNT, SCENARIO_MODULE_TREE, API_STATUS_TRASH];
export const TEST_PLAN_REPORT_CONFIGS = [NAME, TEST_PLAN_NAME, CREATOR, CREATE_TIME, TEST_PLAN_TRIGGER_MODE, TEST_PLAN_REPORT_STATUS];