fix: ui报告高级搜索状态不符

This commit is contained in:
chenjianxing 2022-04-25 14:49:59 +08:00 committed by 刘瑞斌
parent fc2e4652bd
commit d2021973fa
1 changed files with 21 additions and 0 deletions

View File

@ -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];