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) => {