From 4bfc950d66695b26b05f0fb1422c0830c44074be Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 22 Jan 2025 09:48:13 +0700 Subject: [PATCH 1/4] =?UTF-8?q?SIT=20=E0=B8=A3=E0=B8=B0=E0=B8=9A=E0=B8=9A?= =?UTF-8?q?=E0=B8=A7=E0=B8=B4=E0=B8=99=E0=B8=B1=E0=B8=A2>>=E0=B8=A3?= =?UTF-8?q?=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=AD=E0=B8=AD?= =?UTF-8?q?=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87?= =?UTF-8?q?=E0=B8=88=E0=B8=B2=E0=B8=81=E0=B8=A3=E0=B8=B0=E0=B8=9A=E0=B8=9A?= =?UTF-8?q?=E0=B8=A7=E0=B8=B4=E0=B8=99=E0=B8=B1=E0=B8=A2=20(=E0=B9=80?= =?UTF-8?q?=E0=B8=84=E0=B8=A3=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=AB?= =?UTF-8?q?=E0=B8=A1=E0=B8=B2=E0=B8=A2=20:=20(=E0=B8=97=E0=B8=A7=E0=B8=B4?= =?UTF-8?q?=E0=B8=A0=E0=B8=B2=E0=B8=84))?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_registryPerson/views/detailView.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/modules/04_registryPerson/views/detailView.vue b/src/modules/04_registryPerson/views/detailView.vue index a231b2133..4b96bc137 100644 --- a/src/modules/04_registryPerson/views/detailView.vue +++ b/src/modules/04_registryPerson/views/detailView.vue @@ -104,10 +104,10 @@ const baseItemsMenu = ref([ const itemsMenu = computed(() => { if ( leaveReason.value === - "(พ้นจากราชการด้วยสาเหตุ: ได้รับโทษทางวินัย ให้ออกจากราชการไว้ก่อน)" || - leaveReason.value === "(พ้นจากราชการด้วยสาเหตุ: ลาออกจากราชการ)" || + "(พ้นจากราชการด้วยสาเหตุ : ได้รับโทษทางวินัย ให้ออกจากราชการไว้ก่อน)" || + leaveReason.value === "(พ้นจากราชการด้วยสาเหตุ : ลาออกจากราชการ)" || leaveReason.value === - "(พ้นจากราชการด้วยสาเหตุ: ได้รับโทษทางวินัย พักจากราชการ)" + "(พ้นจากราชการด้วยสาเหตุ : ได้รับโทษทางวินัย พักจากราชการ)" ) { return ( baseItemsMenu.value?.filter( @@ -360,12 +360,12 @@ async function fetchDataPersonal() { (r: DataOption) => r.id == res.data.result.leaveReason ); if (reason.length > 0) { - leaveReason.value = `(พ้นจากราชการด้วยสาเหตุ: ${reason[0].name})`; + leaveReason.value = `(พ้นจากราชการด้วยสาเหตุ : ${reason[0].name})`; } else if ( res.data.result.leaveReason !== null && res.data.result.leaveReason !== "" ) { - leaveReason.value = `(พ้นจากราชการด้วยสาเหตุ: ${res.data.result.leaveReason})`; + leaveReason.value = `(พ้นจากราชการด้วยสาเหตุ : ${res.data.result.leaveReason})`; } reasonStatus.value = reason.length > 0 ? true : false; } @@ -798,10 +798,10 @@ onMounted(async () => { 'SYS_PLACEMENT_OTHER', ])) || leaveReason === - '(พ้นจากราชการด้วยสาเหตุ: ได้รับโทษทางวินัย ให้ออกจากราชการไว้ก่อน)' || - leaveReason === '(พ้นจากราชการด้วยสาเหตุ: ลาออกจากราชการ)' || + '(พ้นจากราชการด้วยสาเหตุ : ได้รับโทษทางวินัย ให้ออกจากราชการไว้ก่อน)' || + leaveReason === '(พ้นจากราชการด้วยสาเหตุ : ลาออกจากราชการ)' || leaveReason === - '(พ้นจากราชการด้วยสาเหตุ: ได้รับโทษทางวินัย พักจากราชการ)' + '(พ้นจากราชการด้วยสาเหตุ : ได้รับโทษทางวินัย พักจากราชการ)' " size="md" rounded From f61825f4c25ff4992c350a021a2f77d233d52d91 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 22 Jan 2025 10:01:08 +0700 Subject: [PATCH 2/4] fix / --- .../06_retirement/components/01_retirement/AddList.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/06_retirement/components/01_retirement/AddList.vue b/src/modules/06_retirement/components/01_retirement/AddList.vue index c357c7bd7..3a71b1169 100644 --- a/src/modules/06_retirement/components/01_retirement/AddList.vue +++ b/src/modules/06_retirement/components/01_retirement/AddList.vue @@ -82,28 +82,28 @@ function findOrgChildName(obj: any) { if (obj) { let name = obj.orgChild4Name != null && obj.orgChild3Name != null - ? obj.orgChild4Name + "/" + ? obj.orgChild4Name + " " : obj.orgChild4Name != null ? obj.orgChild4Name : ""; name += obj.orgChild3Name != null && obj.orgChild2Name != null - ? obj.orgChild3Name + "/" + ? obj.orgChild3Name + " " : obj.orgChild3Name !== null ? obj.orgChild3Name : ""; name += obj.orgChild2Name != null && obj.orgChild1Name != null - ? obj.orgChild2Name + "/" + ? obj.orgChild2Name + " " : obj.orgChild2Name != null ? obj.orgChild2Name : ""; name += obj.orgChild1Name != null && obj.orgRootName != null - ? obj.orgChild1Name + "/" + ? obj.orgChild1Name + " " : obj.orgChild1Name != null ? obj.orgChild1Name : ""; From 5f0cac12b1872f785a38e722759c17bb284a8ae6 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 22 Jan 2025 10:13:55 +0700 Subject: [PATCH 3/4] fix color pagination --- src/modules/06_retirement/components/01_retirement/AddList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/06_retirement/components/01_retirement/AddList.vue b/src/modules/06_retirement/components/01_retirement/AddList.vue index 3a71b1169..fbdb99b3f 100644 --- a/src/modules/06_retirement/components/01_retirement/AddList.vue +++ b/src/modules/06_retirement/components/01_retirement/AddList.vue @@ -337,7 +337,8 @@ watch(modal, () => { ทั้งหมด {{ totalList }} รายการ Date: Wed, 22 Jan 2025 10:25:25 +0700 Subject: [PATCH 4/4] =?UTF-8?q?fix=20/=20=E0=B9=80=E0=B8=87=E0=B8=B4?= =?UTF-8?q?=E0=B8=99=E0=B9=80=E0=B8=94=E0=B8=B7=E0=B8=AD=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../05_placement/components/probation/MainProbation.vue | 8 ++++---- .../components/04_salaryLists/TableTypePending.vue | 8 ++++---- .../05_salaryListsEmployee/TableTypePending.vue | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/modules/05_placement/components/probation/MainProbation.vue b/src/modules/05_placement/components/probation/MainProbation.vue index 4b1c54a1b..8e456569f 100644 --- a/src/modules/05_placement/components/probation/MainProbation.vue +++ b/src/modules/05_placement/components/probation/MainProbation.vue @@ -801,19 +801,19 @@ onMounted(async () => { {{ `${ props.row.orgChild4Name - ? props.row.orgChild4Name + "/" + ? props.row.orgChild4Name + " " : "" }${ props.row.orgChild3Name - ? props.row.orgChild3Name + "/" + ? props.row.orgChild3Name + " " : "" }${ props.row.orgChild2Name - ? props.row.orgChild2Name + "/" + ? props.row.orgChild2Name + " " : "" }${ props.row.orgChild1Name - ? props.row.orgChild1Name + "/" + ? props.row.orgChild1Name + " " : "" }${props.row.orgRootName ? props.row.orgRootName : ""}` }} diff --git a/src/modules/13_salary/components/04_salaryLists/TableTypePending.vue b/src/modules/13_salary/components/04_salaryLists/TableTypePending.vue index ba5262688..3d980aed8 100644 --- a/src/modules/13_salary/components/04_salaryLists/TableTypePending.vue +++ b/src/modules/13_salary/components/04_salaryLists/TableTypePending.vue @@ -464,10 +464,10 @@ function onClickViewInfo(type: string, id: string) { - {{ - `${props.row.child4 ? props.row.child4 + "/" : ""}${ - props.row.child3 ? props.row.child3 + "/" : "" - }${props.row.child2 ? props.row.child2 + "-" : ""}${ - props.row.child1 ? props.row.child1 + "/" : "" + `${props.row.child4 ? props.row.child4 + " " : ""}${ + props.row.child3 ? props.row.child3 + " " : "" + }${props.row.child2 ? props.row.child2 + " " : ""}${ + props.row.child1 ? props.row.child1 + " " : "" }${props.row.root ? props.row.root : ""}` }} diff --git a/src/modules/13_salary/components/05_salaryListsEmployee/TableTypePending.vue b/src/modules/13_salary/components/05_salaryListsEmployee/TableTypePending.vue index dcbaf8ccb..aee02168c 100644 --- a/src/modules/13_salary/components/05_salaryListsEmployee/TableTypePending.vue +++ b/src/modules/13_salary/components/05_salaryListsEmployee/TableTypePending.vue @@ -481,10 +481,10 @@ watch( - {{ - `${props.row.child4 ? props.row.child4 + "/" : ""}${ - props.row.child3 ? props.row.child3 + "/" : "" - }${props.row.child2 ? props.row.child2 + "-" : ""}${ - props.row.child1 ? props.row.child1 + "/" : "" + `${props.row.child4 ? props.row.child4 + " " : ""}${ + props.row.child3 ? props.row.child3 + " " : "" + }${props.row.child2 ? props.row.child2 + " " : ""}${ + props.row.child1 ? props.row.child1 + " " : "" }${props.row.root ? props.row.root : ""}` }}