(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a6e677a","chunk-aeac82ac"],{"4a12":function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"home"},[s("el-row",{staticClass:"card-statistics",attrs:{gutter:20}},[s("el-col",{attrs:{md:12,xl:6}},[s("div",{staticClass:"card block"},[s("div",{staticClass:"val"},[s("div",{staticClass:"left"},[s("i",{staticClass:"el-icon-s-goods"})]),s("div",{staticClass:"right"},[s("p",[t._v("总收入")]),s("p",[t._v("￥15,650")])])]),s("div",{staticClass:"desc"},[s("i",{staticClass:"el-icon-warning"}),s("span",[t._v("25% lower growth")])])])]),s("el-col",{attrs:{md:12,xl:6}},[s("div",{staticClass:"card block"},[s("div",{staticClass:"val"},[s("div",{staticClass:"left"},[s("i",{staticClass:"el-icon-s-flag"})]),s("div",{staticClass:"right"},[s("p",[t._v("订单")]),s("p",[t._v("1822")])])]),s("div",{staticClass:"desc"},[s("i",{staticClass:"el-icon-warning"}),s("span",[t._v("Product-wise sales")])])])]),s("el-col",{attrs:{md:12,xl:6}},[s("div",{staticClass:"card block"},[s("div",{staticClass:"val"},[s("div",{staticClass:"left"},[s("i",{staticClass:"el-icon-s-marketing"})]),s("div",{staticClass:"right"},[s("p",[t._v("销售")]),s("p",[t._v("312")])])]),s("div",{staticClass:"desc"},[s("i",{staticClass:"el-icon-warning"}),s("span",[t._v("Weekly Sales")])])])]),s("el-col",{attrs:{md:12,xl:6}},[s("div",{staticClass:"card block"},[s("div",{staticClass:"val"},[s("div",{staticClass:"left"},[s("i",{staticClass:"el-icon-s-custom"})]),s("div",{staticClass:"right"},[s("p",[t._v("用户")]),s("p",[t._v("2246")])])]),s("div",{staticClass:"desc"},[s("i",{staticClass:"el-icon-warning"}),s("span",[t._v("Product-wise sales")])])])])],1),s("div",{staticClass:"card card-visitor"},[s("p",{staticClass:"card-title"},[t._v("用户访客")]),s("div",{staticClass:"card-body"},[s("echart1")],1)])],1)},i=[],l=s("a371"),c={components:{Echart1:l["default"]},data:function(){return{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"}},layout:[["data-table"]]}}},methods:{toDocs:function(){window.open("https://docs.cool-admin.com/#/")},onCrudLoad:function(t){var a=t.ctx,s=t.app;a({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(),s.refresh()}}},n=c,r=(s("a1bd"),s("5511")),o=Object(r["a"])(n,e,i,!1,null,"109c5d97",null);a["default"]=o.exports},"94f3":function(t,a,s){"use strict";var e=s("b304"),i=s.n(e);i.a},a1bd:function(t,a,s){"use strict";var e=s("b034"),i=s.n(e);i.a},a371:function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("e-charts",{attrs:{options:t.options}})},i=[],l=s("6678"),c=s.n(l),n=(s("1564"),{name:"echart",components:{ECharts:c.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)),a=[],s=[];for(var e in t)a.push(e),s.push(t[e]);this.setOptions({nameData:a,numData:s})},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}]}}}}),r=n,o=(s("94f3"),s("5511")),d=Object(o["a"])(r,e,i,!1,null,"4a4ca683",null);a["default"]=d.exports},b034:function(t,a,s){},b304:function(t,a,s){}}]);