no message
This commit is contained in:
parent
0454dbabad
commit
1a61f342a1
2 changed files with 15 additions and 7 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue