fix ถึงแก่กรรม
This commit is contained in:
parent
9312af4556
commit
a9234dac82
2 changed files with 36 additions and 4 deletions
|
|
@ -586,6 +586,11 @@ function clickSaveDeceased() {
|
|||
formData.append("Location", placeDeathCertificate.value);
|
||||
formData.append("Reason", reasonDeath.value);
|
||||
formData.append("ProfileId", profileId.value);
|
||||
formData.append(
|
||||
"ProfileType",
|
||||
empType.value === "-employee" ? "EMPLOYEE" : "OFFICER"
|
||||
);
|
||||
|
||||
await http
|
||||
.post(config.API.listDeceased(), formData)
|
||||
.then(async () => {
|
||||
|
|
@ -594,8 +599,6 @@ function clickSaveDeceased() {
|
|||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue