(window.webpackJsonp=window.webpackJsonp||[]).push([[71],{354:function(e,a,t){"use strict";t.r(a),t(21);var s,n=t(203),i=t.n(n),l=(t(224),t(29),t(223)),c=(t(205),t(206)),o=(t(207),t(208)),r=(t(34),t(225),t(226)),p={props:["value","config"],components:(s={},i()(s,r.a.name,r.a),i()(s,o.a.name,o.a),i()(s,c.a.name,c.a),i()(s,l.a.name,l.a),s),data:function(){return{parameter:{sizes:!0,total:!0,page:!0},size:20,options:[10,20,30,50]}},methods:{change:function(){this.$emit("input",this.parameter),this.$emit("change",this.parameter)},changeSize:function(){this.$emit("setConfig","data.pageSize",this.size)}},watch:{value:{handler:function(e){this.parameter=Object.assign({},this.parameter,e)},deep:!0,immediate:!0},"config.data":{handler:function(e){this.size=20,e.pageSize&&(this.size=e.pageSize)},deep:!0,immediate:!0}}},m=t(88),h=Object(m.a)(p,(function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("el-collapse-item",{attrs:{title:"分页设置"}},[t("el-row",{staticClass:"option",attrs:{type:"flex",justify:"space-between",align:"middle"}},[t("el-col",{attrs:{span:10}},[t("span",[e._v("每页条数")])]),t("el-col",{attrs:{span:12}},[t("el-select",{staticStyle:{width:"calc(100% - 8px)"},attrs:{size:"small"},on:{change:e.changeSize},model:{value:e.size,callback:function(a){e.size=a},expression:"size"}},e._l(e.options,(function(e){return t("el-option",{key:e,attrs:{label:e,value:e}})})),1)],1),t("el-checkbox",{attrs:{size:"small"},on:{change:e.change},model:{value:e.parameter.sizes,callback:function(a){e.$set(e.parameter,"sizes",a)},expression:"parameter.sizes"}},[t("span")])],1),t("el-row",{staticClass:"option",attrs:{type:"flex",justify:"space-between",align:"middle"}},[t("span",[e._v("显示总行数")]),t("el-checkbox",{attrs:{size:"small"},on:{change:e.change},model:{value:e.parameter.total,callback:function(a){e.$set(e.parameter,"total",a)},expression:"parameter.total"}},[t("span")])],1),t("el-row",{staticClass:"option",attrs:{type:"flex",justify:"space-between",align:"middle"}},[t("span",[e._v("显示总页数")]),t("el-checkbox",{attrs:{size:"small"},on:{change:e.change},model:{value:e.parameter.page,callback:function(a){e.$set(e.parameter,"page",a)},expression:"parameter.page"}},[t("span")])],1)],1)}),[],!1,null,"5004f468",null);a.default=h.exports}}]);