hrms-edm/Services/client/src/components/UploadExistDialog.vue

53 lines
1.7 KiB
Vue
Raw Normal View History

2023-11-29 15:27:08 +07:00
<script lang="ts" setup>
defineProps<{
notification: boolean
}>()
defineEmits(['update:notification', 'confirm', 'cancel'])
</script>
<template>
<q-dialog
:model-value="notification"
@update:model-value="(v) => $emit('update:notification', v)"
transition-show="scale"
transition-hide="scale"
>
<q-card style="width: 400px">
<q-card-section>
2023-12-07 09:42:36 +07:00
<div class="flex items-center" style="flex-wrap: nowrap">
<div class="q-pa-sm">
<div style="border-radius: 50%" class="bg-secondary q-pa-sm">
<q-icon name="mdi-alert-outline" color="warning" size="2.5rem" />
</div>
</div>
<div>
<h6 class="q-my-none">นยนการเพมขอม</h6>
<p class="q-my-none">
2023-12-13 11:36:13 +07:00
พบไฟลอซำในระบบ หากดำเนนการต
ไฟลอยจะถกแทนทวยไฟลใหม
องการยนยนการอปโหลดไฟลหรอไม
2023-12-07 09:42:36 +07:00
</p>
</div>
2023-11-29 15:27:08 +07:00
</div>
</q-card-section>
<q-card-actions align="right" class="bg-white text-primary">
<q-space />
<q-btn
flat
label="ยกเลิก"
v-close-popup
@click="() => $emit('cancel')"
/>
<q-btn
label="ดำเนินการต่อ"
v-close-popup
2023-12-07 09:42:36 +07:00
color="warning"
2023-11-29 15:27:08 +07:00
@click="() => $emit('confirm')"
/>
</q-card-actions>
</q-card>
</q-dialog>
</template>