text: webpackJsonp([33],{1186:function(t,e,s){"use strict";(function(t){e.__esModule=!0;var a=s(124),r=l(s(709)),o=l(s(687)),i=l(s(231)),n=l(s(686));function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"statistics",data:function(){return{isLoading:!1,queueCount:{},commandCountData:{},color:i.default.color}},props:{},methods:Object.assign({},(0,a.mapActions)("projects",["getQueueCount"]),(0,a.mapActions)("projects",["getCommandStateCount"])),watch:{},created:function(){var e=this;this.isLoading=!0,this.getQueueCount().then(function(t){e.queueCount=t.data,e.isLoading=!1}).catch(function(){e.isLoading=!1}),this.getCommandStateCount().then(function(s){var a=0,r=0;t.forEach(s.data,function(e,s){var o=t.keys(e);"errorCount"==o[0]&&(r+=e.errorCount),"normalCount"==o[1]&&(a+=e.normalCount)}),e.commandCountData={normalCount:a,errorCount:r}}).catch(function(){})},mounted:function(){},components:{mListConstruction:n.default,mSpin:r.default,mNoData:o.default}}}).call(e,s(32))},1351:function(t,e,s){var a=s(1352);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);s(31)("2df331c4",a,!0,{})},1352:function(t,e,s){(t.exports=s(30)(!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%;margin:0 auto;font-size:32px;text-align:center}.servers-wrapper .text-num-model.text{width:100%;height:380px;overflow:hidden;border:1px solid #e8e8e8;margin:0 auto;margin-bottom:16px}.servers-wrapper .text-num-model.text>.title{height:36px;line-height:36px;background:#f9f9f9;border-bottom:1px solid #e8e8e8;padding-left:10px}.servers-wrapper .text-num-model.text>.title span{width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.servers-wrapper .text-num-model .value-p{height:276px;line-height:276px;text-align:center}.servers-wrapper .text-num-model .value-p>b{font-size:100px;color:#333}.servers-wrapper .text-num-model .text-1{width:100%;margin:0 auto;font-size:32px;text-align:center}.servers-wrapper.mysql-model .text-num-model{height:250px}.servers-wrapper.mysql-model .text-num-model .text-1{font-size:18px}.servers-wrapper.mysql-model .text-num-model .value-p{height:150px;line-height:150px}.servers-wrapper.mysql-model .text-num-model .value-p>b{font-size:72px}.servers-wrapper.mysql-model .text-num-model .value-p>.state>i{font-size:50px}.servers-wrapper.mysql-model .text-num-model .value-p>.state .success{color:#3c0}.servers-wrapper.mysql-model .text-num-model .value-p>.state .error{color:red}.servers-wrapper .row-box{width:100%;height:380px;overflow:hidden;border:1px solid #e8e8e8;margin:0 auto;margin-bottom:16px}.servers-wrapper .row-box .row-title{height:36px;line-height:36px;background:#f9f9f9;border-bottom:1px solid #e8e8e8;position:relative}.servers-wrapper .row-box .row-title span{font-size:12px;color:#444}.servers-wrapper .row-box .row-title span.sp{margin-right:10px}.servers-wrapper .row-box .row-title .left{position:absolute;left:10px;top:0}.servers-wrapper .row-box .row-title .right{position:absolute;right:10px;top:0}",""])},1353:function(t,e,s){"use strict";var a={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("m-list-construction",{attrs:{title:t.$t("statistics")+t.$t("Manage")}},[s("template",{slot:"content"},[s("div",{directives:[{name:"show",rawName:"v-show",value:2,expression:"2"}],staticClass:"servers-wrapper mysql-model"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-3"},[s("div",{staticClass:"text-num-model text"},[s("div",{staticClass:"title"},[s("span",[t._v(t._s(t.$t("process number of waiting for running")))])]),t._v(" "),s("div",{staticClass:"value-p"},[s("b",{style:{color:t.color[0]}},[t._v(" "+t._s(t.commandCountData.normalCount))])])])]),t._v(" "),s("div",{staticClass:"col-md-3"},[s("div",{staticClass:"text-num-model text"},[s("div",{staticClass:"title"},[s("span",[t._v(t._s(t.$t("failure command number")))])]),t._v(" "),s("div",{staticClass:"value-p"},[s("b",{style:{color:t.color[1]}},[t._v(" "+t._s(t.commandCountData.errorCount))])])])]),t._v(" "),s("div",{staticClass:"col-md-3"},[s("div",{staticClass:"text-num-model text"},[s("div",{staticClass:"title"},[s("span",[t._v(t._s(t.$t("tasks number of waiting running")))])]),t._v(" "),s("div",{staticClass:"value-p"},[s("b",{style:{color:t.color[0]}},[t._v(" "+t._s(t.queueCount.taskQueue))])])])]),t._v(" "),s("div",{staticClass:"col-md-3"},[s("div",{staticClass:"text-num-model text"},[s("div",{staticClass:"title"},[s("span",[t._v(t._s(t.$t("task number of ready to kill")))])]),t._v(" "),s("div",{staticClass:"value-p"},[s("b",{style:{color:t.color[1]}},[t._v(t._s(t.queueCount.taskKill))])])])])])]),t._v(" "),s("m-spin",{attrs:{"is-spin":t.isLoading}})],1)],2)},staticRenderFns:[]};e.a=a},659:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(1186),r=s.n(a);for(var o in a)"default"!==o&&function(t){s.d(e,t,function(){return a[t]})}(o);var i=s(1353);var n=function(t){s(1351)},l=s(25)(r.a,i.a,!1,n,null,null);e.default=l.exports},667:function(t,e,s){"use strict";e.__esModule=!0,e.default={name:"list-construction",data:function(){return{}},props:{title:String}}},672:function(t,e,s){"use strict";e.__esModule=!0,e.default={name:"spin",data:function(){return{}},props:{isSpin:{type:Boolean,default:!0},isLeft:{type:Boolean,default:!0}}}},673:function(t,e,s){"use strict";e.__esModule=!0,e.default={name:"no-data",props:{msg:String,height:Number}}},686:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(667),r=s.n(a);for(var o in a)"default"!==o&&function(t){s.d(e,t,function(){return a[t]})}(o);var i=s(690);var n=function(t){s(688)},l=s(25)(r.a,i.a,!1,n,null,null);e.default=l.exports},687:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(673),r=s.n(a);for(var o in a)"default"!==o&&function(t){s.d(e,t,function(){return a[t]})}(o);var i=s(716);var n=function(t){s(714)},l=s(25)(r.a,i.a,!1,n,null,null);e.default=l.exports},688:function(t,e,s){var a=s(689);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);s(31)("781d05e4",a,!0,{})},689:function(t,e,s){(t.exports=s(30)(!1)).push([t.i,"",""])},690:function(t,e,s){"use strict";var a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"home-main list-construction-model"},[e("div",{staticClass:"content-title"},[e("span",[this._v(this._s(this.title))])]),this._v(" "),e("div",{staticClass:"conditions-box"},[this._t("conditions")],2),this._v(" "),e("div",{staticClass:"list-box"},[this._t("content")],2)])},staticRenderFns:[]};e.a=a},709:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(672),r=s.n(a);for(var o in a)"default"!==o&&function(t){s.d(e,t,function(){return a[t]})}(o);var i=s(712);var n=function(t){s(710)},l=s(25)(r.a,i.a,!1,n,null,null);e.default=l.exports},710:function(t,e,s){var a=s(711);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);s(31)("84f2d1d2",a,!0,{})},711:function(t,e,s){(t.exports=s(30)(!1)).push([t.i,"#spin-model{position:fixed;left:20px;top:80px;background:#fff;z-index:99;border-radius:3px}#spin-model .svg-box{width:100px;height:66px;position:absolute;left:50%;top:50%;margin-left:-50px;margin-top:-33px;text-align:center}#spin-model .svg-box .sp1{display:block;font-size:12px;color:#999;padding-top:4px}#spin-model.spin-sp1{width:calc(100% - 40px);height:calc(100% - 100px)}#spin-model.spin-sp2{width:calc(100% - 240px);height:calc(100% - 100px);left:220px}",""])},712:function(t,e,s){"use strict";var a={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.isSpin?s("div",{class:t.isLeft?"spin-sp2":"spin-sp1",attrs:{id:"spin-model"}},[s("div",{staticClass:"svg-box"},[s("svg",{staticClass:"lds-gears",staticStyle:{background:"none"},attrs:{width:"54px",height:"54px",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[s("g",{attrs:{transform:"translate(50 50)"}},[s("g",{attrs:{transform:"translate(-19 -19) scale(0.6)"}},[s("g",{attrs:{transform:"rotate(107.866)"}},[s("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0;360",keyTimes:"0;1",dur:"1s",begin:"0s",repeatCount:"indefinite"}}),s("path",{attrs:{d:"M37.3496987939662 -7 L47.3496987939662 -7 L47.3496987939662 7 L37.3496987939662 7 A38 38 0 0 1 31.359972760794346 21.46047782418268 L31.359972760794346 21.46047782418268 L38.431040572659825 28.531545636048154 L28.531545636048154 38.431040572659825 L21.46047782418268 31.359972760794346 A38 38 0 0 1 7.0000000000000036 37.3496987939662 L7.0000000000000036 37.3496987939662 L7.000000000000004 47.3496987939662 L-6.999999999999999 47.3496987939662 L-7 37.3496987939662 A38 38 0 0 1 -21.46047782418268 31.35997276079435 L-21.46047782418268 31.35997276079435 L-28.531545636048154 38.431040572659825 L-38.43104057265982 28.531545636048158 L-31.359972760794346 21.460477824182682 A38 38 0 0 1 -37.3496987939662 7.000000000000007 L-37.3496987939662 7.000000000000007 L-47.3496987939662 7.000000000000008 L-47.3496987939662 -6.9999999999999964 L-37.3496987939662 -6.999999999999997 A38 38 0 0 1 -31.35997276079435 -21.460477824182675 L-31.35997276079435 -21.460477824182675 L-38.431040572659825 -28.531545636048147 L-28.53154563604818 -38.4310405726598 L-21.4604778241827 -31.35997276079433 A38 38 0 0 1 -6.999999999999992 -37.3496987939662 L-6.999999999999992 -37.3496987939662 L-6.999999999999994 -47.3496987939662 L6.999999999999977 -47.3496987939662 L6.999999999999979 -37.3496987939662 A38 38 0 0 1 21.460477824182686 -31.359972760794342 L21.460477824182686 -31.359972760794342 L28.531545636048158 -38.43104057265982 L38.4310405726598 -28.53154563604818 L31.35997276079433 -21.4604778241827 A38 38 0 0 1 37.3496987939662 -6.999999999999995 M0 -23A23 23 0 1 0 0 23 A23 23 0 1 0 0 -23",fill:"#0097e0"}})],1)]),t._v(" "),s("g",{attrs:{transform:"translate(19 19) scale(0.6)"}},[s("g",{attrs:{transform:"rotate(229.634)"}},[s("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"360;0",keyTimes:"0;1",dur:"1s",begin:"-0.0625s",repeatCount:"indefinite"}}),s("path",{attrs:{d:"M37.3496987939662 -7 L47.3496987939662 -7 L47.3496987939662 7 L37.3496987939662 7 A38 38 0 0 1 31.359972760794346 21.46047782418268 L31.359972760794346 21.46047782418268 L38.431040572659825 28.531545636048154 L28.531545636048154 38.431040572659825 L21.46047782418268 31.359972760794346 A38 38 0 0 1 7.0000000000000036 37.3496987939662 L7.0000000000000036 37.3496987939662 L7.000000000000004 47.3496987939662 L-6.999999999999999 47.3496987939662 L-7 37.3496987939662 A38 38 0 0 1 -21.46047782418268 31.35997276079435 L-21.46047782418268 31.35997276079435 L-28.531545636048154 38.431040572659825 L-38.43104057265982 28.531545636048158 L-31.359972760794346 21.460477824182682 A38 38 0 0 1 -37.3496987939662 7.000000000000007 L-37.3496987939662 7.000000000000007 L-47.3496987939662 7.000000000000008 L-47.3496987939662 -6.9999999999999964 L-37.3496987939662 -6.999999999999997 A38 38 0 0 1 -31.35997276079435 -21.460477824182675 L-31.35997276079435 -21.460477824182675 L-38.431040572659825 -28.531545636048147 L-28.53154563604818 -38.4310405726598 L-21.4604778241827 -31.35997276079433 A38 38 0 0 1 -6.999999999999992 -37.3496987939662 L-6.999999999999992 -37.3496987939662 L-6.999999999999994 -47.3496987939662 L6.999999999999977 -47.3496987939662 L6.999999999999979 -37.3496987939662 A38 38 0 0 1 21.460477824182686 -31.359972760794342 L21.460477824182686 -31.359972760794342 L28.531545636048158 -38.43104057265982 L38.4310405726598 -28.53154563604818 L31.35997276079433 -21.4604778241827 A38 38 0 0 1 37.3496987939662 -6.999999999999995 M0 -23A23 23 0 1 0 0 23 A23 23 0 1 0 0 -23",fill:"#7f8b95"}})],1)])])]),t._v(" "),s("span",{staticClass:"sp1"},[t._v(t._s(t.$t("Loading...")))])])]):t._e()},staticRenderFns:[]};e.a=a},714:function(t,e,s){var a=s(715);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);s(31)("3f88706f",a,!0,{})},715:function(t,e,s){(t.exports=s(30)(!1)).push([t.i,".no-data-model{position:relative;width:100%;height:calc(100vh - 200px)}.no-data-model .no-data-box{width:210px;height:210px;position:absolute;left:50%;top:50%;margin-left:-105px;margin-top:-105px;text-align:center}.no-data-model .no-data-box .text{padding-top:10px;color:#666}",""])},716:function(t,e,s){"use strict";var a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-data-model",style:{height:this.height+"px"}},[e("div",{staticClass:"no-data-box"},[this._m(0),this._v(" "),e("div",{staticClass:"text"},[this._v(this._s(this.msg||this.$t("No data")))])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"img"},[e("img",{attrs:{src:s(717),alt:""}})])}]};e.a=a},717:function(t,e,s){t.exports=s.p+"images/errorTip.png?a7b20f0ca8727f22f405c2a34d1363a0"}});
  //# sourceMappingURL=33.7be8b57.js.map