19 lines
640 B
TypeScript
19 lines
640 B
TypeScript
|
|
import { defineStore } from "pinia";
|
||
|
|
import { ref } from "vue";
|
||
|
|
|
||
|
|
export const useInsigniaReclaimStore = defineStore("insigniaReclaim", () => {
|
||
|
|
const roundData = ref<any[]>([{ name: "ทั้งหมด", id: "all" }]);
|
||
|
|
const insigniaTypeData = ref<any[]>([{ name: "ทั้งหมด", id: "all" }]);
|
||
|
|
const employeeClassData = ref<any[]>([
|
||
|
|
{ name: "ทั้งหมด", id: "all" },
|
||
|
|
{ name: "ข้าราชการ กทม.สามัญ", id: "officer" },
|
||
|
|
{ name: "ลูกจ้างประจำ", id: "perm" },
|
||
|
|
]);
|
||
|
|
|
||
|
|
return {
|
||
|
|
roundData,
|
||
|
|
insigniaTypeData,
|
||
|
|
employeeClassData,
|
||
|
|
};
|
||
|
|
});
|