เปิด commend

This commit is contained in:
STW_TTTY\stwtt 2024-09-30 11:05:00 +07:00
parent d7a6c8d9bc
commit b0390d2e72

View file

@ -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(() => {