(window.webpackJsonp=window.webpackJsonp||[]).push([[70],{359:function(a,e,t){"use strict";t.r(e),t(21),t(68);var s,n=t(203),i=t.n(n),r=(t(205),t(29),t(206)),l=(t(207),t(208)),c=(t(34),t(225),t(226)),o={props:["value","axis"],components:(s={},i()(s,c.a.name,c.a),i()(s,l.a.name,l.a),i()(s,r.a.name,r.a),s),data:function(){return{parameter:{start:"",end:""}}},computed:{startFn:function(){var a=this;if(this.parameter.end){var e=this.axis.findIndex((function(e){return e.alias===a.parameter.end}));return this.axis.slice(0,e)}return this.axis},endFn:function(){var a=this;if(this.parameter.start){var e=this.axis.findIndex((function(e){return e.alias===a.parameter.start}));return this.axis.slice(e+1)}return this.axis}},methods:{change:function(){this.$emit("input",this.parameter),this.$emit("change",this.parameter)},checkVal:function(){var a=this;this.axis.some((function(e){return e.alias===a.parameter.start}))||(this.parameter.start=""),this.axis.some((function(e){return e.alias===a.parameter.end}))||(this.parameter.end="")}},watch:{value:{handler:function(a){this.parameter=Object.assign({},this.parameter,a)},deep:!0,immediate:!0},axis:{handler:function(){this.checkVal(),this.change()},deep:!0,immediate:!0}}},p=t(88),u=Object(p.a)(o,(function(){var a=this,e=a.$createElement,t=a._self._c||e;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:8,offset:2}},[t("span",[a._v("第一列到")])]),t("el-col",{attrs:{span:14}},[t("el-select",{attrs:{size:"small",clearable:""},on:{change:a.change},model:{value:a.parameter.start,callback:function(e){a.$set(a.parameter,"start",e)},expression:"parameter.start"}},a._l(a.startFn,(function(e){return t("el-option",{key:e.alias,attrs:{label:e.alias,value:e.alias}},[t("div",{staticClass:"text-cut"},[a._v(a._s(e.alias))])])})),1)],1)],1),t("el-row",{staticClass:"option",attrs:{type:"flex",justify:"space-between",size:"small",align:"middle"}},[t("el-col",{attrs:{span:8,offset:2}},[t("span",[a._v("从后往前到")])]),t("el-col",{attrs:{span:14}},[t("el-select",{attrs:{size:"small",clearable:""},on:{change:a.change},model:{value:a.parameter.end,callback:function(e){a.$set(a.parameter,"end",e)},expression:"parameter.end"}},a._l(a.endFn,(function(e){return t("el-option",{key:e.alias,attrs:{label:e.alias,value:e.alias}},[t("div",{staticClass:"text-cut"},[a._v(a._s(e.alias))])])})),1)],1)],1)],1)}),[],!1,null,"3700b63e",null);e.default=u.exports}}]);