fix insignia type employee / officer

This commit is contained in:
Warunee Tamkoo 2025-05-30 13:00:53 +07:00
parent 231f0982cd
commit 8c65a8188a
4 changed files with 5 additions and 5 deletions

View file

@ -41,7 +41,7 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
const employeeClassOps = ref<OptionData[]>([
// { name: "ทั้งหมด", id: "all" },
{ name: "ข้าราชการ กทม.สามัญ", id: "officer" },
{ name: "ลูกจ้างประจำ", id: "perm" },
{ name: "ลูกจ้างประจำ", id: "employee" },
]);
const isOfficer = ref<boolean>(false);

View file

@ -27,7 +27,7 @@ export const useBrrowDataStore = defineStore("insigniaBrrow", () => {
const employeeClassOps = ref<OptionData[]>([
{ name: "ทั้งหมด", id: "all" },
{ name: "ข้าราชการ กทม.สามัญ", id: "officer" },
{ name: "ลูกจ้างประจำ", id: "perm" },
{ name: "ลูกจ้างประจำ", id: "employee" },
]);
const type = ref<any[]>([]);

View file

@ -10,7 +10,7 @@ export const useInsigniaReclaimStore = defineStore("insigniaReclaim", () => {
const employeeClassData = ref<OptionData[]>([
{ name: "ทั้งหมด", id: "all" },
{ name: "ข้าราชการ กทม.สามัญ", id: "officer" },
{ name: "ลูกจ้างประจำ", id: "perm" },
{ name: "ลูกจ้างประจำ", id: "employee" },
]);
return {

View file

@ -213,7 +213,7 @@ const isInsigniaRound = ref<boolean>(false); //สถานะรอบ
const roundOps = ref<DataRound[]>(roundData.value); //
const insigniaTypeOps = ref<OptionData[]>(insigniaTypeData.value); //
const employeeClassOps = ref<OptionData[]>(employeeClassData.value); //
const employeeClassOps = ref<OptionData[]>(employeeClassData.value); //
const modalForm = ref<boolean>(false); // modal
const isEdit = ref<boolean>(false); //
@ -515,7 +515,7 @@ onMounted(async () => {
outlined
lazy-rules
hide-bottom-space
:label="`${'ตำแหน่งประเภท'}`"
:label="`${'ประเภทตำแหน่ง'}`"
emit-value
use-input
hide-selected