fix load ผลการพิจารณาทางวินัย

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-06-24 16:36:23 +07:00
parent d45a2f8412
commit eecd875753
4 changed files with 32 additions and 29 deletions

View file

@ -526,10 +526,10 @@ async function saveDuty(id: string, duty: string, resolution: string) {
duty: duty,
commandNo: resolution,
})
.then((res: any) => {
.then(async () => {
await props.getData?.();
success($q, "บันทึกสำเร็จ");
closeEditDirector();
props.getData?.();
})
.catch((e) => {
messageError($q, e);