2023-10-16 18:13:03 +07:00
|
|
|
<script setup lang="ts">
|
2023-11-06 15:13:36 +07:00
|
|
|
import Form from "@/modules/11_discipline/components/2_InvestigateFacts/Form.vue";
|
|
|
|
|
import { useRoute, useRouter } from "vue-router";
|
2023-11-10 13:35:26 +07:00
|
|
|
|
2023-11-06 15:13:36 +07:00
|
|
|
const router = useRouter();
|
2023-10-24 13:47:12 +07:00
|
|
|
|
2023-11-10 13:35:26 +07:00
|
|
|
/** บันทึกข้อมูลเเละ route กลับหน้าหลัก */
|
|
|
|
|
async function onSubmit(){
|
2023-11-06 15:13:36 +07:00
|
|
|
router.push(`/discipline/investigatefacts`);
|
2023-10-24 13:47:12 +07:00
|
|
|
};
|
2023-10-16 18:13:03 +07:00
|
|
|
</script>
|
2023-11-08 15:25:01 +07:00
|
|
|
|
2023-10-16 18:13:03 +07:00
|
|
|
<template>
|
2023-11-06 15:13:36 +07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-11">
|
|
|
|
|
<div class="toptitle text-dark col-12 row items-center">
|
|
|
|
|
<q-btn
|
|
|
|
|
for="#backMaininvestigate"
|
|
|
|
|
icon="mdi-arrow-left"
|
|
|
|
|
unelevated
|
|
|
|
|
round
|
|
|
|
|
dense
|
|
|
|
|
flat
|
|
|
|
|
color="primary"
|
|
|
|
|
class="q-mr-sm"
|
|
|
|
|
@click="router.go(-1)"
|
|
|
|
|
/>
|
|
|
|
|
เพิ่มรายการสืบสวนข้อเท็จจริง
|
2023-10-17 14:23:23 +07:00
|
|
|
</div>
|
2023-11-06 15:13:36 +07:00
|
|
|
|
|
|
|
|
<Form :on-submit="onSubmit" />
|
|
|
|
|
</div>
|
2023-10-16 18:13:03 +07:00
|
|
|
</template>
|