diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue index 2b49cab89..197912cb3 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue @@ -329,6 +329,9 @@ async function fetchDatadetail() { formData.persons = props.data.persons ?? []; formData.disciplinaryDateStart = props.data.disciplinaryDateStart ?? null; formData.disciplinaryDateEnd = props.data.disciplinaryDateEnd ?? null; + formData.daysExtend = props.data.daysExtend ?? 0; + formData.disciplinaryDateInvestigation = props.data.disciplinaryDateInvestigation ?? null; + formData.disciplinaryDateResult = props.data.disciplinaryDateResult ?? null; disciplineDisciplinary_DocSummaryEvidences.value = props.data.disciplineDisciplinary_DocSummaryEvidences; disciplineDisciplinary_DocRecordAccusers.value = @@ -338,6 +341,9 @@ async function fetchDatadetail() { disciplineDisciplinary_DocOthers.value = props.data.disciplineDisciplinary_DocOthers; + disciplineDisciplinary_DocRelevants.value = + props.data.disciplineDisciplinary_DocRelevants; + /** MAP รายชื่อกรรมการ หน้าหลัก */ let datalistDirector: responseType[] = formData.directors.map( (e: directorType) => ({ @@ -1292,9 +1298,7 @@ onMounted(async () => { (val) => !!val || `${'กรุณาเลือกร้ายแรง/ไม่ร้ายแรง'}`, ]" - :options=" - investigateDis.causeTextOptions - " + :options="investigateDis.causeTextOptions" label="ร้ายแรง/ไม่ร้ายแรง" emit-value map-options diff --git a/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue b/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue index 90e19d8e3..257ab6d68 100644 --- a/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue +++ b/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue @@ -192,7 +192,7 @@ const fecthTypeOption = async () => { .then((res) => { optionsType.value = res.data.result.filter( (e: OpType) => - e.commandCode === "C-PM-25" || e.commandCode === "C-PM-26" + e.commandCode === "C-PM-26" || e.commandCode === "C-PM-27" || e.commandCode === "C-PM-28" ); }) .catch((e) => { diff --git a/src/modules/11_discipline/components/7_ListSuspend/DialogHeader.vue b/src/modules/11_discipline/components/7_ListSuspend/DialogHeader.vue deleted file mode 100644 index 7bc9b4207..000000000 --- a/src/modules/11_discipline/components/7_ListSuspend/DialogHeader.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - diff --git a/src/modules/11_discipline/components/7_ListSuspend/DialogSendToCommand.vue b/src/modules/11_discipline/components/7_ListSuspend/DialogSendToCommand.vue index e2f0dc7eb..e341c4d56 100644 --- a/src/modules/11_discipline/components/7_ListSuspend/DialogSendToCommand.vue +++ b/src/modules/11_discipline/components/7_ListSuspend/DialogSendToCommand.vue @@ -4,7 +4,7 @@ import { useQuasar } from "quasar"; import { useCounterMixin } from "@/stores/mixin"; import type { QTableProps } from "quasar"; import type { ResponseItems } from "@/modules/06_retirement/interface/response/Main"; -import DialogHeader from "@/modules/11_discipline/components/7_ListSuspend/DialogHeader.vue"; +import DialogHeader from "@/components/DialogHeader.vue"; import http from "@/plugins/http"; import config from "@/app.config"; @@ -151,7 +151,7 @@ watchEffect(() => {