fix(高级搜索): 移除时间类型搜索组件的大于等于、小于等于操作项

--bug=1017764 --user=李玉号 【接口测试】接口定义 -
高级搜索,按照时间搜索,大于/大于等于效果一样,小于/小于等于效果一样
https://www.tapd.cn/55049933/s/1282191
This commit is contained in:
shiziyuan9527 2022-10-28 15:28:37 +08:00 committed by 刘瑞斌
parent 7f69fde985
commit 502c1608db
2 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ function getComponentOperator(componentType, fieldType, async) {
case 'MsTableSearchDatePicker':
case 'MsTableSearchDateTimePicker':
operator = {
options: [OPERATORS.BETWEEN, OPERATORS.GT, OPERATORS.GE, OPERATORS.LT, OPERATORS.LE, OPERATORS.EQ]
options: [OPERATORS.BETWEEN, OPERATORS.GT, OPERATORS.LT]
}
break;
case 'MsTableSearchInputNumber':

View File

@ -99,7 +99,7 @@ export const UPDATE_TIME = {
name: 'MsTableSearchDateTimePicker',
label: 'commons.update_time',
operator: {
options: [OPERATORS.BETWEEN, OPERATORS.GT, OPERATORS.GE, OPERATORS.LT, OPERATORS.LE]
options: [OPERATORS.BETWEEN, OPERATORS.GT, OPERATORS.LT]
},
}
// 所属项目
@ -135,7 +135,7 @@ export const CREATE_TIME = {
name: 'MsTableSearchDateTimePicker',
label: 'commons.create_time',
operator: {
options: [OPERATORS.BETWEEN, OPERATORS.GT, OPERATORS.GE, OPERATORS.LT, OPERATORS.LE]
options: [OPERATORS.BETWEEN, OPERATORS.GT, OPERATORS.LT]
},
}
// 报告状态