เพิ่ม pagination
This commit is contained in:
parent
7481826705
commit
a5bd793580
1 changed files with 12 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
>
|
||||
<q-tooltip>เพิ่มข้อมูล</q-tooltip>
|
||||
</q-btn>
|
||||
<!-- การ์ดเพิ่มหน่วยงาน-->
|
||||
<!-- การ์ดเพิ่มข้อมูล-->
|
||||
<q-form ref="myForm"> </q-form>
|
||||
<q-space />
|
||||
<div class="items-center" style="display: flex">
|
||||
|
|
@ -111,6 +111,17 @@
|
|||
</div>
|
||||
</q-td>
|
||||
</template>
|
||||
<template v-slot:pagination="scope">
|
||||
<q-pagination
|
||||
v-model="pagination.page"
|
||||
color="primary"
|
||||
:max="scope.pagesNumber"
|
||||
:max-pages="5"
|
||||
size="sm"
|
||||
boundary-links
|
||||
direction-links
|
||||
></q-pagination>
|
||||
</template>
|
||||
</q-table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue