เปิด commend
This commit is contained in:
parent
d7a6c8d9bc
commit
b0390d2e72
1 changed files with 14 additions and 14 deletions
|
|
@ -67,20 +67,20 @@ function onSubmit(data: FormDataType) {
|
||||||
}
|
}
|
||||||
formData.append("oc", data.oc);
|
formData.append("oc", data.oc);
|
||||||
formData.append("position", data.position);
|
formData.append("position", data.position);
|
||||||
// showLoader();
|
showLoader();
|
||||||
// http
|
http
|
||||||
// .post(config.API.appealAdd(), formData)
|
.post(config.API.appealAdd(), formData)
|
||||||
// .then((res) => {
|
.then((res) => {
|
||||||
// /** รอรับ id จาก response */
|
/** รอรับ id จาก response */
|
||||||
// router.push(`/appeal-complain/${res.data.result}`);
|
router.push(`/appeal-complain/${res.data.result}`);
|
||||||
// success($q, "บันทึกข้อมูลสำเร็จ");
|
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||||
// })
|
})
|
||||||
// .catch((e) => {
|
.catch((e) => {
|
||||||
// messageError($q, e);
|
messageError($q, e);
|
||||||
// })
|
})
|
||||||
// .finally(async () => {
|
.finally(async () => {
|
||||||
// hideLoader();
|
hideLoader();
|
||||||
// });
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue