From b254933466642ba895a5be1891ea14aa90021068 Mon Sep 17 00:00:00 2001 From: oat_dev Date: Mon, 1 Apr 2024 10:07:28 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4:=20=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B8=AA=E0=B9=88=E0=B8=A7=E0=B8=99?= =?UTF-8?q?=E0=B8=95=E0=B8=B1=E0=B8=A7=20=E0=B8=A5=E0=B8=9A=E0=B8=82?= =?UTF-8?q?=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9=E0=B8=A5=E0=B9=80=E0=B8=81?= =?UTF-8?q?=E0=B8=B4=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/detail/PersonalInformation/01_Profile.vue | 1 - src/modules/04_registryNew/interface/request/Profile.ts | 4 ---- src/modules/04_registryNew/stores/profile.ts | 4 ---- 3 files changed, 9 deletions(-) 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: "",