From 384f09ffb094be2135f9982a8fa32ed85ce41602 Mon Sep 17 00:00:00 2001 From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com> Date: Wed, 18 Mar 2026 14:24:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=A7=BB=E5=8A=A8=E7=AB=AF):=20=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E6=97=A5=E6=9C=9F=E8=8C=83=E5=9B=B4=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=94=AF=E6=8C=81=E5=BF=AB=E6=8D=B7=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=20(#18094)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/v-query/Time.vue | 39 ++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/custom-component/v-query/Time.vue b/core/core-frontend/src/custom-component/v-query/Time.vue index 373aca7805..324e76805b 100644 --- a/core/core-frontend/src/custom-component/v-query/Time.vue +++ b/core/core-frontend/src/custom-component/v-query/Time.vue @@ -463,6 +463,17 @@ const onConfirm = () => { handleValueChange() showDate.value = false } +const showDateQuick = ref(false) +const showQuick = () => { + showDateQuick.value = true +} + +const emitMobile = (_, val) => { + const [start, end] = val + selectValue.value = [start?.format('YYYY/MM/DD HH:mm:ss'), end?.format('YYYY/MM/DD HH:mm:ss')] + handleValueChange() + showDateQuick.value = false +} onBeforeMount(() => { init() @@ -515,7 +526,19 @@ const formatDate = computed(() => { :class="isRange && 'wl50'" @click="showPopup" /> -
+
+
+ +
+ {{ ele.text }} +
+
{ left: auto; right: 0; width: 50%; + + .quick-selection { + position: absolute; + top: 0px; + right: 10px; + width: 24px; + height: 32px; + z-index: 10; + } } } +.shortcuts-mobile { + padding: 10px; + text-align: center; + border-bottom: 1px solid #eee; +}