hrms-mgt/src/modules/11_discipline/components/2_InvestigateFacts/CalandarDialog.vue

40 lines
900 B
Vue
Raw Normal View History

2023-12-01 17:32:24 +07:00
<script setup lang="ts">
import { ref, defineProps } from "vue";
import Calendar from "@/modules/11_discipline/components/2_InvestigateFacts/Calendar.vue";
const props = defineProps({
modal: {
type: Boolean,
default: false,
},
close: {
type: Boolean,
default: true,
},
});
</script>
<template>
2023-12-06 11:33:54 +07:00
<q-dialog v-model="props.modal">
2023-12-06 10:02:18 +07:00
<q-card style="min-width: 60vw">
<q-toolbar>
<q-toolbar-title class="text-subtitle2 text-bold"
>ปฎ</q-toolbar-title
>
<q-btn
icon="close"
unelevated
round
dense
@click="props.close"
style="color: #ff8080; background-color: #ffdede"
/>
</q-toolbar>
2023-12-06 11:33:54 +07:00
2023-12-06 10:02:18 +07:00
<q-separator />
2023-12-06 11:33:54 +07:00
<q-card-section class="q-pa-md bg-grey-1 scroll">
2023-12-06 10:02:18 +07:00
<Calendar />
</q-card-section>
</q-card>
</q-dialog>
</template>