ลูกจ้างชั่วคราว => API ออกคำสั่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-12 13:22:40 +07:00
parent d16d99df9d
commit ea4c8ad45f
2 changed files with 4 additions and 1 deletions

View file

@ -92,4 +92,6 @@ export default {
// //
orgCheckAvatar: (id: string) => `${orgProfile}/avatar/profileId/${id}`, orgCheckAvatar: (id: string) => `${orgProfile}/avatar/profileId/${id}`,
orgProfileReport: `${orgProfile}-employee/report`,
}; };

View file

@ -8,6 +8,7 @@ import config from "@/app.config";
import type { QTableProps } from "quasar"; import type { QTableProps } from "quasar";
import type { DataEmployee } from "@/modules/08_registryEmployee/interface/response/Employee"; import type { DataEmployee } from "@/modules/08_registryEmployee/interface/response/Employee";
/** importComponents*/
import DialogHeader from "@/components/DialogHeader.vue"; import DialogHeader from "@/components/DialogHeader.vue";
/** inportStore*/ /** inportStore*/
@ -180,7 +181,7 @@ function onClickSendOrder() {
id: pId, id: pId,
}; };
http http
.post(config.API.organizationEmployeeSendOrder, data) .post(config.API.orgProfileReport, data)
.then(() => { .then(() => {
success($q, "บันทึกสำเร็จ"); success($q, "บันทึกสำเร็จ");
closeDialog(); closeDialog();