18 lines
357 B
Vue
18 lines
357 B
Vue
<script setup>
|
|
import {NDatePicker} from 'naive-ui'
|
|
const onUpdateDateQuery = (value) => {
|
|
axios.get(`/api/metric-forms/1/report-by-date?sent_at=${value}`)
|
|
.then(res => {
|
|
console.log(res)
|
|
})
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<NDatePicker panel type="date" @update-value="onUpdateDateQuery" />
|
|
</template>
|
|
|
|
<style scoped>
|
|
|
|
</style>
|