From ab6c7abcbb1895cd5c4f8f5d3912c791703846fa Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 29 Oct 2024 17:04:33 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20paging=20?= =?UTF-8?q?=E0=B8=A7=E0=B8=B4=E0=B8=99=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dialogs/AddPersonal.vue | 1 + .../Achievement/05_ResultsPerformance.vue | 2 +- .../probation/FormAppoint/FormAppoint.vue | 2 +- .../components/1_Complaint/MainPage.vue | 54 +++++++---- .../components/1_Complaint/TableComplaint.vue | 56 ++++-------- .../components/2_InvestigateFacts/Form.vue | 49 ++++++---- .../2_InvestigateFacts/MainPage.vue | 65 +++++++------- .../3_InvestigateDisciplinary/Form.vue | 54 ++++++----- .../3_InvestigateDisciplinary/MainPage.vue | 51 ++++++----- .../3_InvestigateDisciplinary/Table.vue | 43 ++++----- .../components/4_Result/MainPage.vue | 55 ++++++------ .../components/4_Result/Table.vue | 59 ++++-------- .../6_BasicInformation/Director/Form.vue | 3 +- .../6_BasicInformation/Director/MainPage.vue | 70 ++++++++------- .../components/7_ListSuspend/ListsPage.vue | 69 +++++++------- .../components/8_AppealComplain/MainPage.vue | 89 +++++++++---------- .../components/DialogDirector.vue | 86 +++++++++--------- 17 files changed, 407 insertions(+), 401 deletions(-) diff --git a/src/components/Dialogs/AddPersonal.vue b/src/components/Dialogs/AddPersonal.vue index 40b14430d..5d5bcb889 100644 --- a/src/components/Dialogs/AddPersonal.vue +++ b/src/components/Dialogs/AddPersonal.vue @@ -122,6 +122,7 @@ const searchRef = ref(null); async function searchInput() { searchRef.value.validate(); if (!searchRef.value.hasError) { + pagination.value.page = 1; await getSearch(); } } diff --git a/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue b/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue index 95e5ae085..a893a6f52 100644 --- a/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue +++ b/src/modules/04_registryPerson/components/detail/Achievement/05_ResultsPerformance.vue @@ -881,7 +881,7 @@ onMounted(async () => { :card-container-class=" modeViewPlan === 'card' ? 'q-col-gutter-md' : '' " - :rows-per-page-options="[1, 25, 50, 100]" + :rows-per-page-options="[10, 25, 50, 100]" @update:pagination="updatePaginationIdp" >