| | |
| | | </template> |
| | | </vxe-table-column> |
| | | </vxe-table> |
| | | <a-pagination |
| | | v-bind="ipagination" |
| | | @change="handlePageChange" |
| | | @showSizeChange="handleShowSizeChange" |
| | | /> |
| | | </a-spin> |
| | | </template> |
| | | |
| | |
| | | }, |
| | | showQuickJumper: true, |
| | | showSizeChanger: true, |
| | | total: 0 |
| | | total: 0, |
| | | size: 'small' |
| | | }, |
| | | dataSource: [], |
| | | processParameterList: [], |
| | |
| | | if (currentIndex < this.ipagination.current) { |
| | | this.ipagination.current = currentIndex |
| | | } |
| | | } |
| | | }, |
| | | handlePageChange(current, pageSize){ |
| | | this.$set(this.ipagination, 'current', current) |
| | | this.$emit('change', {current, pageSize}) |
| | | }, |
| | | handleShowSizeChange(current, pageSize){ |
| | | this.$set(this.ipagination, 'pageSize', pageSize) |
| | | this.$emit('change', {current, pageSize}) |
| | | }, |
| | | } |
| | | } |
| | | </script> |