Files
kartoteka/resources/js/Pages/Home/Index.vue
2025-11-30 23:04:45 +09:00

30 lines
848 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup>
import AppLayout from "../../Layouts/AppLayout.vue"
import TableCards from './DataTable/Index.vue'
import { NInput, NFlex, NDivider, NDatePicker } from 'naive-ui'
const props = defineProps({
cards: {
type: Array,
default: []
}
})
</script>
<template>
<AppLayout>
<template #header>
<NFlex class="py-4" align="center" :wrap="false">
<NInput placeholder="Поиск по ФИО, № карты" />
<NDivider vertical />
<NDatePicker type="daterange" clearable start-placeholder="Дата выписки с" end-placeholder="по" />
</NFlex>
</template>
<TableCards :data="cards.data" min-height="calc(100vh - 136px)" max-height="calc(100vh - 136px)" />
</AppLayout>
</template>
<style scoped>
</style>