first commit
This commit is contained in:
17
resources/js/Layouts/Components/SideMenu.vue
Normal file
17
resources/js/Layouts/Components/SideMenu.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user