From 544e899728c77051baf27e0e0fce8476aaad2f21 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Tue, 10 Oct 2023 17:41:21 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B8=AA=E0=B9=88=E0=B8=87=E0=B9=84=E0=B8=9B=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=82=E0=B8=AD=E0=B8=87=E0=B9=81=E0=B8=95=E0=B9=88=E0=B8=87?= =?UTF-8?q?=E0=B8=95=E0=B8=B1=E0=B9=89=E0=B8=87=E0=B8=A5=E0=B8=B9=E0=B8=81?= =?UTF-8?q?=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=9B=E0=B8=A3=E0=B8=B0?= =?UTF-8?q?=E0=B8=88=E0=B8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/05_placement/api.placement.ts | 2 +- .../components/AppointEmployee/Dialogbody.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/05_placement/api.placement.ts b/src/api/05_placement/api.placement.ts index 3838b0228..0d85368a6 100644 --- a/src/api/05_placement/api.placement.ts +++ b/src/api/05_placement/api.placement.ts @@ -169,6 +169,6 @@ export default { appointEmployee: () => `${placement}/appointment/temp`, appointEmployeeByid: (id: string) => `${placement}/appointment/temp/${id}`, appointEmployeePosition: (id: string) => `${placement}/appointment/temp/position/${id}`, - appointEmployeeOrder: (commandTypeId: string) => `${placement}/appointment/temp/report/${commandTypeId}`, + appointEmployeeOrder: () => `${placement}/appointment/temp/report`, apppointmentPositionUse: () => `${placement}/appointment/temp/use`, }; diff --git a/src/modules/05_placement/components/AppointEmployee/Dialogbody.vue b/src/modules/05_placement/components/AppointEmployee/Dialogbody.vue index fd56e585d..6034e5f87 100644 --- a/src/modules/05_placement/components/AppointEmployee/Dialogbody.vue +++ b/src/modules/05_placement/components/AppointEmployee/Dialogbody.vue @@ -15,7 +15,7 @@ const { showLoader, success, messageError, dialogConfirm, hideLoader } = mixin; const $q = useQuasar(); const selected = ref<[]>([]); const checkSelected = computed(() => { - if (selected.value.length === 0 || props.type === "") { + if (selected.value.length === 0) { return true; } }); @@ -122,7 +122,7 @@ const createdAppoint = async () => { }; showLoader(); await http - .put(config.API.appointEmployeeOrder(Type), data) + .put(config.API.appointEmployeeOrder(), data) .then(() => { success($q, "บันทึกสำเร็จ"); }) @@ -151,7 +151,7 @@ watchEffect(() => {
- +