feat:absentlate

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-03-24 16:50:26 +07:00
parent 1d99705b65
commit ecc10e16c9
6 changed files with 714 additions and 1 deletions

View file

@ -0,0 +1,19 @@
import { ref } from "vue";
import { defineStore } from "pinia";
import type { DataOption } from "@/modules/04_registryPerson/interface/index/Main";
export const useAbsentLateStore = defineStore("absentLate", () => {
const statusOps = ref<DataOption[]>([
{ name: "ขาดราชการ", id: "ABSENT" },
{ name: "มาสาย", id: "LATE" },
]);
const stampTypeOps = ref<DataOption[]>([
{ name: "เต็มวัน", id: "FULL_DAY" },
{ name: "ครึ่งเช้า", id: "MORNING" },
{ name: "ครึ่งบ่าย ", id: "AFTERNOON" },
]);
return { statusOps, stampTypeOps };
});