chunk-951e6e0c.450c5c98.js 1.3 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-951e6e0c"],{"273e":function(t,e,s){},c63e:function(t,e,s){"use strict";s.r(e);var o=function(){var t=this,e=t._self._c;return e("vue-ellipse-progress",t._b({attrs:{progress:t.progress}},"vue-ellipse-progress",t.options,!1),[e("span",{attrs:{slot:"legend-value"},slot:"legend-value"},[e("span",{staticClass:"base"},[t._v(" / ")]),e("span",{staticClass:"base"},[t._v(" "+t._s(t.total||0)+" ")])]),e("div",{attrs:{slot:"legend-caption"},slot:"legend-caption"},[e("p",{staticClass:"title"},[t._v("故障解除次数")])])])},n=[],r={name:"CirclrProgress",props:{size:{type:Number,default:0},ok:{type:[Number,String],default:0},total:{type:[Number,String],default:"-"}},data:function(){return{}},computed:{progress:function(){var t=0;return this.total&&this.total>0&&(t=Math.floor(100*this.ok/this.total)),t},options:function(){var t=Math.floor(this.size/4);return{loading:"-"==this.total,color:"#00DBF7","empty-color":"#47646B",size:3.2*this.size,thickness:t,"empty-thickness":t,"line-mode":"out-over 0",animation:"reverse 300 0","font-size":"0.6rem","font-color":"white","legend-value":this.ok}}},mounted:function(){},methods:{}},i=r,a=(s("e4a3"),s("2877")),l=Object(a["a"])(i,o,n,!1,null,"1820cf68",null);e["default"]=l.exports},e4a3:function(t,e,s){"use strict";s("273e")}}]);