(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-332920e1","chunk-56efee2c"],{"1fc5":function(t,e,i){},"4a12":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"home"},[i("el-row",{staticClass:"card-statistics",attrs:{gutter:20}},t._l(t.statisticsList,(function(e,a){return i("div",{key:a,on:{click:function(i){return t.toPageFun(e)}}},[i("el-col",{attrs:{md:12,xl:6}},[i("div",{staticClass:"card block"},[i("div",{staticClass:"val"},[i("div",{staticClass:"left"},[1==e.id?i("i",{staticClass:"el-icon-s-goods"}):t._e(),3==e.id?i("i",{staticClass:"el-icon-s-marketing"}):t._e(),2==e.id?i("i",{staticClass:"el-icon-s-flag"}):t._e(),4==e.id?i("i",{staticClass:"el-icon-s-custom"}):t._e()]),i("div",{staticClass:"right"},[i("p",[t._v(t._s(e.name))]),i("p",[t._v("￥"+t._s(e.amount))])])])])])],1)})),0)],1)},s=[],n=i("a371"),o={components:{Echart1:n["default"]},data:function(){return{statisticsList:null,crud:{service:this.$service.test,table:{columns:[{type:"index",align:"center",width:100},{label:"名字",prop:"name",align:"center"},{label:"进展",prop:"process",align:"center"},{label:"总量",prop:"price",align:"center"},{label:"销售",prop:"salesRate",align:"center"},{label:"最后期限",prop:"endTime",align:"center"}],op:{hidden:!0},props:{"max-height":"500px"}}}}},mounted:function(){this.init()},methods:{init:function(){var t=this;this.$service.ptAsset.ptAssetApi().then((function(e){t.statisticsList=e.top}))},toPageFun:function(t){this.$router.push({path:"/assets/ptYeChange",query:{type:t.id}})},toDocs:function(){window.open("")},onCrudLoad:function(t){var e=t.ctx,i=t.app;e({service:this.$service.test,table:{columns:[{type:"index",align:"center",width:100},{label:"名字",prop:"name",align:"center"},{label:"进展",prop:"process",align:"center"},{label:"总量",prop:"price",align:"center"},{label:"销售",prop:"salesRate",align:"center"},{label:"最后期限",prop:"endTime",align:"center"}],op:{visible:!1},props:{"max-height":"500px"}},layout:[["data-table"]]}).done(),i.refresh()}}},r=o,l=(i("9289"),i("5d22")),c=Object(l["a"])(r,a,s,!1,null,"53af972a",null);e["default"]=c.exports},"524b":function(t,e,i){},"81ed":function(t,e,i){"use strict";i("1fc5")},9289:function(t,e,i){"use strict";i("524b")},a371:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("e-charts",{attrs:{options:t.options}})},s=[],n=i("6678"),o=i.n(n),r=(i("679c"),{name:"echart",components:{ECharts:o.a},props:{chartData:{type:Object}},data:function(){return{chart:null,options:{}}},watch:{chartData:{deep:!0,handler:function(t){if(!this.chart)return!1;this.initChart()}}},methods:{initChart:function(){if(this.chart=!0,this.$util.isEmpty(this.chartData))return!1;var t=JSON.parse(JSON.stringify(this.chartData)),e=[],i=[];for(var a in t)e.push(a),i.push(t[a]);this.setOptions({nameData:e,numData:i})},setOptions:function(t){this.options={tooltip:{trigger:"axis"},grid:{left:"3%",right:"3%",top:"30",bottom:"0",containLabel:!0},xAxis:[{type:"category",data:t.nameData,axisLine:{lineStyle:{color:"#999"}}}],yAxis:[{type:"value",splitNumber:4,splitLine:{lineStyle:{type:"dashed",color:"#DDD"}},axisLine:{show:!1,lineStyle:{color:"#333"}},nameTextStyle:{color:"#999"},splitArea:{show:!1}}],series:[{name:"统计",type:"line",data:t.numData,lineStyle:{normal:{width:8,color:{type:"linear",colorStops:[{offset:0,color:"#A9F387"},{offset:1,color:"#48D8BF"}],globalCoord:!1},shadowColor:"rgba(72,216,191, 0.3)",shadowBlur:10,shadowOffsetY:20}},itemStyle:{normal:{color:"#fff",borderWidth:10,borderColor:"#A9F387"}},smooth:!0}]}}}}),l=r,c=(i("81ed"),i("5d22")),p=Object(c["a"])(l,a,s,!1,null,"7ed1cbb1",null);e["default"]=p.exports}}]);