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();