From d2021973fade6eb74c503fed693f5425cfc5e91a Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 25 Apr 2022 14:49:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ui=E6=8A=A5=E5=91=8A=E9=AB=98=E7=BA=A7?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=8A=B6=E6=80=81=E4=B8=8D=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/search/search-components.js | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) 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];