ทะเบียนประวัติ: ประวัติส่วนตัว ลบข้อมูลเกิน
This commit is contained in:
parent
c885ecfffa
commit
b254933466
3 changed files with 0 additions and 9 deletions
|
|
@ -278,7 +278,6 @@ async function editData() {
|
|||
await http
|
||||
.put(config.API.profileNewProfileById(id.value), {
|
||||
...formData,
|
||||
dateRetire: store.retireDate,
|
||||
})
|
||||
.then((res) => {
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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: "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue