api รายการสืบสวนข้อเท็จจริง
This commit is contained in:
parent
691a989c16
commit
3c5fcc029b
14 changed files with 1025 additions and 383 deletions
|
|
@ -16,12 +16,10 @@ const router = useRouter();
|
|||
/** บันทึกข้อมูล */
|
||||
async function onSubmit(data: any) {
|
||||
/** post */
|
||||
console.log(data)
|
||||
showLoader();
|
||||
http
|
||||
.post(config.API.complaintAdd(), data)
|
||||
.then((res) => {
|
||||
console.log(res)
|
||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||
router.push(`/discipline/complaints/${res.data.result}`);
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue