diff --git a/src/api/09_leave/api.leave.ts b/src/api/09_leave/api.leave.ts
index 5e29ef1b2..369549925 100644
--- a/src/api/09_leave/api.leave.ts
+++ b/src/api/09_leave/api.leave.ts
@@ -16,4 +16,9 @@ export default {
specialTime: () => `${leave}/admin/edit`,
specialTimeApprove: (id: string) => `${leave}/admin/edit/approve/${id}`,
specialTimeReject: (id: string) => `${leave}/admin/edit/reject/${id}`,
+
+ /** รายการลา*/
+ leaveType: () => `${leave}/type`,
+ leaveList: () => `${leave}/admin`,
+ leaveListById: (id: string) => `${leave}/admin/${id}`,
};
diff --git a/src/modules/09_leave/components/2_Leave/ToolBarLeave.vue b/src/modules/09_leave/components/2_Leave/ToolBarLeave.vue
index 7744e5841..79bfa610e 100644
--- a/src/modules/09_leave/components/2_Leave/ToolBarLeave.vue
+++ b/src/modules/09_leave/components/2_Leave/ToolBarLeave.vue
@@ -1,5 +1,7 @@
@@ -109,7 +115,6 @@ watch([() => currentPage.value, () => pagination.value.rowsPerPage], () => {
ref="filterRef"
@keydown.enter.prevent="filterFn"
outlined
- debounce="300"
placeholder="ค้นหา"
style="max-width: 200px"
class="col-xs-12 col-sm-3 col-md-2"
@@ -148,8 +153,9 @@ watch([() => currentPage.value, () => pagination.value.rowsPerPage], () => {
virtual-scroll
:virtual-scroll-sticky-size-start="48"
dense
- v-model:pagination="pagination"
:rows-per-page-options="[10, 25, 50, 100]"
+ :pagination="pagination"
+ @update:pagination="updateRowsPerPage"
>