fix load ผลการพิจารณาทางวินัย
This commit is contained in:
parent
d45a2f8412
commit
eecd875753
4 changed files with 32 additions and 29 deletions
|
|
@ -619,7 +619,7 @@ function emitPerson(data: PersonsArray[]) {
|
|||
.post(config.API.disciplinaryReport(), {
|
||||
Id: dataMapId,
|
||||
})
|
||||
.then((res) => {
|
||||
.then(() => {
|
||||
getActive();
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
@ -648,10 +648,10 @@ async function saveDuty(id: string, duty: string, resolution: string) {
|
|||
duty: duty,
|
||||
commandNo: resolution,
|
||||
})
|
||||
.then((res: any) => {
|
||||
.then(async () => {
|
||||
await props.fetchData();
|
||||
success($q, "บันทึกสำเร็จ");
|
||||
closeEditDirector();
|
||||
props.fetchData();
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue