fix(性能测试): 修复高级搜索状态和列表状态上的状态备选框不一致的问题

--bug=1018703 --user=刘瑞斌 【性能测试】报告-高级搜索-状态-和列表状态不一致 https://www.tapd.cn/55049933/s/1273735
This commit is contained in:
CaptainB 2022-10-24 11:12:30 +08:00 committed by 刘瑞斌
parent 8d59b53933
commit c41335d4af
1 changed files with 22 additions and 1 deletions

View File

@ -159,6 +159,27 @@ export const STATUS = {
multiple: true
}
}
// 报告状态
export const PERFORMANCE_REPORT_STATUS = {
key: "status",
name: 'MsTableSearchSelect',
label: 'commons.status',
operator: {
options: [OPERATORS.IN, OPERATORS.NOT_IN]
},
options: [
{label: 'Starting', value: 'Starting'},
{label: 'Running', value: 'Running'},
{label: 'Reporting', value: 'Reporting'},
{label: 'Completed', value: 'Completed'},
{label: 'Error', value: 'Error'}
],
props: { // 尾部控件的props一般为element ui控件的props
multiple: true
}
}
// ui 报告状态
export const UI_REPORT_STATUS = {
key: "status",
@ -797,7 +818,7 @@ export const TEST_CONFIGS = [ID, NAME, UPDATE_TIME, CREATE_TIME, STATUS, CREATOR
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 REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, PERFORMANCE_REPORT_STATUS, CREATOR, TRIGGER_MODE];
export const REPORT_CASE_CONFIGS = [NAME, CREATE_TIME, STATUS, CREATOR, TRIGGER_MODE];