(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f0444"],{"9c48":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-pagination",e._b({staticClass:"ibps-pagination",attrs:{"current-page":e.currentPage,"page-size":e.pageSize,"page-count":e.pageCount,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"size-change":e.handlePaginationSizeChange,"current-change":e.handlePaginationCurrentChange,"prev-click":e.handlePaginationPrevClick,"next-click":e.handlePaginationNextClick}},"el-pagination",e.paginationOptions,!1),[e.refreshable?a("i",{staticClass:"el-icon-refresh-right el-pagination__refresh",on:{click:e.handleRefresh}}):e._e()])},i=[],g=a("ade3"),r={props:{paginationOptions:{type:Object,default:function(){return{pagerCount:5,pageSizes:[10,20,50,100],layout:"total, prev, pager, next, sizes, jumper, slot"}}},totalKey:{type:String,default:"totalCount"},pageKey:{type:String,default:"page"},pageSizeKey:{type:String,default:"limit"},pageCountKey:{type:String,default:"totalPages"},pagination:{type:Object,default:function(){return{}}},refreshable:{type:Boolean,default:!0}},computed:{currentPage:{get:function(){return this.pagination[this.pageKey]||1},set:function(e){this.handlePaginationCurrentChange(e)}},pageSize:function(){return this.pagination[this.pageSizeKey]||20},pageCount:function(){return this.pagination[this.pageCountKey]},total:function(){return this.pagination[this.totalKey]}},methods:{handlePaginationSizeChange:function(e){var t;this.handlePaginationChange((t={},Object(g["a"])(t,this.pageSizeKey,e),Object(g["a"])(t,this.pageKey,1),t))},handlePaginationCurrentChange:function(e){var t;this.handlePaginationChange((t={},Object(g["a"])(t,this.pageSizeKey,this.pageSize),Object(g["a"])(t,this.pageKey,e),t))},handlePaginationPrevClick:function(e){var t;this.handlePaginationChange((t={},Object(g["a"])(t,this.pageSizeKey,this.pageSize),Object(g["a"])(t,this.pageKey,e),t))},handlePaginationNextClick:function(e){var t;this.handlePaginationChange((t={},Object(g["a"])(t,this.pageSizeKey,this.pageSize),Object(g["a"])(t,this.pageKey,e),t))},handlePaginationChange:function(e){var t,a=e[this.pageSizeKey],n=e[this.pageKey];a===this.pageSize&&n===this.currentPage||this.$emit("change",(t={},Object(g["a"])(t,this.pageSizeKey,a||this.pageSize),Object(g["a"])(t,this.pageKey,n||this.currentPage),t))},handleRefresh:function(e){this.$emit("refresh",e)}}},h=r,o=a("2877"),p=Object(o["a"])(h,n,i,!1,null,null,null);t["default"]=p.exports}}]);