From 7d74a4e792badf288bc8e630d51e184bf6fef512 Mon Sep 17 00:00:00 2001 From: oat_dev Date: Tue, 2 Apr 2024 15:08:36 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4:=20=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A?= =?UTF-8?q?=E0=B9=81=E0=B8=97=E0=B9=87=E0=B8=9A=E0=B8=AD=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=99=E0=B9=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/Other/01_OtherInformation.vue | 174 ++++++++-------- .../Other/01_OtherInformationHistory.vue | 188 +++++++++--------- 2 files changed, 185 insertions(+), 177 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/Other/01_OtherInformation.vue b/src/modules/04_registryNew/components/detail/Other/01_OtherInformation.vue index e7bc8b1b3..d136bb166 100644 --- a/src/modules/04_registryNew/components/detail/Other/01_OtherInformation.vue +++ b/src/modules/04_registryNew/components/detail/Other/01_OtherInformation.vue @@ -28,6 +28,10 @@ const { const id = ref(""); +const pagination = ref({ + page: 1, + rowsPerPage: 10, +}); const profileId = ref( route.params.id ? route.params.id.toString() : "" ); @@ -287,6 +291,7 @@ onMounted(() => { :columns="columns" dense bordered + v-model:pagination="pagination" flat :card-container-class="mode === 'card' ? 'q-col-gutter-md' : ''" :grid="mode === 'card'" @@ -384,98 +389,101 @@ onMounted(() => { - - + - - - + + + + + + - - -
-
- - - - - + + +
+
+ + + + + +
+
+ +
-
- -
-
- - + + - - - บันทึกข้อมูล - - + + + + + บันทึกข้อมูล + + + - + diff --git a/src/modules/04_registryNew/components/detail/Other/01_OtherInformationHistory.vue b/src/modules/04_registryNew/components/detail/Other/01_OtherInformationHistory.vue index 1d620f529..9cb947397 100644 --- a/src/modules/04_registryNew/components/detail/Other/01_OtherInformationHistory.vue +++ b/src/modules/04_registryNew/components/detail/Other/01_OtherInformationHistory.vue @@ -19,7 +19,10 @@ const id = defineModel("id", { required: true }); const $q = useQuasar(); const mixin = useCounterMixin(); const { showLoader, hideLoader, messageError, date2Thai } = mixin; - +const historyPagination = ref({ + page: 1, + rowsPerPage: 10, +}); const currentPage = ref(1); const maxPage = ref(1); const filterKeyword = ref(""); @@ -126,100 +129,97 @@ watch(modal, (status) => {