diff --git a/src/modules/11_discipline/components/1_Complaint/MainPage.vue b/src/modules/11_discipline/components/1_Complaint/MainPage.vue index 800fd3acd..d2e3c1a8b 100644 --- a/src/modules/11_discipline/components/1_Complaint/MainPage.vue +++ b/src/modules/11_discipline/components/1_Complaint/MainPage.vue @@ -28,7 +28,7 @@ const filterKeyword = ref(""); const maxPage = ref(1); const page = ref(1); const rowsPerPage = ref(10); -const statusFilter = ref("ALL"); +const statusFilter = ref("NEW"); async function updatePagingProp(rowPerpage: number, pageCurrent: number) { rowsPerPage.value = rowPerpage; diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue b/src/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue index 87fb70752..b27372954 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue @@ -25,7 +25,7 @@ function resetFilter() { getList(); } } -const statusFilter = ref("ALL"); +const statusFilter = ref("NEW"); const currentPage = ref(1); const maxPage = ref(1); const page = ref(1); diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue index 310c9543e..a09239c23 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue @@ -669,8 +669,6 @@ onMounted(async () => { map-options hide-bottom-space :options="complainstStore.complainantoptions" - :rules="[(val) => !!val || `${'กรุณาเลือกผู้ร้องเรียน'}`]" - lazy-rules @update:model-value=" selectComplainant(formData.respondentType); changeFormData(); @@ -709,41 +707,9 @@ onMounted(async () => { v-model="formData.organizationId" :options="organizationOption" label="เลือกสำนักงาน" - :rules="[(val) => !!val || `${'กรุณาเลือกสำนักงาน'}`]" - lazy-rules @update:model-value="changeFormData()" /> -