diff --git a/src/components/TableHistory.vue b/src/components/TableHistory.vue index e46d8bb..fde3e66 100644 --- a/src/components/TableHistory.vue +++ b/src/components/TableHistory.vue @@ -17,10 +17,10 @@ const props = defineProps({ type: Boolean, defualt: false, }, - selected: { - type: Array, - defualt: [], - }, + // selected: { + // type: Array, + // defualt: [], + // }, pageSize: { type: Number, defualt: 10, @@ -281,6 +281,7 @@ const checkRequestEdit = (checkInStatus: string, checkOutStatus: string) => { v-model:selected="selected" :virtual-scroll-sticky-size-start="48" :style="$q.screen.gt.xs ? 'max-height: 64vh' : ''" + :rows-per-page-options="[10, 25, 50, 100]" :grid="$q.screen.gt.xs ? false : true" :pagination="initialPagination" @update:pagination="updatePagination" diff --git a/src/components/ToolBar.vue b/src/components/ToolBar.vue index 78e1dcb..1b77c86 100644 --- a/src/components/ToolBar.vue +++ b/src/components/ToolBar.vue @@ -35,7 +35,7 @@ function onClickClose() { { const data = res.data.result.data diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 1d3c81a..f51a920 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -489,6 +489,18 @@ onMounted(async () => { + +
+ +
+
+