You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3 lines
11 KiB
3 lines
11 KiB
3 weeks ago
|
webpackJsonp([3],{AGA6:function(t,e){},BtfW:function(t,e){},M5a0:function(t,e){},oqMl:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("Xxa5"),i=s.n(a),l=s("exGp"),r=s.n(l),o=s("Cz8s"),n={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"box zd-col-10 mgr8"},[s("div",{staticClass:"relative wraper_2 wraper_3"},[s("div",{staticClass:"absolute bg_j bg_j_1"}),t._v(" "),s("div",{staticClass:"absolute bg_j bg_j_2"}),t._v(" "),s("div",{staticClass:"absolute bg_j bg_j_3"}),t._v(" "),s("div",{staticClass:"absolute bg_j bg_j_4"}),t._v(" "),s("p",{staticClass:"title"},[t._v("实时库存分析")]),t._v(" "),s("div",{staticClass:"zd-row wraper_4"},[s("div",{staticClass:"box zd-col-8 mgr8"},[s("div",{ref:"echartsRef1",staticStyle:{width:"100%",height:"100%"}})]),t._v(" "),s("div",{staticClass:"box zd-col-16 zd-row flexwrap jcflexstart aligncenter flexstart"},t._l(t.weobj.ivtAnalyse.data,function(e,a){return s("div",{key:a,staticClass:"zd-col-12 zd-row flexstart pie_item_wrap"},[s("div",{staticClass:"zd-col-3 pie_legend_icon",style:{backgroundColor:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"][a]}}),t._v(" "),s("div",{staticClass:"zd-col-21"},[s("p",{staticClass:"pie_legend_txt_1"},[t._v(t._s(e.material_name))]),t._v(" "),s("div",{staticClass:"zd-row jcflexstart"},[s("p",{staticClass:"pie_legend_txt_2"},[t._v(t._s(e.ivt_qty))]),t._v(" "),s("p",{staticClass:"pie_legend_txt_3"},[t._v(t._s(e.percentage))])])])])}))])])])},staticRenderFns:[]};var c=s("VU/8")({name:"SecTwo",data:function(){return{myChart1:null}},props:{weobj:{}},mounted:function(){this.myChart1=this.$echarts.init(this.$refs.echartsRef1),this.setEchart1(this.weobj)},destroyed:function(){null!==this.myChart1&&(this.myChart1.dispose(),this.myChart1=null)},methods:{setEchart1:function(t){var e=["rgba(15, 45, 115, .1)","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],s=["#1980EA","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)","rgba(15, 45, 115, .1)"],a=t.ivtAnalyse.data;a.map(function(t){t.value=t.ivt_qty,t.name=t.material_name});var i={color:["#1980EA","#67D470","#B4C9EF","#BCBF5C","#EF5252","#6d5edd","#bf41bb","#f65621","#21f6eb","#64b0ad"],grid:{top:0,left:0,right:0,bottom:0,containLabel:!0},title:{left:"50%",top:"50%",text:"{a|总数}\n{b|"+t.ivtAnalyse.total_qty+"}",textAlign:"center",textVerticalAlign:"middle",padding:0,textStyle:{rich:{a:{fontSize:12,lineHeight:18,color:"#A8C3E6"},b:{fontSize:17,lineHeight:17,fontWeight:"bold",color:"#DBE7F6"}}}},series:[{name:"内层实心圆",type:"pie",hoverOffset:0,radius:"58%",center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#2C4E6E",borderWidth:6,color:"#132942"},data:[{value:0}]},{name:"外层空心圆",type:"pie",hoverOffset:0,radius:["97%","97%"],center:["50%","50%"],startAngle:270,label:{show:!1},itemStyle:{borderColor:"#4677B8",borderWidth:1},data:[{value:0}]},{name:"设备运行统计内圈",type:"pie",radius:["70%","80%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(t){return e[t.dataIndex]}},label:{show:!1},data:a},{name:"设备运行统计外圈",type:"pie",radius:["80%","90%"],center:["50%","50%"],startAngle:270,labelLine:{show:!1},tooltip:{show:!1},itemStyle:{borderColor:"rgba(15, 45, 115, .1)",borderWidth:1,color:function(t){return s[t.dataIndex]}},label:{show:!1},data:a}]};this.myChart1.setOption(i,!0)}}},n,!1,function(t){s("M5a0")},"data-v-18d3d0cd",null).exports,d={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"box zd-col-7"},[e("div",{staticClass:"relative wraper_2 wraper_3"},[e("div",{staticClass:"absolute bg_j bg_j_1"}),this._v(" "),e("div",{staticClass:"absolute bg_j bg_j_2"}),this._v(" "),e("div",{staticClass
|
||
|
//# sourceMappingURL=3.814b882c67752c331ed3.js.map
|