分布式调度框架。
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.

2 lines
18 KiB

webpackJsonp([28],{1021:function(t,e,s){"use strict";e.__esModule=!0;var a,r=s(1074),i=(a=r)&&a.__esModule?a:{default:a};e.default={name:"gauge",data:function(){return{}},props:{id:String,name:String,value:Number},methods:{},created:function(){},mounted:function(){echarts.init(document.getElementById(this.id)).setOption((0,i.default)(this.value),!0)},components:{}}},1071:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(1021),r=s.n(a);for(var i in a)"default"!==i&&function(t){s.d(e,t,function(){return a[t]})}(i);var n=s(1075);var o=function(t){s(1072)},l=s(29)(r.a,n.a,!1,o,null,null);e.default=l.exports},1072:function(t,e,s){var a=s(1073);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);s(35)("c78b4d34",a,!0,{})},1073:function(t,e,s){(t.exports=s(34)(!1)).push([t.i,".gauge-model{width:100%;height:360px;overflow:hidden;margin:0 auto}.gauge-model .gauge-echart{width:350px;margin:auto;margin-bottom:-80px}.gauge-model .text-1{width:100%;margin:0 auto;font-size:32px;text-align:center}.gauge-model .value-p{height:254px;line-height:254px;text-align:center}.gauge-model .value-p>b{font-size:100px;color:#333}",""])},1074:function(t,e,s){"use strict";e.__esModule=!0,e.default=function(t){return{series:[{type:"gauge",center:["50%","45%"],radius:"80%",startAngle:200,endAngle:-20,axisLine:{show:!1,lineStyle:{color:[[.5,new echarts.graphic.LinearGradient(0,0,1,0,[{offset:1,color:"#E75F25"},{offset:.8,color:"#D9452C"}],!1)],[.7,new echarts.graphic.LinearGradient(0,0,1,0,[{offset:1,color:"#FFC539"},{offset:.8,color:"#FE951E"},{offset:0,color:"#E75F25"}],!1)],[.9,new echarts.graphic.LinearGradient(0,0,0,1,[{offset:1,color:"#C7DD6B"},{offset:.8,color:"#FEEC49"},{offset:0,color:"#FFC539"}],!1)],[1,new echarts.graphic.LinearGradient(0,0,0,1,[{offset:.2,color:"#1CAD52"},{offset:0,color:"#C7DD6B"}],!1)]],width:10}},splitLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1},pointer:{length:"45%"},detail:{show:!1}},{type:"gauge",center:["50%","45%"],radius:"70%",startAngle:200,endAngle:-20,axisLine:{show:!0,lineStyle:{color:[[.5,"#DA462C"],[.7,"#FF9618"],[.9,"#FFED44"],[1,"#20AE51"]],width:30}},splitLine:{length:30,lineStyle:{width:2}},axisTick:{length:20},axisLabel:{color:"black",distance:5},detail:{formatter:"{score|{value}%}",offsetCenter:[0,"50%"],backgroundColor:"#2D8BF0",height:30,rich:{score:{color:"white",fontFamily:"微软雅黑",fontSize:32}}},data:[{value:t||0,label:{textStyle:{fontSize:12}}}]}]}}},1075:function(t,e,s){"use strict";var a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"gauge-model"},[e("div",{staticClass:"gauge-echart"},[e("div",{staticStyle:{height:"380px"},attrs:{id:this.id}})]),this._v(" "),e("div",{staticClass:"text-1",staticStyle:{"margin-top":"-104px"}},[this._v("\n "+this._s(this.name)+"\n ")])])},staticRenderFns:[]};e.a=a},1147:function(t,e,s){"use strict";e.__esModule=!0;var a=d(s(30)),r=s(123),i=d(s(1071)),n=d(s(889)),o=d(s(701)),l=d(s(696)),c=d(s(230)),p=d(s(697));function d(t){return t&&t.__esModule?t:{default:t}}e.default={name:"servers-worker",data:function(){return{isLoading:!1,workerList:[],color:c.default.color}},props:{},methods:Object.assign({},(0,r.mapActions)("monitor",["getWorkerData"])),watch:{},created:function(){},mounted:function(){var t=this;this.isLoading=!0,this.getWorkerData().then(function(e){t.workerList=a.default.map(e,function(t,e){return a.default.assign(t,{resInfo:JSON.parse(t.resInfo)})}),t.isLoading=!1}).catch(function(){t.isLoading=!0})},components:{mList:n.default,mListConstruction:p.default,mSpin:o.default,mNoData:l.default,mGauge:i.default}}},1294:function(t,e,s){var a=s(1295);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);s(35)("45d4fb88",a,!0,{})},1295:function(t,e,s){(t.exports=s(34)(!1)).push([t.i,".servers-wrapper{padding:16px}.servers-wrapper .gauge-model{width:100%;height:360px;overflow:hidden;margin:0 auto}.servers-wrapper .gauge-model .gauge-echart{width:350px;margin:auto;margin-bottom:-80px}.servers-wrapper .gauge-model .text-1{width:100%;margi
//# sourceMappingURL=28.3e34ffe.js.map