beehole-store-server
Version:
www.bee-hole.com
1 lines • 1.48 kB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cf3a1"],{"638f":function(t,e,o){"use strict";o.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{ref:"portaletDiv"},[e("a-card",{attrs:{bordered:!1}},[e("div",{ref:"commandstats",staticStyle:{height:"380px"}})])],1)},n=[],a=o("313e"),r={name:"Cache",data:function(){return{commandstats:null}},filters:{},created:function(){},mounted:function(){var t=this;this.getFirstChart(),window.addEventListener("resize",(function(){t.commandstats.resize()})),this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},computed:{},watch:{},methods:{getFirstChart:function(){this.commandstats=a["b"](this.$refs.commandstats,"macarons"),this.commandstats.setOption({title:{text:"当天订单金额占比图",textStyle:{fontSize:16,fontWeight:"600",color:"#333"},left:8,top:8},tooltip:{show:!0,trigger:"item"},color:["#4782DA","#FF9800"],legend:{bottom:"1%",left:"center",orient:"horizontal"},series:[{name:"订单金额",type:"pie",radius:["60%","70%"],center:["50%","50%"],avoidLabelOverlap:!1,label:{show:!0,fontSize:"16",position:"center",formatter:" {c} \r\n \r\n {b} ",borderWidth:4},itemStyle:{borderRadius:4,borderColor:"#fff",borderWidth:4},emphasis:{label:{show:!0,fontSize:"20",fontWeight:"bold"}},labelLine:{show:!1},data:[{value:1048,name:"付款订单金额"},{value:735,name:"未付款订单金额"}]}]})}}},s=r,l=o("2877"),d=Object(l["a"])(s,i,n,!1,null,null,null);e["default"]=d.exports}}]);