ฟังก์ชันออกคำสั่งให้ออกจากราชการ add ProfileType
This commit is contained in:
parent
541c729559
commit
a1fa91798f
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue