From 70d2c59f65320b6587ba85f7f989da215d929567 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Sat, 28 Mar 2026 11:27:13 +0700 Subject: [PATCH 01/97] fix: display --- src/modules/06_retirement/components/02_resign/ResignReject.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/06_retirement/components/02_resign/ResignReject.vue b/src/modules/06_retirement/components/02_resign/ResignReject.vue index acfcbe296..d40a2b1ec 100644 --- a/src/modules/06_retirement/components/02_resign/ResignReject.vue +++ b/src/modules/06_retirement/components/02_resign/ResignReject.vue @@ -439,7 +439,7 @@ onMounted(async () => { class="q-mr-sm" @click="router.push('/retirement/resign')" /> - รายละเอียดการยกเลิกลาออก {{ route.name }} + รายละเอียดการยกเลิกลาออก {{ dataDetail.prefix + dataDetail.firstName + " " + dataDetail.lastName }} From e9bcebee6d9d849ca7b01382e3163e49053a2433 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 30 Mar 2026 10:40:57 +0700 Subject: [PATCH 02/97] fix(exam): add qualify period validation for announcement type --- src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue index 6b54c2ac7..e02f71ad4 100644 --- a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue @@ -400,7 +400,7 @@ async function checkSave() { // เช็ค validation form ตำแหน่ง const isPositionFormValid = await myFormPosition.value?.validate(); - if (!isPositionFormValid) return; + if (!isPositionFormValid && announcementExam.value) return; // เช็คการเพิ่มตำแหน่ง if (announcementExam.value && rowsPosition.value.length === 0) { @@ -889,7 +889,7 @@ function fetchPosition(level: number) { * @param val ค่าประเภทตำแหน่ง 0 = ประเภททั่วไป ,1 = ประเภทวิชาการ * @param index ตำแหน่งของข้อมูล */ -function onUpdateHighDegree(val: string, index: string) { +function onUpdateHighDegree(val: string, index: number) { rowsPosition.value[index].position = null; rowsPosition.value[index].level = val === "0" ? optionPosLevel1.value[0] : optionPosLevel2.value[0]; From 514de15f094a4b3382ae2514b7998e9a18f1a6f3 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 1 Apr 2026 11:09:33 +0700 Subject: [PATCH 03/97] feat(leave): add Processed Late tab to work-list --- src/api/09_leave/api.leave.ts | 2 + .../02_WorkList/Tab3_Processed_Late.vue | 491 ++++++++++++++++++ .../09_leave/interface/request/work.ts | 6 + .../09_leave/interface/response/work.ts | 22 +- src/modules/09_leave/views/02_WorkingMain.vue | 24 +- 5 files changed, 542 insertions(+), 3 deletions(-) create mode 100644 src/modules/09_leave/components/02_WorkList/Tab3_Processed_Late.vue diff --git a/src/api/09_leave/api.leave.ts b/src/api/09_leave/api.leave.ts index 865db4ea6..d0229b204 100644 --- a/src/api/09_leave/api.leave.ts +++ b/src/api/09_leave/api.leave.ts @@ -61,4 +61,6 @@ export default { leaveReportAPI: (type: string) => `${leave}/report/download/time-records/${type}`, + + leaveTask: `${leave}/admin/leave-task/process`, }; diff --git a/src/modules/09_leave/components/02_WorkList/Tab3_Processed_Late.vue b/src/modules/09_leave/components/02_WorkList/Tab3_Processed_Late.vue new file mode 100644 index 000000000..5a6b50854 --- /dev/null +++ b/src/modules/09_leave/components/02_WorkList/Tab3_Processed_Late.vue @@ -0,0 +1,491 @@ + + + + + diff --git a/src/modules/09_leave/interface/request/work.ts b/src/modules/09_leave/interface/request/work.ts index e69de29bb..c448c9fc9 100644 --- a/src/modules/09_leave/interface/request/work.ts +++ b/src/modules/09_leave/interface/request/work.ts @@ -0,0 +1,6 @@ +interface FormDataProcess { + startDate: Date | null; + endDate: Date | null; +} + +export type { FormDataProcess }; diff --git a/src/modules/09_leave/interface/response/work.ts b/src/modules/09_leave/interface/response/work.ts index 41df27b5f..af055b794 100644 --- a/src/modules/09_leave/interface/response/work.ts +++ b/src/modules/09_leave/interface/response/work.ts @@ -85,4 +85,24 @@ interface FormDetail { checkInLocationName: string; checkOutLocationName: string; } -export type { TableRows, DataResLog, DataResTime, TableRowsTime, FormDetail }; + +interface DataProcess { + id: string; + createdFullName: string; + createdAt: Date | null; + status: string; + startDate: Date | null; + endDate: Date | null; + processingDate: Date | null; + completedDate: Date | null; + errorMessage: string | null; +} + +export type { + TableRows, + DataResLog, + DataResTime, + TableRowsTime, + FormDetail, + DataProcess, +}; diff --git a/src/modules/09_leave/views/02_WorkingMain.vue b/src/modules/09_leave/views/02_WorkingMain.vue index 99387a4bb..fed615baf 100644 --- a/src/modules/09_leave/views/02_WorkingMain.vue +++ b/src/modules/09_leave/views/02_WorkingMain.vue @@ -1,15 +1,26 @@