From bf29f6d058278cd3873bbfab0ac10a5ca0b38684 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 25 Apr 2025 14:45:52 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=99=E0=B8=82=E0=B8=B1=E0=B9=89=E0=B8=99=E0=B9=80?= =?UTF-8?q?=E0=B8=87=E0=B8=B4=E0=B8=99=E0=B9=80=E0=B8=94=E0=B8=B7=E0=B8=AD?= =?UTF-8?q?=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_salaryLists/DialogMoveLevelMulti.vue | 44 +++++-------------- .../DialogMoveLevelMulti.vue | 43 +++++------------- 2 files changed, 21 insertions(+), 66 deletions(-) diff --git a/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue b/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue index 16fa30827..1f2c3b884 100644 --- a/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue +++ b/src/modules/13_salary/components/04_salaryLists/DialogMoveLevelMulti.vue @@ -166,6 +166,11 @@ function inputEdit(val: boolean) { }; } +const pagination = ref({ + page: 1, + rowsPerPage: 50, +}); + watch( () => modal.value, () => { @@ -177,6 +182,8 @@ watch( keyword.value = ""; type.value = ""; selectedData.value = []; + pagination.value.page = 1; + pagination.value.rowsPerPage = 50; } } ); @@ -267,8 +274,7 @@ watch(
ทั้งหมด {{ rows.length }} รายการ
- - +
@@ -353,31 +358,4 @@ watch( - + diff --git a/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue b/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue index 705a5404d..bb4bc9ca9 100644 --- a/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue +++ b/src/modules/13_salary/components/05_salaryListsEmployee/DialogMoveLevelMulti.vue @@ -83,6 +83,10 @@ const typeRangeOps = computed(() => { }); const keyword = ref(""); +const pagination = ref({ + page: 1, + rowsPerPage: 50, +}); /** * function เรียกข้อมูลรายชื่อ @@ -177,6 +181,8 @@ watch( keyword.value = ""; type.value = ""; selectedData.value = []; + pagination.value.page = 1; + pagination.value.rowsPerPage = 50; } } ); @@ -267,8 +273,7 @@ watch(
ทั้งหมด {{ rows.length }} รายการ
- - +
@@ -353,31 +357,4 @@ watch( - +