ปรับ summary อัตรากำลัง

This commit is contained in:
Warunee Tamkoo 2024-02-12 09:41:52 +07:00
parent 2a7051f5f6
commit 6245e552aa
5 changed files with 68 additions and 12 deletions

View file

@ -52,6 +52,10 @@ const props = defineProps({
type: Function,
required: true,
},
getSummary: {
type: Function,
required: true,
},
dataDetailPos: { type: Object, require: true },
});
@ -290,6 +294,7 @@ function onSubmit() {
.post(config.API.orgProfile, body)
.then(() => {
props.fetchDataTable?.(store.treeId, store.level, false);
props.getSummary();
success($q, "บันทึกข้อมูลสำเร็จ");
})
.catch((err) => {