diff --git a/src/components/02_personnel-management/FormAddress.vue b/src/components/02_personnel-management/FormAddress.vue index d9877091..9bbce4a1 100644 --- a/src/components/02_personnel-management/FormAddress.vue +++ b/src/components/02_personnel-management/FormAddress.vue @@ -1,5 +1,5 @@ @@ -538,14 +566,11 @@ watch( diff --git a/src/stores/user/types.ts b/src/stores/user/types.ts index ec036312..137be587 100644 --- a/src/stores/user/types.ts +++ b/src/stores/user/types.ts @@ -21,6 +21,7 @@ export type User = { gender: string; userRole: string; userType: string; + username: string; retireDate: Date | null; startDate: Date | null; registrationNo: string | null; @@ -41,6 +42,8 @@ export type User = { code: string; birthDate?: Date | null; responsibleArea: string; + checkpoint?: string | null; + checkpointEN?: string | null; branch: Branch[]; }; @@ -70,9 +73,12 @@ export type UserCreate = { firstName: string; userRole: string; userType: string; + username: string; profileImage?: File | null; // required but not strict birthDate?: Date | null; - responsibleArea: string; + responsibleArea?: string | null; + checkpoint?: string | null; + checkpointEN?: string | null; }; export type UserAttachment = {