ต่อ api บุคคลที่สามารถติดต่อได้
This commit is contained in:
parent
a022234412
commit
f45af7bb86
12 changed files with 449 additions and 178 deletions
|
|
@ -71,6 +71,14 @@ interface Occupation {
|
|||
tel: string | null;
|
||||
}
|
||||
|
||||
interface Contact {
|
||||
contactPrefixId: string | null;
|
||||
contactFirstname: string | null;
|
||||
contactLastname: string | null;
|
||||
contactRelations: string | null;
|
||||
contactTel: string | null;
|
||||
}
|
||||
|
||||
interface Education {
|
||||
educationLevelExamId: string | null;
|
||||
educationName: string | null;
|
||||
|
|
@ -227,6 +235,14 @@ const defaultOccupation = ref<Occupation>({
|
|||
tel: null,
|
||||
});
|
||||
|
||||
const defaultContact = ref<Contact>({
|
||||
contactPrefixId: null,
|
||||
contactFirstname: null,
|
||||
contactLastname: null,
|
||||
contactRelations: null,
|
||||
contactTel: null,
|
||||
});
|
||||
|
||||
const defaultEducation = ref<Education>({
|
||||
educationLevelExamId: null,
|
||||
educationName: null,
|
||||
|
|
@ -243,6 +259,7 @@ const changeData = (system: String, val: any) => {
|
|||
if (system == "address") defaultAddress.value = val;
|
||||
if (system == "famliy") defaultFamily.value = val;
|
||||
if (system == "occupation") defaultOccupation.value = val;
|
||||
if (system == "contact") defaultContact.value = val;
|
||||
if (system == "education") defaultEducation.value = val;
|
||||
};
|
||||
|
||||
|
|
@ -251,6 +268,7 @@ export {
|
|||
defaultFamily,
|
||||
defaultAddress,
|
||||
defaultOccupation,
|
||||
defaultContact,
|
||||
defaultEducation,
|
||||
changeData,
|
||||
};
|
||||
|
|
@ -264,6 +282,7 @@ export type {
|
|||
Address,
|
||||
zipCodeOption,
|
||||
Occupation,
|
||||
Contact,
|
||||
Education,
|
||||
ExamCard,
|
||||
UploadType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue