From 3941cc438fd4e72b8474b1ed628fe1d47f464f2f Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Fri, 28 Oct 2022 15:28:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2):=20?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=97=B6=E9=97=B4=E7=B1=BB=E5=9E=8B=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E7=BB=84=E4=BB=B6=E7=9A=84=E5=A4=A7=E4=BA=8E=E7=AD=89?= =?UTF-8?q?=E4=BA=8E=E3=80=81=E5=B0=8F=E4=BA=8E=E7=AD=89=E4=BA=8E=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1017764 --user=李玉号 【接口测试】接口定义 - 高级搜索,按照时间搜索,大于/大于等于效果一样,小于/小于等于效果一样 https://www.tapd.cn/55049933/s/1282191 --- .../frontend/src/components/search/custom-component.js | 2 +- .../frontend/src/components/search/search-components.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/sdk-parent/frontend/src/components/search/custom-component.js b/framework/sdk-parent/frontend/src/components/search/custom-component.js index 4be7b53da7..4afe50f4c2 100644 --- a/framework/sdk-parent/frontend/src/components/search/custom-component.js +++ b/framework/sdk-parent/frontend/src/components/search/custom-component.js @@ -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': diff --git a/framework/sdk-parent/frontend/src/components/search/search-components.js b/framework/sdk-parent/frontend/src/components/search/search-components.js index e39ff39d4a..4734895b7b 100644 --- a/framework/sdk-parent/frontend/src/components/search/search-components.js +++ b/framework/sdk-parent/frontend/src/components/search/search-components.js @@ -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] }, } // 报告状态