แก้ fetch data ระบบ kpi

This commit is contained in:
Warunee Tamkoo 2024-05-08 11:35:18 +07:00
parent c01ad19889
commit 525d363825
3 changed files with 12 additions and 11 deletions

View file

@ -264,9 +264,7 @@ function onSubmitScore() {
})
.then(async (res) => {
await fetchEvaluation();
await getProfile();
await getOrgOp();
await success($q, "บันทึกสำเร็จ");
success($q, "บันทึกสำเร็จ");
modalScore.value = false;
})
.catch((e) => {
@ -288,7 +286,7 @@ async function clearScore() {
async function getAll() {
await fetchEvaluation();
await getProfile();
await (store.dataProfile === null ? getProfile() : "");
await getOrgOp();
}