diff --git a/src/modules/11_discipline/components/1_Complaint/EditPage.vue b/src/modules/11_discipline/components/1_Complaint/EditPage.vue index ca49efa96..129b9603e 100644 --- a/src/modules/11_discipline/components/1_Complaint/EditPage.vue +++ b/src/modules/11_discipline/components/1_Complaint/EditPage.vue @@ -1,6 +1,7 @@ + + + + + มีมูลส่งไปสืบสวน + + + + + + + + + + + + + {{ col.label }} + + + + + + + + + + + {{ props.rowIndex + 1 }} + + + {{ col.value }} + + + + + + + + + + + + + + + + + + diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue index be5ff6298..939201bf7 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue @@ -2,7 +2,10 @@ import { useRouter, useRoute } from "vue-router"; import { onMounted, ref, watch, reactive, computed } from "vue"; import { useQuasar } from "quasar"; +import Dialogbody from "@/modules/11_discipline/components/3_InvestigateDisciplinary/Dialogbody.vue"; +import Table from "@/modules/11_discipline/components/3_InvestigateDisciplinary/DirectorTable.vue"; import { useCounterMixin } from "@/stores/mixin"; +import { useInvestigateDisStore } from "@/modules/11_discipline/store/InvestigateDisStore"; import { useInvestigateFactStore } from "@/modules/11_discipline/store/InvestigateFactStore"; import type { FormData, @@ -18,6 +21,7 @@ const investigateFactStore = useInvestigateFactStore(); const mixin = useCounterMixin(); const { filterFnOptionsType } = investigateFactStore; const { date2Thai, dialogConfirm } = mixin; +const investigateDis = useInvestigateDisStore(); const complaintsOptions = ref([]); const isUpdate = ref(false); @@ -50,6 +54,8 @@ const props = defineProps({ }, }); +const filter = ref(""); + /** ข้อมูล v-model ของฟอร์ม */ const formData = reactive({ complaint: "", @@ -87,9 +93,13 @@ const objectInvestigate: MyObjectInvestigateRef = { causeText: causeTextRef, }; +const rows = ref([]); const statusStep = computed(() => { return route.name === "/discipline-disciplinaryEdit" ? true : false; }); +const initialPagination = ref({ + rowsPerPage: 0, +}); /*** ฟังก์ชั่นสำหรับ validate ฟอร์ม */ function validateForm() { @@ -157,6 +167,20 @@ async function fetchDataDetail() { formData.causeText = props.data.results; } } + +const modal = ref(false); +const filterKeyword2 = ref(""); +const type = ref(""); +/** เปิด dialog */ +function onClickOpenPopup() { + modal.value = true; + filterKeyword2.value = ""; +} +/** ฟังชั่นปิด dialog */ +function clickClose() { + modal.value = false; +} + onMounted(async () => { await fetchDataDetail(); console.log(route.name); @@ -310,7 +334,7 @@ watch(props.data, async () => { > วันที่สืบสวน { " :rules="[ (val) => - !!val || `${'กรุณาเลือกวันที่เริ่มการสอบสวน'}`, + !!val || `${'กรุณาเลือกวันที่เริ่มการสืบสวน'}`, ]" - :label="`${'วันที่เริ่มการสอบสวน'}`" + :label="`${'วันที่เริ่มการสืบสวน'}`" > { " :rules="[ (val) => - !!val || `${'กรุณาเลือกวันที่สิ้นสุดการสอบสวน'}`, + !!val || `${'กรุณาเลือกวันที่สิ้นสุดการสืบสวน'}`, ]" - :label="`${'วันที่สิ้นสุดการสอบสวน'}`" + :label="`${'วันที่สิ้นสุดการสืบสวน'}`" > { + + + + กรรมการ + + เพิ่มกรรมการ + + + + + + + + + + {{ props.rowIndex + 1 }} + + + {{ col.value }} + + + + + ลบข้อมูล + + + + + + + + +