From ea4c8ad45ffc1f0fe9292cb8a6a877d9637620c0 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 12 Jun 2024 13:22:40 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A5=E0=B8=B9=E0=B8=81=E0=B8=88=E0=B9=89?= =?UTF-8?q?=E0=B8=B2=E0=B8=87=E0=B8=8A=E0=B8=B1=E0=B9=88=E0=B8=A7=E0=B8=84?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=A7=20=3D>=20=20API=20=E0=B8=AD?= =?UTF-8?q?=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88?= =?UTF-8?q?=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/02_organizational/api.organization.ts | 2 ++ src/modules/08_registryEmployee/components/DialogSendOrder.vue | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/02_organizational/api.organization.ts b/src/api/02_organizational/api.organization.ts index 4695b7b57..9500f84b6 100644 --- a/src/api/02_organizational/api.organization.ts +++ b/src/api/02_organizational/api.organization.ts @@ -92,4 +92,6 @@ export default { // orgCheckAvatar: (id: string) => `${orgProfile}/avatar/profileId/${id}`, + + orgProfileReport: `${orgProfile}-employee/report`, }; diff --git a/src/modules/08_registryEmployee/components/DialogSendOrder.vue b/src/modules/08_registryEmployee/components/DialogSendOrder.vue index 9d16e92f0..465f6f655 100644 --- a/src/modules/08_registryEmployee/components/DialogSendOrder.vue +++ b/src/modules/08_registryEmployee/components/DialogSendOrder.vue @@ -8,6 +8,7 @@ import config from "@/app.config"; import type { QTableProps } from "quasar"; import type { DataEmployee } from "@/modules/08_registryEmployee/interface/response/Employee"; +/** importComponents*/ import DialogHeader from "@/components/DialogHeader.vue"; /** inportStore*/ @@ -180,7 +181,7 @@ function onClickSendOrder() { id: pId, }; http - .post(config.API.organizationEmployeeSendOrder, data) + .post(config.API.orgProfileReport, data) .then(() => { success($q, "บันทึกสำเร็จ"); closeDialog();