แก้หัว popup

This commit is contained in:
setthawutttty 2025-07-22 15:00:01 +07:00
parent 7834db2fbe
commit 14da947953
4 changed files with 18 additions and 4 deletions

View file

@ -44,6 +44,7 @@ const props = defineProps({
fecthList: { type: Function, requreid: true },
rows: { type: Array as PropType<ResponseItems[]>, requreid: true },
mainTabs: { type: String, requreid: true },
cancel: { type: Boolean, default: false },
});
//Table
@ -235,7 +236,10 @@ watch(
<template>
<q-dialog v-model="props.modal" persistent>
<q-card style="min-width: 80%">
<DialogHeader tittle="ส่งไปออกคำสั่งลาออก" :close="closeModal" />
<DialogHeader
:tittle="`ส่งไปออกคำสั่ง${cancel ? 'ยกเลิกการ' : ''}ลาออก`"
:close="closeModal"
/>
<q-separator />
<q-card-section>
<div class="row col-12 q-col-gutter-sm">