fix(高级搜索): 移除时间类型搜索组件的大于等于、小于等于操作项
--bug=1017764 --user=李玉号 【接口测试】接口定义 - 高级搜索,按照时间搜索,大于/大于等于效果一样,小于/小于等于效果一样 https://www.tapd.cn/55049933/s/1282191
This commit is contained in:
parent
7f69fde985
commit
502c1608db
|
@ -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':
|
||||
|
|
|
@ -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]
|
||||
},
|
||||
}
|
||||
// 报告状态
|
||||
|
|
Loading…
Reference in New Issue