ลูกจ้างชั่วคราว => API ออกคำสั่ง
This commit is contained in:
parent
d16d99df9d
commit
ea4c8ad45f
2 changed files with 4 additions and 1 deletions
|
|
@ -92,4 +92,6 @@ export default {
|
||||||
|
|
||||||
//
|
//
|
||||||
orgCheckAvatar: (id: string) => `${orgProfile}/avatar/profileId/${id}`,
|
orgCheckAvatar: (id: string) => `${orgProfile}/avatar/profileId/${id}`,
|
||||||
|
|
||||||
|
orgProfileReport: `${orgProfile}-employee/report`,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue