add: leaveCount in permission leave

This commit is contained in:
Warunee Tamkoo 2026-02-05 12:16:18 +07:00
parent 906c6066e3
commit 91c870955b
3 changed files with 26 additions and 2 deletions

View file

@ -83,12 +83,21 @@ const columns = ref<QTableColumn[]>([
{
name: "leaveDaysUsed",
align: "left",
label: " วันลาที่ใช้ไป",
label: "ที่ใช้ไป (วัน)",
sortable: true,
field: "leaveDaysUsed",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
{
name: "leaveCount",
align: "left",
label: "ที่ใช้ไป (ครั้ง)",
sortable: true,
field: "leaveCount",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
]);
const visibleColumns = ref<string[]>([
"fullName",
@ -96,6 +105,7 @@ const visibleColumns = ref<string[]>([
"leaveYear",
"leaveDays",
"leaveDaysUsed",
"leaveCount",
]);
const modalDialogForm = ref<boolean>(false); //modal Dialog