From 03dfcf6b9fd4dffb69283eef1b390524f28acd0c Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 24 Apr 2024 09:40:02 +0700 Subject: [PATCH 1/4] =?UTF-8?q?=E0=B9=82=E0=B8=84=E0=B8=A3=E0=B8=87?= =?UTF-8?q?=E0=B8=AA=E0=B8=A3=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=AD=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=A3=E0=B8=B2=E0=B8=81=E0=B8=B3=E0=B8=A5=E0=B8=B1?= =?UTF-8?q?=E0=B8=87=20=3D>=20fix=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../02_organizationalNew/components/DialogFormAgency.vue | 5 ++++- .../02_organizationalNew/components/DialogFormPosition.vue | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/modules/02_organizationalNew/components/DialogFormAgency.vue b/src/modules/02_organizationalNew/components/DialogFormAgency.vue index 13b06dc8d..3cfb00cfb 100644 --- a/src/modules/02_organizationalNew/components/DialogFormAgency.vue +++ b/src/modules/02_organizationalNew/components/DialogFormAgency.vue @@ -219,6 +219,7 @@ watch( if (props.modal === true) { if (actionType.value === "ADD") { console.log(props.dataNode); + console.log(level.value); if (props.dataNode) { formData.orgCode = @@ -351,7 +352,9 @@ function selectOrgLevele(val: string, status: boolean = true) {
{ if (props.modal === true) { fetchType(); - // fetchLevel(); fetchExecutive(); if (props.actionType === "ADD") { @@ -535,6 +534,7 @@ watch( formData.prefixNo = ""; formData.positionNo = ""; formData.suffixNo = ""; + formData.reason = ""; } else { props.rowId && fetchPosition(props.rowId); } @@ -557,7 +557,6 @@ async function addPosition(data: RowDetailPositions) { if (!isIdExist) { rows.value = [...rows.value, data]; - // rows.value.push(data); } } @@ -603,6 +602,7 @@ async function clearFormPositionSelect() { function close() { props.close?.(); + clearFormPositionSelect(); isPosition.value = false; } From 3553f825e1b9a0e1baa2ac2d24151a71a28ac283 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 24 Apr 2024 15:44:17 +0700 Subject: [PATCH 2/4] =?UTF-8?q?=E0=B9=82=E0=B8=84=E0=B8=A3=E0=B8=87?= =?UTF-8?q?=E0=B8=AA=E0=B8=A3=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=AD=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=A3=E0=B8=B2=E0=B8=81=E0=B8=B3=E0=B8=A5=E0=B8=B1?= =?UTF-8?q?=E0=B8=87=20=3D>=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=20field=20=20positionIsSelected?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../02_organizationalNew/components/DialogFormPosition.vue | 3 +++ .../16_positionEmployee/components/DialogFormPosition.vue | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/02_organizationalNew/components/DialogFormPosition.vue b/src/modules/02_organizationalNew/components/DialogFormPosition.vue index 3d953fc07..2d3cd9db9 100644 --- a/src/modules/02_organizationalNew/components/DialogFormPosition.vue +++ b/src/modules/02_organizationalNew/components/DialogFormPosition.vue @@ -364,6 +364,7 @@ function onSubmit() { posDictExecutiveField: e.positionExecutiveField, //ด้านทางการบริหาร posDictArea: e.positionArea, //ด้าน/สาขา isSpecial: e.isSpecial, + positionIsSelected: e.positionIsSelected, })); const body = { posMasterNoPrefix: formData.prefixNo, //*Prefix นำหน้าเลขที่ตำแหน่ง เป็น Optional (ไม่ใช่อักษรย่อของหน่วยงาน/ส่วนราชการ) @@ -543,6 +544,8 @@ watch( ); async function addPosition(data: RowDetailPositions) { + console.log(data); + const isIdExist = await rows.value.some( (item: any) => item.posExecutiveId == data.posExecutiveId && diff --git a/src/modules/16_positionEmployee/components/DialogFormPosition.vue b/src/modules/16_positionEmployee/components/DialogFormPosition.vue index 29b766e07..30bd13fec 100644 --- a/src/modules/16_positionEmployee/components/DialogFormPosition.vue +++ b/src/modules/16_positionEmployee/components/DialogFormPosition.vue @@ -358,7 +358,7 @@ watch( From 0fa8d6ace19990d70f17b74f1d6291cd473099b8 Mon Sep 17 00:00:00 2001 From: Tanyalak Date: Wed, 24 Apr 2024 17:26:12 +0700 Subject: [PATCH 3/4] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20css?= =?UTF-8?q?=20=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5=E0=B8=A2?= =?UTF-8?q?=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95?= =?UTF-8?q?=E0=B8=B4=E0=B9=83=E0=B8=AB=E0=B8=A1=E0=B9=88=E0=B9=81=E0=B8=97?= =?UTF-8?q?=E0=B9=87=E0=B8=9A=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B9=80=E0=B8=AB?= =?UTF-8?q?=E0=B8=A5=E0=B8=B7=E0=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Achievement/01_ProfessionalLicense.vue | 115 +-- .../detail/Achievement/02_Train.vue | 831 +++++++++--------- .../detail/Achievement/03_Insignia.vue | 815 +++++++++-------- .../Achievement/04_DeclarationHonor.vue | 430 +++++---- .../Achievement/05_ResultsPerformance.vue | 575 ++++++------ .../02_DisciplineHistory.vue | 2 +- .../GovernmentInformation/03_LeaveHistory.vue | 2 +- .../04_PerformSpecialWorkHistory.vue | 2 +- .../detail/Other/01_OtherInformation.vue | 166 ++-- .../Other/01_OtherInformationHistory.vue | 165 ++-- .../components/detail/Other/02_Document.vue | 164 ++-- .../detail/Salary/01_PositionSalary.vue | 622 +++++++------ .../Salary/01_PositionSalaryHistory.vue | 157 ++-- .../detail/Salary/02_NotReceiveSalary.vue | 330 ++++--- .../Salary/02_NotReceiveSalaryHistory.vue | 143 ++- 15 files changed, 2153 insertions(+), 2366 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/Achievement/01_ProfessionalLicense.vue b/src/modules/04_registryNew/components/detail/Achievement/01_ProfessionalLicense.vue index 1499e91f5..652d0f54e 100644 --- a/src/modules/04_registryNew/components/detail/Achievement/01_ProfessionalLicense.vue +++ b/src/modules/04_registryNew/components/detail/Achievement/01_ProfessionalLicense.vue @@ -338,12 +338,13 @@ onMounted(async () => { - +
{ - + - - - - - - + + - - -
+ +
{ />
-
+
{
-
+
{
- - - - - - - บันทึกข้อมูล - - - + + + + + บันทึกข้อมูล + + - + - - - - - - - + + + - - - + +
{ bg-color="white" v-model="historyKeyword" label="ค้นหา" - class="q-mr-sm" > - - - + + diff --git a/src/modules/04_registryNew/components/detail/Achievement/02_Train.vue b/src/modules/04_registryNew/components/detail/Achievement/02_Train.vue index cb05031f9..c83a10e3f 100644 --- a/src/modules/04_registryNew/components/detail/Achievement/02_Train.vue +++ b/src/modules/04_registryNew/components/detail/Achievement/02_Train.vue @@ -496,9 +496,10 @@ onMounted(async () => { - +
{ - + - - - - - - - - - -
-
- -
-
- -
+ + + +
+
+
- -
- - -
-
-
- - - - - -
-
- - - - - -
-
-
-
- - - - - -
-
- - - - - -
-
-
-
+
+ +
+
+ +
+ + +
+