no message

This commit is contained in:
STW_TTTY\stwtt 2024-04-24 16:07:40 +07:00
parent 0454dbabad
commit 1a61f342a1
2 changed files with 15 additions and 7 deletions

View file

@ -104,7 +104,20 @@ function onSubmit() {
dialogMessageNotify($q, "กรุณาเลือกระดับคะแนนตามเกณฑ์การประเมิน");
} else {
dialogConfirm($q, () => {
closeDialog();
const data = rows.value;
const body = data.map((i: any) => ({
id: i.id,
point: i.point,
}));
http
.post(config.API.kpiUserCapacity + `/point`, body)
.then((res) => {
closeDialog();
})
.catch((e) => {
messageError($q, e);
})
.finally(() => {});
});
}
}
@ -154,7 +167,6 @@ function onSubmit() {
color="grey"
:color-selected="store.ratingColors"
label="ระดับการประเมินพฤติกรรม"
>
<template v-slot:tip-1>
<q-tooltip>ำกวาระดบทคาดหวงมาก (1)</q-tooltip>