diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue index 952c8a71e..996adf546 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue @@ -278,7 +278,6 @@ async function editData() { await http .put(config.API.profileNewProfileById(id.value), { ...formData, - dateRetire: store.retireDate, }) .then((res) => { success($q, "บันทึกข้อมูลสำเร็จ"); diff --git a/src/modules/04_registryNew/interface/request/Profile.ts b/src/modules/04_registryNew/interface/request/Profile.ts index a9732ab0b..46dcb7a8c 100644 --- a/src/modules/04_registryNew/interface/request/Profile.ts +++ b/src/modules/04_registryNew/interface/request/Profile.ts @@ -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; diff --git a/src/modules/04_registryNew/stores/profile.ts b/src/modules/04_registryNew/stores/profile.ts index 195a099d0..590e43e9b 100644 --- a/src/modules/04_registryNew/stores/profile.ts +++ b/src/modules/04_registryNew/stores/profile.ts @@ -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: "",