ฟังก์ชันออกคำสั่งให้ออกจากราชการ add ProfileType

This commit is contained in:
kittapath 2025-01-20 22:26:37 +07:00
parent 541c729559
commit a1fa91798f

View file

@ -510,6 +510,10 @@ function clickPassaway() {
function outPost() {
const formData = new FormData();
formData.append("id", profileId.value);
formData.append(
"ProfileType",
empType.value === "-employee" ? "EMPLOYEE" : "OFFICER"
);
dialogConfirm($q, async () => {
showLoader();
await http