(window.webpackJsonp=window.webpackJsonp||[]).push([[114],{567:function(e,t,a){},917:function(e,t,a){"use strict";var s=a(567);a.n(s).a},926:function(e,t,a){"use strict";a.r(t);var s,i=a(203),l=a.n(i),n=(a(224),a(29),a(223)),r=(a(205),a(206)),p=(a(34),a(207),a(208)),o={props:["params","time"],components:(s={},l()(s,p.a.name,p.a),l()(s,r.a.name,r.a),l()(s,n.a.name,n.a),s),data:function(){return{allOp:{0:{value:1,name:"年"},1:{value:12,name:"月"},2:{value:30,name:"日"},3:{value:24,name:"小时"},4:{value:60,name:"分"},5:{value:60,name:"秒"},6:{value:1e3,name:"毫秒"}},unitOps:[3,4,5,6],adUnitOps:[0,1,2,3,4,5]}},methods:{resetStep:function(){if(this.time.step=[],this.time.unit=this.allOp[this.time.per].name,"number"==typeof this.time.base&&"number"==typeof this.time.per&&this.time.base!==this.time.per)for(var e=Math.min(this.time.base,this.time.per)+1,t=Math.max(this.time.base,this.time.per);e<=t;e++)this.time.step.push(this.allOp[e].value)}}},u=(a(917),a(88)),m=Object(u.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-row",{attrs:{type:"flex",justify:"center",align:"top"}},[a("div",{staticClass:"title"},[e._v("原始单位")]),a("el-select",{staticClass:"input-w",attrs:{size:"small",placeholder:"请选择"},on:{change:e.resetStep},model:{value:e.time.base,callback:function(t){e.$set(e.time,"base",t)},expression:"time.base"}},e._l(e.unitOps,(function(t){return a("el-option",{key:t,attrs:{value:t,label:e.allOp[t].name}})})),1)],1),a("el-row",{attrs:{type:"flex",justify:"center",align:"top"}},[a("div",{staticClass:"title"},[e._v("目标单位")]),a("el-select",{staticClass:"input-w",attrs:{size:"small",placeholder:"请选择"},on:{change:e.resetStep},model:{value:e.time.per,callback:function(t){e.$set(e.time,"per",t)},expression:"time.per"}},e._l(e.adUnitOps,(function(t){return a("el-option",{key:t,attrs:{value:t,label:e.allOp[t].name}})})),1)],1),a("el-row",{attrs:{type:"flex",justify:"center",align:"top"}},[a("div",{staticClass:"title"},[e._v("小数位数")]),a("el-select",{staticClass:"input-w",attrs:{size:"small",placeholder:"请选择"},model:{value:e.params.precision,callback:function(t){e.$set(e.params,"precision",t)},expression:"params.precision"}},e._l(6,(function(e){return a("el-option",{key:e,attrs:{value:e}})})),1)],1),a("el-row",{attrs:{type:"flex",justify:"center",align:"top"}},[a("el-checkbox",{attrs:{size:"small"},model:{value:e.params.thousands,callback:function(t){e.$set(e.params,"thousands",t)},expression:"params.thousands"}},[e._v("千分符")])],1)],1)}),[],!1,null,"0d7ef6dd",null);t.default=m.exports}}]);