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 92247a6b7e..c289860211 100644 --- a/frontend/src/business/components/common/components/search/search-components.js +++ b/frontend/src/business/components/common/components/search/search-components.js @@ -124,6 +124,25 @@ export const STATUS = { } } +export const UI_REPORT_STATUS = { + key: "status", + name: 'MsTableSearchSelect', + label: 'commons.status', + operator: { + options: [OPERATORS.IN, OPERATORS.NOT_IN] + }, + options: [ + {label: "Saved", value: "Saved"}, + {label: "Running", value: "Running"}, + {label: 'Stopped', value: 'stop'}, + {label: "Error", value: "Error"}, + {label: "Success", value: "Success"} + ], + props: { // 尾部控件的props,一般为element ui控件的props + multiple: true + } +} + export const API_STATUS = { key: "status", name: 'MsTableSearchSelect', @@ -557,6 +576,8 @@ export const PROJECT_CONFIGS = [NAME, UPDATE_TIME, CREATE_TIME, CREATOR]; export const REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, STATUS, CREATOR, TRIGGER_MODE]; +export const UI_REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, UI_REPORT_STATUS, CREATOR, TRIGGER_MODE]; + export const TEST_CASE_CONFIGS = [NAME, API_TAGS, MODULE, PRIORITY, CREATE_TIME, UPDATE_TIME, CREATOR, CASE_REVIEW_STATUS]; export const TEST_PLAN_CONFIGS = [NAME, UPDATE_TIME, CREATE_TIME, PRINCIPAL, TEST_PLAN_STATUS, STAGE];