From 3ecf2f9803980332226e30b92199027e6f7c8591 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Fri, 16 Jun 2023 16:14:15 +0700 Subject: [PATCH] =?UTF-8?q?click=20active=20=E0=B9=83=E0=B8=99=20popup=20?= =?UTF-8?q?=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=A7=E0=B8=A2=E0=B8=87=E0=B8=B2?= =?UTF-8?q?=E0=B8=99=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=A3=E0=B8=B1=E0=B8=9A?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=9A=E0=B8=A3=E0=B8=A3=E0=B8=88?= =?UTF-8?q?=E0=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../05_placement/components/pass/Table.vue | 55 ++++++++++++------- 1 file changed, 34 insertions(+), 21 deletions(-) diff --git a/src/modules/05_placement/components/pass/Table.vue b/src/modules/05_placement/components/pass/Table.vue index 3ad89235c..139c95389 100644 --- a/src/modules/05_placement/components/pass/Table.vue +++ b/src/modules/05_placement/components/pass/Table.vue @@ -175,7 +175,9 @@ const fetchOrganization = async (id: string) => { }; const templateDetail = async () => { await fetchOrganization(selected.value); + salaryClass.value = ""; + if (ocId.value != "") { salaryClass.value = salaryClass.value + `สังกัด${ocId.value} `; } @@ -265,7 +267,22 @@ const appoint = ref({ }); const saveAppoint = () => { - console.log("save appoint===>", appoint.value); + const dataAppoint = { + date : date.value, + posNoId: posNoId.value, + positionId: positionId.value, + positionPathSideId: positionPathSideId.value, + positionTypeId: positionTypeId.value, + positionLineId: positionLineId.value, + positionLevelId: positionLevelId.value, + amount : amount.value, + positionSalaryAmount : positionSalaryAmount.value, + mouthSalaryAmount : mouthSalaryAmount.value, + salaryClass : salaryClass.value, + refSelected : refSelected.value, + salaryRef : salaryRef.value + }; + console.log("save appoint===>", dataAppoint); }; const savePostpone = () => { @@ -1156,26 +1173,22 @@ const listKeyId = (data: any) => {
{{ col.value }} -
- - -
-
- {{ props.row.fullName }} -
-
- {{ props.row.profileID }} -
-
-
+
+ + +
+
+ {{ props.row.fullName }} +
+
+ {{ props.row.profileID }} +
+
+