(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7e06598d"],{"295f":function(e,n,t){"use strict";t("fe19")},"399f":function(e,n,t){"use strict";t.r(n);var i=t("994a"),a=t("d2b8"),l={name:"comp-table-report",mixins:[{data:function(){return{paginationHidden:!1}},created:function(){var e=this;i.a.$vm.$on(i.a.$sel.window_resize,(function(){e.paginationHidden=document.documentElement.clientHeight<=a.a})),this.$on("hook:destroyed",(function(){i.a.$vm.$off(i.a.$sel.window_resize)}))}}],props:{props:Array,data:Array,paging:{type:Object,default:function(){return{page:1,size:10,total:100}}},selection:Array,indexes:String,hiddenPaging:Boolean},data:function(){return{pagination:{layout:"total, ->, prev, pager, next, sizes, jumper"}}},methods:{headerStyle:function(){return"tableStyle"},paginationStyle:function(){return"paginationStyle"},currentChanged:function(e){this.pagination.currentPage=e,this._paginationChanged()},sizeChanged:function(e){this.pagination.pageSize=e,this._paginationChanged()},_paginationChanged:function(){this.$emit("paginationChanged",{page:this.pagination.currentPage,size:this.pagination.pageSize})},handleSelectionChange:function(e){this.$emit("update:selection",e)}},filters:{},computed:{},watch:{},created:function(){this.pagination.currentPage=this.paging.page,this.pagination.pageSize=this.paging.size},mounted:function(){}},o=(t("77a6"),t("295f"),t("2877")),r=Object(o.a)(l,(function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"comp"},[t("div",{staticClass:"comp-table"},[t("el-table",{attrs:{data:e.data,"header-cell-class-name":"tableStyle","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange}},[e.selection?t("el-table-column",{attrs:{type:"selection",align:"center",width:"80",fixed:""}}):e._e(),e.indexes?t("el-table-column",{attrs:{type:"index",label:e.indexes,align:"center",width:"80",fixed:""}}):e._e(),e._l(e.props,(function(n){return n.slot?t("el-table-column",{key:n.field,attrs:{label:n.header,align:n.align,"min-width":n.minw,fixed:n.fixed},scopedSlots:e._u([{key:"default",fn:function(t){return[e._t(n.slot,null,{scope:{row:t.row,col:n}})]}}],null,!0)}):n.merge?t("el-table-column",{attrs:{label:n.header,align:n.align,fixed:n.fixed}},e._l(n.merge,(function(n){return n.slot?t("el-table-column",{key:n.field,attrs:{label:n.header,align:n.align,"min-width":n.minw},scopedSlots:e._u([{key:"default",fn:function(t){return[e._t(n.slot,null,{scope:{row:t.row,col:n}})]}}],null,!0)}):t("el-table-column",{key:n.field,attrs:{prop:n.field,label:n.header,align:n.align,"min-width":n.minw}})})),1):t("el-table-column",{key:n.field,attrs:{prop:n.field,label:n.header,align:n.align,"min-width":n.minw,fixed:n.fixed}})}))],2)],1),t("div",{directives:[{name:"show",rawName:"v-show",value:!e.hiddenPaging&&!e.paginationHidden,expression:"!hiddenPaging && !paginationHidden"}],staticClass:"comp-pagination"},[t("el-pagination",{attrs:{total:e.paging.total,layout:e.pagination.layout,"current-page":e.pagination.currentPage,"page-size":e.pagination.pageSize,"popper-class":"paginationStyle"},on:{"current-change":e.currentChanged,"size-change":e.sizeChanged}})],1)])}),[],!1,null,"5c7cd7f8",null);n.default=r.exports},"77a6":function(e,n,t){"use strict";t("914b")},"914b":function(e,n,t){},fe19:function(e,n,t){e.exports={colorTheme:"#3170f5"}}}]);