From 60f61deec8db5b6bd939e7be1699ff9c83c3c717 Mon Sep 17 00:00:00 2001 From: MeterSphere Bot <78466014+metersphere-bot@users.noreply.github.com> Date: Thu, 21 Jul 2022 11:36:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E6=8A=A5=E5=91=8A=E9=AB=98?= =?UTF-8?q?=E7=BA=A7=E6=90=9C=E7=B4=A2=E8=A7=A6=E5=8F=91=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E5=8F=AA=E6=9C=89=E6=89=8B=E5=8A=A8=E8=A7=A6=E5=8F=91=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=20(#16022)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1015097 --user=王孝刚 【接口测试】接口测试报告页高级搜索-触发方式只有手动触发,还应该有定时任务,API调用和批量执行 https://www.tapd.cn/55049933/s/1205685 Co-authored-by: wxg0103 <727495428@qq.com> --- .../components/search/search-components.js | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/frontend/src/business/components/common/components/search/search-components.js b/frontend/src/business/components/common/components/search/search-components.js index 2871d1af5b..7beb0b8596 100644 --- a/frontend/src/business/components/common/components/search/search-components.js +++ b/frontend/src/business/components/common/components/search/search-components.js @@ -345,6 +345,24 @@ export const ISREFERENCE = { } // 触发方式 export const TRIGGER_MODE = { + key: "triggerMode", + name: 'MsTableSearchSelect', + label: 'commons.trigger_mode.name', + operator: { + options: [OPERATORS.IN, OPERATORS.NOT_IN] + }, + options: [ + {label: 'test_track.report.trigger_mode.manual', value: 'manual'}, + {label: 'commons.trigger_mode.schedule', value: 'SCHEDULE'}, + {label: 'commons.trigger_mode.api', value: 'API'}, + {label: 'api_test.automation.batch_execute', value: 'BATCH'} + ], + props: { + multiple: true + } +} +// 触发方式 +export const UI_TRIGGER_MODE = { key: "triggerMode", name: 'MsTableSearchSelect', label: 'commons.trigger_mode.name', @@ -629,9 +647,9 @@ export const CASE_DEMAND = { label: "test_track.related_requirements", operator: { options: [{ - label: "test_track.demand.third_platform_demand", - value: "third_platform" - }, + label: "test_track.demand.third_platform_demand", + value: "third_platform" + }, { label: "test_track.demand.other_demand", value: "other_platform" @@ -713,7 +731,7 @@ export const REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, STATUS, CREATOR, TR export const REPORT_CASE_CONFIGS = [NAME, CREATE_TIME, STATUS, CREATOR, TRIGGER_MODE]; -export const UI_REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, UI_REPORT_STATUS, CREATOR, TRIGGER_MODE, UI_MODULE_TREE]; +export const UI_REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, UI_REPORT_STATUS, CREATOR, UI_TRIGGER_MODE, UI_MODULE_TREE]; // 测试跟踪-测试用例 列表 export const TEST_CASE_CONFIGS = [ID, NAME, TAGS, TEST_CASE_MODULE_TREE, CREATE_TIME, UPDATE_TIME, CREATOR, CASE_REVIEW_STATUS, FOLLOW_PEOPLE, CASE_DEMAND];