ปรับ การ Download ไฟล์ต้นฉบับ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-05 14:24:54 +07:00
parent 36ea205624
commit c118cb0e1f
6 changed files with 55 additions and 488 deletions

View file

@ -136,7 +136,7 @@ async function onClickDowloadFile(
showLoader();
let educations: any = [];
if (profile.value != null) {
profile.value.education.map((e: any) => {
profile.value.educations.map((e: any) => {
educations.push({
educationLevel: e.educationLevel ?? "",
finishYear:
@ -149,7 +149,7 @@ async function onClickDowloadFile(
}
let certificates: any = [];
if (profile.value != null) {
profile.value.certificate.map((e: any) => {
profile.value.certificates.map((e: any) => {
certificates.push({
certificateNo: e.certificateNo ?? "",
certificateType: e.certificateType ?? "",
@ -169,7 +169,7 @@ async function onClickDowloadFile(
}
let trainings: any = [];
if (profile.value != null) {
profile.value.training.map((e: any) => {
profile.value.trainings.map((e: any) => {
trainings.push({
yearly: e.yearly ?? "",
startDate: e.startDate == null ? "" : date2Thai(new Date(e.startDate)),