ข้อมูลทะเบียนประวัติ

This commit is contained in:
STW_TTTY\stwtt 2024-05-28 15:44:17 +07:00
parent b05065ba67
commit bd6f4fde7f
34 changed files with 9004 additions and 706 deletions

View file

@ -0,0 +1,33 @@
import { defineStore } from "pinia";
import type { DataOptionInsignia, ResponseObject } from '@/modules/10_registry/interface/index/Achievement'
import { ref } from "vue";
export const useRegistryInFormationStore = defineStore(
"registryInFormationStore",
() => {
const typeProfile = ref<string>("OFFICER");
const profileId = ref<string>('')
function typeChangeName(val: string) {
switch (val) {
case "prefix":
return "เปลี่ยนคำนำหน้าชื่อ";
case "firstName":
return "เปลี่ยนชื่อ";
case "lastName":
return "เปลี่ยนนามสกุล";
case "all":
return "เปลี่ยนคำนำหน้าชื่อ, ชื่อ-นามสกุล";
case "firstNameLastName":
return "เปลี่ยนชื่อ-นามสกุล";
case "prefixAndlastName":
return "เปลี่ยนคำนำหน้าชื่อ และนามสกุล";
default:
return "-";
}
}
return { typeChangeName, typeProfile,profileId};
}
);