no message
This commit is contained in:
parent
6d1388f434
commit
a2a4d2892d
1 changed files with 2 additions and 5 deletions
|
|
@ -130,8 +130,6 @@ function onSubmit() {
|
|||
dialogConfirm($q, async () => {
|
||||
try {
|
||||
showLoader();
|
||||
console.log(rows.value);
|
||||
|
||||
const formData = rows.value.map((e: any) => ({
|
||||
id: e.id,
|
||||
point: e.point,
|
||||
|
|
@ -146,9 +144,8 @@ function onSubmit() {
|
|||
: numpage.value === 3
|
||||
? config.API.kpiAchievementPoint("special")
|
||||
: "";
|
||||
await http.post(url, formData).then((res) => {
|
||||
props.fetchList();
|
||||
});
|
||||
await http.post(url, formData);
|
||||
props.fetchList();
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
} catch (err) {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue