diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue index 1bddcd329..cdac0c77f 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/Form.vue @@ -657,7 +657,7 @@ onMounted(async () => {
-
+
@@ -1366,6 +1366,7 @@ onMounted(async () => {
+
@@ -1560,6 +1561,7 @@ onMounted(async () => {
+
diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue index cc013c673..c43848b3a 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue @@ -182,7 +182,7 @@ const dateEndInputStyle = computed(() => { if (formData.disciplinaryDateStart) { const currentDate = new Date(); const investigationDateEnd = new Date(formData.disciplinaryDateEnd as Date); - + const isInNext7Days = investigationDateEnd >= currentDate && investigationDateEnd <= @@ -378,11 +378,11 @@ async function fetchDatadetail() { prefix: item.prefix, firstName: item.firstName, lastName: item.lastName, - position: item.position == '' ? "-" : item.position, - email: item.email == '' ? '-' : item.email, - phone: item.phone == '' ? '-' : item.phone, - commandNo: item.commandNo == '' ? '-' : item.commandNo, - duty: item.duty == '' ? '-' : item.duty, + position: item.position == "" ? "-" : item.position, + email: item.email == "" ? "-" : item.email, + phone: item.phone == "" ? "-" : item.phone, + commandNo: item.commandNo == "" ? "-" : item.commandNo, + duty: item.duty == "" ? "-" : item.duty, check: "props", })); @@ -476,8 +476,8 @@ async function fetchDListDirector() { firstName: e.firstName, lastName: e.lastName, position: e.position, - email: e.email == '' ? '-' : e.email, - phone: e.phone == '' ? '-' : e.phone, + email: e.email == "" ? "-" : e.email, + phone: e.phone == "" ? "-" : e.phone, total: e.total, duty: e.duty, })); @@ -684,98 +684,93 @@ onMounted(async () => { + - - - - + + + +
- -
{ > @@ -1253,20 +1129,20 @@ onMounted(async () => { :class="inputEditExtend(isReadonly)" :readonly=" isReadonly || - formData.disciplinaryExtendHistory - .length > 0 + formData.disciplinaryExtendHistory.length > + 0 " outlined dense borderless hide-bottom-space :model-value=" - formData.disciplinaryDateStart - ? date2Thai( - formData.disciplinaryDateStart as Date - ) - : null - " + formData.disciplinaryDateStart + ? date2Thai( + formData.disciplinaryDateStart as Date + ) + : null + " :label="`${'วันที่เริ่มการสอบสวน'}`" >