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

This commit is contained in:
oat_dev 2024-04-01 10:07:28 +07:00
parent c885ecfffa
commit b254933466
3 changed files with 0 additions and 9 deletions

View file

@ -278,7 +278,6 @@ async function editData() {
await http
.put(config.API.profileNewProfileById(id.value), {
...formData,
dateRetire: store.retireDate,
})
.then((res) => {
success($q, "บันทึกข้อมูลสำเร็จ");

View file

@ -2,19 +2,15 @@ interface RequestObject {
birthDate: Date | null;
bloodGroup: string | null;
citizenId: string;
dateRetire: Date | null;
email: string | null;
ethnicity: string | null;
firstName: string;
gender: string | null;
isProbation: boolean;
keycloak: string;
lastName: string;
nationality: string | null;
phone: string | null;
posLevelId: string;
posTypeId: string;
position: string;
prefix: string;
rank: string | null;
relationship: string | null;

View file

@ -36,12 +36,8 @@ export const useProfileDataStore = defineStore("profile", () => {
nationality: null,
ethnicity: null,
birthDate: null,
dateRetire: null,
isProbation: false,
keycloak: "",
phone: null,
email: null,
position: "",
lastName: "",
firstName: "",
prefix: "",