From 6ad6b4bcabe70af3022ba9e2d4a693f63ed8a8a0 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Fri, 22 Sep 2023 13:47:55 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=84=E0=B8=AD=E0=B8=A1=E0=B9=80=E0=B8=A1?= =?UTF-8?q?=E0=B9=89=E0=B8=99=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=A7=E0=B8=A2?= =?UTF-8?q?=E0=B8=87=E0=B8=B2=E0=B8=99=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=AA?= =?UTF-8?q?=E0=B8=AD=E0=B8=9A=E0=B8=84=E0=B8=B1=E0=B8=94=E0=B9=80=E0=B8=A5?= =?UTF-8?q?=E0=B8=B7=E0=B8=AD=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/02_qualify/PeriodAdd.vue | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue index 55f4aaf49..9e58ff370 100644 --- a/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue +++ b/src/modules/03_recruiting/views/02_qualify/PeriodAdd.vue @@ -316,7 +316,7 @@ > -->
-
+
@@ -1049,7 +1049,7 @@ const filterPayment = ref(""); //search data table const filterPosition = ref(""); //search data table const edit = ref(false); const rowsPayment = ref([]); -const rowsPosition = ref([]); +const rowsPosition = ref([]); const visibleColumnsPayment = ref([ "accountNumber", "bankName", @@ -1152,16 +1152,18 @@ onMounted(async () => { id.value = route.params.id.toString(); await fetchData(); } else { + pay.value = ""; edit.value = false; } - await fetchOrganizationShortName(); - if ( - organizationShortName.value != null && - organizationShortName.value.id != null - ) - await fetchOrganizationOrganization(organizationShortName.value.id); - if (organizationName.value != null && organizationName.value.id != null) - await fetchPositionPath(organizationName.value.id); + // await fetchOrganizationShortName(); + // if ( + // organizationShortName.value != null && + // organizationShortName.value.id != null + // ) + // await fetchOrganizationOrganization(organizationShortName.value.id); + // if (organizationName.value != null && organizationName.value.id != null) + // await fetchPositionPath(organizationName.value.id); + await fetchPositionPath("test"); }); const clickBack = () => { @@ -1575,7 +1577,7 @@ const clickAddPosition = () => { if (result) { rowsPosition.value.push({ id: "00000000-0000-0000-0000-000000000000", - position: { id: "", name: "" }, + position: null, type: { id: "normol", name: "ทั่วไป" }, highDegree: false, });