UI API ข้อมูลรายการการลาย้อนหลัง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-04-25 13:58:59 +07:00
parent 543ae775bd
commit 9d1955b5aa
7 changed files with 995 additions and 2 deletions

View file

@ -0,0 +1,16 @@
import { defineStore } from "pinia";
import { ref } from "vue";
import type { DataLeaveType } from "@/modules/09_leave/interface/response/leaveHistory";
export const useLeaveHistoryDataStore = defineStore("leaveHistory", () => {
const leaveTypeData = ref<DataLeaveType[]>([
{
id: "00000000-0000-0000-0000-000000000000",
name: "ทั้งหมด",
},
]);
return {
leaveTypeData,
};
});