จัด โค้ด รายการสืบสวนข้อเท็จจริง

This commit is contained in:
setthawutttty 2023-11-10 13:35:26 +07:00
parent aeaa8c8df2
commit 0e03d4279d
5 changed files with 79 additions and 31 deletions

View file

@ -1,11 +1,11 @@
<script setup lang="ts">
import Form from "@/modules/11_discipline/components/2_InvestigateFacts/Form.vue";
import { useRoute, useRouter } from "vue-router";
const router = useRouter();
//
const onSubmit = async () => {
// post
/** บันทึกข้อมูลเเละ route กลับหน้าหลัก */
async function onSubmit(){
console.log("add");
router.push(`/discipline/investigatefacts`);
};