fix: เพิ่ม เเสดง ดาว

This commit is contained in:
setthawutttty 2025-07-29 15:19:38 +07:00
parent b08dddd50a
commit 52e9a326d9
2 changed files with 14 additions and 1 deletions

View file

@ -147,6 +147,9 @@ function onSubmit() {
positionName: items.position,
profileId: items.id,
keycloakId: items.keycloakId,
...(items.posExecutiveName
? { PositionExecutiveName: items.posExecutiveName }
: {}),
}));
showLoader();
const profileSuffix =
@ -155,7 +158,8 @@ function onSubmit() {
: "-employee";
const apiEndpoint =
routeName.value === "resignReject" || routeName.value === "resignRejectEMP"
routeName.value === "resignReject" ||
routeName.value === "resignRejectEMP"
? config.API.addResignCancel(
profileSuffix,
props.type?.toLocaleLowerCase() as string,