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" /> -
+