From 42b1bcc60dcb28cfd9f52ed3e706d0738c04d06b Mon Sep 17 00:00:00 2001 From: RubyLiu Date: Wed, 29 Nov 2023 19:25:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pure/ms-advance-filter/index.ts | 4 +- frontend/src/views/bug-management/index.vue | 59 ++++++++++++++++--- .../src/views/bug-management/locale/zh-CN.ts | 5 ++ .../menuManagement/components/defectSync.vue | 2 +- .../menuManagement/components/relatedCase.vue | 5 +- 5 files changed, 65 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/pure/ms-advance-filter/index.ts b/frontend/src/components/pure/ms-advance-filter/index.ts index 01cc047f43..ba62212445 100644 --- a/frontend/src/components/pure/ms-advance-filter/index.ts +++ b/frontend/src/components/pure/ms-advance-filter/index.ts @@ -10,7 +10,7 @@ const GE = { label: 'advanceFilter.operator.ge', value: 'ge' }; const LT = { label: 'advanceFilter.operator.lt', value: 'lt' }; const LE = { label: 'advanceFilter.operator.le', value: 'le' }; const EQUAL = { label: 'advanceFilter.operator.equal', value: 'equal' }; -const NOT_EQUAL = { label: 'advanceFilter.operator.notEqual', value: 'notEqual' }; +const NOT_EQUAL = { label: 'advanceFilter.operator.notEqual', value: 'not_equal' }; const BETWEEN = { label: 'advanceFilter.operator.between', value: 'between' }; export const OPERATOR_MAP = { @@ -19,3 +19,5 @@ export const OPERATOR_MAP = { date: [GT, GE, LT, LE, EQUAL, NOT_EQUAL, BETWEEN], array: [IN, NOT_IN], }; + +export const timeSelectOptions = [GE, LE]; diff --git a/frontend/src/views/bug-management/index.vue b/frontend/src/views/bug-management/index.vue index 779d2050f1..ef79b70c33 100644 --- a/frontend/src/views/bug-management/index.vue +++ b/frontend/src/views/bug-management/index.vue @@ -26,12 +26,51 @@ + + +
+ +
{{ t('bugManagement.bugAutoSync', { name: '每天00:00:00' }) }}
+
+
{{ t('bugManagement.syncTime') }}
+
+ + + + +
+