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( - +