<script setup>
import {NDatePicker} from 'naive-ui'
const onUpdateDateQuery = (value) => {
    axios.get(`/api/metric-forms/1/report-by-date?sent_at=${value}`)
        .then(() => {})
}
</script>

<template>
    <NDatePicker panel type="date" @update-value="onUpdateDateQuery" />
</template>

<style scoped>

</style>
