feat:absentlate
This commit is contained in:
parent
1d99705b65
commit
ecc10e16c9
6 changed files with 714 additions and 1 deletions
19
src/modules/04_registryPerson/stores/AbsentLate.ts
Normal file
19
src/modules/04_registryPerson/stores/AbsentLate.ts
Normal 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 };
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue