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

webpackJsonp([21,22],{1022:function(t,e,a){var s=a(1023);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a(35)("0c3edb06",s,!0,{})},1023:function(t,e,a){(t.exports=a(34)(!1)).push([t.i,".perject-home-content{padding:10px 20px;position:relative}.perject-home-content .time-model{position:absolute;right:8px;top:-40px}.perject-home-content .time-model .ans-input>input{width:344px}.perject-home-content .chart-title{text-align:center;height:60px;line-height:60px}.perject-home-content .chart-title span{font-size:22px;color:#333;font-weight:700}.table-small-model .ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}",""])},1024:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(927),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(1025),o=a(29)(n.a,r.a,!1,null,null,null);e.default=o.exports},1025:function(t,e,a){"use strict";var s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"define-user-count-model"},[t.msg?t._e():a("div",[a("div",{directives:[{name:"spin",rawName:"v-spin",value:t.isSpin,expression:"isSpin"}],staticClass:"data-area"},[a("div",{staticStyle:{height:"500px"},attrs:{id:"process-definition-bar"}})])]),t._v(" "),t.msg?a("div",[t.msg?a("m-no-data",{attrs:{msg:t.msg,height:530}}):t._e()],1):t._e()])},staticRenderFns:[]};e.a=s},1026:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(928),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(1027),o=a(29)(n.a,r.a,!1,null,null,null);e.default=o.exports},1027:function(t,e,a){"use strict";var s={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"command-state-count-model"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!this.msg,expression:"!msg"}]},[e("div",{directives:[{name:"spin",rawName:"v-spin",value:this.isSpin,expression:"isSpin"}],staticClass:"data-area"},[e("div",{staticStyle:{height:"500px"},attrs:{id:"command-state-bar"}})])]),this._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:this.msg,expression:"msg"}]},[this.msg?e("m-no-data",{attrs:{msg:this.msg,height:530}}):this._e()],1)])},staticRenderFns:[]};e.a=s},1028:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(929),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(1031);var o=function(t){a(1029)},c=a(29)(n.a,r.a,!1,o,null,null);e.default=c.exports},1029:function(t,e,a){var s=a(1030);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a(35)("3c3934a4",s,!0,{})},1030:function(t,e,a){(t.exports=a(34)(!1)).push([t.i,"",""])},1031:function(t,e,a){"use strict";var s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"task-ctatus-count-model"},[a("div",{directives:[{name:"show",rawName:"v-show",value:!t.msg,expression:"!msg"}]},[a("div",{directives:[{name:"spin",rawName:"v-spin",value:t.isSpin,expression:"isSpin"}],staticClass:"data-area",staticStyle:{height:"430px"}},[t._m(0),t._v(" "),a("div",{staticClass:"col-md-5"},[a("div",{staticClass:"table-small-model"},[a("table",[a("tr",[a("th",{attrs:{width:"40"}},[t._v(t._s(t.$t("#")))]),t._v(" "),a("th",[t._v(t._s(t.$t("Number")))]),t._v(" "),a("th",[t._v(t._s(t.$t("State")))])]),t._v(" "),t._l(t.taskCtatusList,function(e,s){return a("tr",[a("td",[a("span",[t._v(t._s(s+1))])]),t._v(" "),a("td",[a("span",[a("a",{class:t.id?"links":"",attrs:{href:"javascript:"},on:{click:function(a){t.id&&t._goTask(e.key)}}},[t._v(t._s(e.value))])])]),t._v(" "),a("td",[a("span",{staticClass:"ellipsis",staticStyle:{width:"98%"},attrs:{title:e.key}},[t._v(t._s(e.key))])])])})],2)])])])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.msg,expression:"msg"}]},[t.msg?a("m-no-data",{attrs:{msg:t.msg,height:430}}):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-7"},[e("div",{staticStyle:{height:"260px","margin-top":"100px"},attrs:{id:"task-status-pie"}})])}]};e.a=s},1032:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(930),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(1035);var o=function(t){a(1033)},c=a(29)(n.a,r.a,!1,o,null,null);e.default=c.exports},1033:function(t,e,a){var s=a(1034);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a(35)("75c9b478",s,!0,{})},1034:function(t,e,a){(t.exports=a(34)(!1)).push([t.i,"",""])},1035:function(t,e,a){"use strict";var s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"process-state-count-model"},[a("div",{directives:[{name:"show",rawName:"v-show",value:!t.msg,expression:"!msg"}]},[a("div",{directives:[{name:"spin",rawName:"v-spin",value:t.isSpin,expression:"isSpin"}],staticClass:"data-area",staticStyle:{height:"430px"}},[t._m(0),t._v(" "),a("div",{staticClass:"col-md-5"},[a("div",{staticClass:"table-small-model"},[a("table",[a("tr",[a("th",{attrs:{width:"40"}},[t._v(t._s(t.$t("#")))]),t._v(" "),a("th",[t._v(t._s(t.$t("Number")))]),t._v(" "),a("th",[t._v(t._s(t.$t("State")))])]),t._v(" "),t._l(t.processStateList,function(e,s){return a("tr",[a("td",[a("span",[t._v(t._s(s+1))])]),t._v(" "),a("td",[a("span",[a("a",{class:t.id?"links":"",attrs:{href:"javascript:"},on:{click:function(a){t.id&&t._goProcess(e.key)}}},[t._v(t._s(e.value))])])]),t._v(" "),a("td",[a("span",{staticClass:"ellipsis",staticStyle:{width:"98%"},attrs:{title:e.key}},[t._v(t._s(e.key))])])])})],2)])])])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.msg,expression:"msg"}]},[t.msg?a("m-no-data",{attrs:{msg:t.msg,height:430}}):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-7"},[e("div",{staticStyle:{height:"260px","margin-top":"100px"},attrs:{id:"process-state-pie"}})])}]};e.a=s},1036:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(931),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(1037),o=a(29)(n.a,r.a,!1,null,null,null);e.default=o.exports},1037:function(t,e,a){"use strict";var s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"queue-count-model"},[a("div",{directives:[{name:"show",rawName:"v-show",value:!t.msg,expression:"!msg"}]},[a("div",{directives:[{name:"spin",rawName:"v-spin",value:t.isSpin,expression:"isSpin"}],staticClass:"data-area",staticStyle:{height:"430px"}},[t._m(0),t._v(" "),a("div",{staticClass:"col-md-5"},[a("div",{staticClass:"table-small-model"},[a("table",[a("tr",[a("th",{attrs:{width:"40"}},[t._v(t._s(t.$t("#")))]),t._v(" "),a("th",[t._v(t._s(t.$t("Number")))]),t._v(" "),a("th",[t._v(t._s(t.$t("State")))])]),t._v(" "),t._l(t.queueList,function(e,s){return a("tr",[a("td",[a("span",[t._v(t._s(s+1))])]),t._v(" "),a("td",[a("span",[a("a",{attrs:{href:"javascript:"}},[t._v(t._s(e.value))])])]),t._v(" "),a("td",[a("span",{staticClass:"ellipsis",staticStyle:{width:"98%"},attrs:{title:e.key}},[t._v(t._s(e.key))])])])})],2)])])])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.msg,expression:"msg"}]},[t.msg?a("m-no-data",{attrs:{msg:t.msg,height:430}}):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-7"},[e("div",{staticStyle:{height:"260px","margin-top":"100px"},attrs:{id:"queue-pie"}})])}]};e.a=s},1038:function(t,e,a){"use strict";var s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("m-list-construction",{attrs:{title:t.$t("Project Home")}},[a("template",{slot:"content"},[a("div",{staticClass:"perject-home-content"},[a("div",{directives:[{name:"show",rawName:"v-show",value:0!==t.searchParams.projectId,expression:"searchParams.projectId !== 0"}],staticClass:"time-model"},[a("x-datepicker",{attrs:{"panel-num":2,placement:"bottom-end",value:[t.searchParams.startDate,t.searchParams.endDate],type:"daterange",placeholder:t.$t("Select date range"),format:"YYYY-MM-DD HH:mm:ss"},on:{"on-change":t._datepicker}})],1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-6"},[a("div",{staticClass:"chart-title"},[a("span",[t._v(t._s(t.$t("Task status statistics")))])]),t._v(" "),a("div",{staticClass:"row"},[a("m-task-ctatus-count",{attrs:{"search-params":t.searchParams}})],1)]),t._v(" "),a("div",{staticClass:"col-md-6"},[a("div",{staticClass:"chart-title"},[a("span",[t._v(t._s(t.$t("Process Status Statistics")))])]),t._v(" "),a("div",{staticClass:"row"},[a("m-process-state-count",{attrs:{"search-params":t.searchParams}})],1)])]),t._v(" "),a("div",{staticClass:"row",staticStyle:{"padding-top":"20px"}},[a("div",{staticClass:"col-md-6"}),t._v(" "),a("div",{staticClass:"col-md-6"},[a("div",{staticClass:"chart-title"},[a("span",[t._v(t._s(t.$t("Queue statistics")))])]),t._v(" "),a("div",{staticClass:"row"},[a("m-queue-count",{attrs:{"search-params":t.searchParams}})],1)])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12"},[a("div",{staticClass:"chart-title",staticStyle:{"margin-bottom":"20px","margin-top":"30px"}},[a("span",[t._v(t._s(t.$t("Command status statistics")))])]),t._v(" "),a("div",[a("m-command-state-count",{attrs:{"search-params":t.searchParams}})],1)])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12"},[a("div",{staticClass:"chart-title",staticStyle:{"margin-bottom":"-20px","margin-top":"30px"}},[a("span",[t._v(t._s(t.$t("Process Definition Statistics")))])]),t._v(" "),a("div",[a("m-define-user-count",{attrs:{"project-id":t.searchParams.projectId}})],1)])])])])],2)},staticRenderFns:[]};e.a=s},1076:function(t,e,a){"use strict";e.__esModule=!0;var s=i(a(606)),n=i(a(697));function i(t){return t&&t.__esModule?t:{default:t}}e.default={name:"home",components:{mProjectHome:s.default,mListConstruction:n.default}}},1153:function(t,e,a){"use strict";var s={render:function(){var t=this.$createElement;return(this._self._c||t)("m-project-home",{attrs:{id:0}})},staticRenderFns:[]};e.a=s},606:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(926),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(1038);var o=function(t){a(1022)},c=a(29)(n.a,r.a,!1,o,null,null);e.default=c.exports},610:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(1076),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(1153),o=a(29)(n.a,r.a,!1,null,null,null);e.default=o.exports},663:function(t,e,a){"use strict";e.__esModule=!0,e.default={name:"list-construction",data:function(){return{}},props:{title:String}}},665:function(t,e,a){"use strict";e.__esModule=!0,e.default={name:"no-data",props:{msg:String,height:Number}}},696:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(665),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(709);var o=function(t){a(707)},c=a(29)(n.a,r.a,!1,o,null,null);e.default=c.exports},697:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(663),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(700);var o=function(t){a(698)},c=a(29)(n.a,r.a,!1,o,null,null);e.default=c.exports},698:function(t,e,a){var s=a(699);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a(35)("70439c42",s,!0,{})},699:function(t,e,a){(t.exports=a(34)(!1)).push([t.i,"",""])},700:function(t,e,a){"use strict";var s={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=s},705:function(t,e,a){"use strict";e.__esModule=!0;var s,n=a(747),i=(s=n)&&s.__esModule?s:{default:s};e.default={name:"secondary-menu",data:function(){return{menuList:(0,i.default)(this.type),index:0,id:this.$route.params.id,isTogHide:!1}},props:{type:String,className:String},watch:{isTogHide:function(t){var e=$(".main-layout-box");t?e.addClass("toggle"):e.removeClass("toggle")}},methods:{_toggleSubMenu:function(t){t.isOpen=!t.isOpen},_toggleMenu:function(){this.isTogHide=!this.isTogHide}},mounted:function(){}}},707:function(t,e,a){var s=a(708);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a(35)("5be25ccc",s,!0,{})},708:function(t,e,a){(t.exports=a(34)(!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}",""])},709:function(t,e,a){"use strict";var s={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:a(710),alt:""}})])}]};e.a=s},710:function(t,e,a){t.exports=a.p+"images/errorTip.png?a7b20f0ca8727f22f405c2a34d1363a0"},742:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(705),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);var r=a(749);var o=function(t){a(743)},c=a(29)(n.a,r.a,!1,o,null,null);e.default=c.exports},743:function(t,e,a){var s=a(744);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a(35)("018f4828",s,!0,{})},744:function(t,e,a){var s=a(125);(t.exports=a(34)(!1)).push([t.i,".main-layout-box.toggle{padding-left:0}.main-layout-box.toggle>.secondary-menu-model{left:-200px}.secondary-menu-model{position:fixed;left:0;top:0;width:200px;background:#41444c;height:100%;padding-top:80px}.secondary-menu-model .toogle-box{position:absolute;right:-1px;top:calc(50% - 50px)}.secondary-menu-model .toogle-box .tog-close{width:12px;height:102px;background:url("+s(a(745))+") no-repeat;display:inline-block}.secondary-menu-model .toogle-box .tog-open{width:12px;height:102px;background:url("+s(a(746))+") no-repeat;display:inline-block;position:absolute;right:-12px;top:0}.secondary-menu-model .leven-1 .name a{height:40px;line-height:40px;display:block;position:relative;padding-left:10px}.secondary-menu-model .leven-1 .name a>.icon{vertical-align:middle;font-size:15px;width:20px;text-align:center;color:#fff}.secondary-menu-model .leven-1 .name a>span{vertical-align:middle;padding-left:2px;font-size:14px;color:#fff}.secondary-menu-model .leven-1 .name a>.angle{position:absolute;right:12px;top:14px}.secondary-menu-model .leven-1 ul li{height:36px;line-height:36px;cursor:pointer;padding-left:39px;color:#fff}.secondary-menu-model .leven-1 ul li a{font-size:14px}.secondary-menu-model .leven-1 ul li.active{border-right:2px solid #2d8cf0;background:#2c2f39}.secondary-menu-model .leven-1 ul li.active span{font-weight:700;color:#2d8cf0}.secondary-menu-model .leven-1 .router-link-active,.secondary-menu-model .leven-1>.router-link-exact-active{background:#f0f6fb}.secondary-menu-model .leven-1 .router-link-active .name,.secondary-menu-model .leven-1>.router-link-exact-active .name{border-right:2px solid #2d8cf0;background:#2b2e38}.secondary-menu-model .leven-1 .router-link-active .name a span,.secondary-menu-model .leven-1>.router-link-exact-active .name a span{color:#2d8cf0;font-weight:700}.secondary-menu-model .leven-1 .router-link-active .name a .fa,.secondary-menu-model .leven-1>.router-link-exact-active .name a .fa{color:#2d8cf0}",""])},745:function(t,e,a){t.exports=a.p+"images/close.png?02806e641df25c1b4dbff4cb0af3984d"},746:function(t,e,a){t.exports=a.p+"images/open.png?97ec0726c7acab8a2a48282d68cea631"},747:function(t,e,a){"use strict";e.__esModule=!0;var s=r(a(36)),n=r(a(748)),i=r(a(124));function r(t){return t&&t.__esModule?t:{default:t}}var o={projects:[{name:""+s.default.$t("Project Home"),id:0,path:"projects-index",isOpen:!0,disabled:!0,icon:"fa-home",children:[]},{name:""+s.default.$t("Process"),id:1,path:"",isOpen:!0,disabled:!0,icon:"fa-gear",children:[{name:""+s.default.$t("Process definition"),path:"definition",id:0,disabled:!0},{name:""+s.default.$t("Process Instance"),path:"instance",id:1,disabled:!0},{name:""+s.default.$t("Task Instance"),path:"task-instance",id:2,disabled:!0},{name:""+s.default.$t("Task record"),path:"task-record",id:3,disabled:n.default.recordSwitch},{name:""+s.default.$t("History task record"),path:"history-task-record",id:4,disabled:n.default.recordSwitch}]}],security:[{name:""+s.default.$t("Tenant Manage"),id:0,path:"tenement-manage",isOpen:!0,disabled:!0,icon:"fa-users",children:[]},{name:""+s.default.$t("User Manage"),id:1,path:"users-manage",isOpen:!0,disabled:!0,icon:"fa-user-circle",children:[]},{name:""+s.default.$t("Warning group manage"),id:2,path:"warning-groups-manage",isOpen:!0,disabled:!0,icon:"fa-warning",children:[]},{name:""+s.default.$t("Queue manage"),id:3,path:"queue-manage",isOpen:!0,disabled:!0,icon:"fa-recycle",children:[]},{name:""+s.default.$t("Worker group manage"),id:4,path:"worker-groups-manage",isOpen:!0,disabled:!0,icon:"fa-address-book",children:[]},{name:""+s.default.$t("Token manage"),id:2,path:"token-manage",isOpen:!0,icon:"fa-file-text",children:[],disabled:!0}],resource:[{name:""+s.default.$t("File Manage"),id:0,path:"file",isOpen:!0,icon:"fa-files-o",children:[],disabled:!0},{name:""+s.default.$t("UDF manage"),id:1,path:"",isOpen:!0,icon:"fa-file-text",disabled:!0,children:[{name:""+s.default.$t("Resource manage"),path:"resource-udf-resource",id:0,disabled:!0},{name:""+s.default.$t("Function manage"),path:"resource-udf-function",id:1,disabled:!0}]}],user:[{name:""+s.default.$t("User Information"),id:0,path:"account",isOpen:!0,icon:"fa-user",children:[],disabled:!0},{name:""+s.default.$t("Edit password"),id:1,path:"password",isOpen:!0,icon:"fa-key",children:[],disabled:!0},{name:""+s.default.$t("Token manage"),id:2,path:"token",isOpen:!0,icon:"fa-file-text",children:[],disabled:i.default.getAuth()}],monitor:[{name:""+s.default.$t("Servers manage"),id:0,path:"",isOpen:!0,disabled:!0,icon:"fa-server",children:[{name:"Master",path:"servers-master",id:0,disabled:!0},{name:"Worker",path:"servers-worker",id:1,disabled:!0},{name:"Zookeeper",path:"servers-zookeeper",id:4,disabled:!0},{name:"Mysql",path:"servers-mysql",id:6,disabled:!0}]}]};e.default=function(t){return o[t]}},748:function(t,e,a){"use strict";e.__esModule=!0,e.default={recordSwitch:!0}},749:function(t,e,a){"use strict";var s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"secondary-menu-model",class:t.className},[a("div",{staticClass:"toogle-box"},[t.isTogHide?t._e():a("a",{staticClass:"tog-close",attrs:{href:"javascript:"},on:{click:t._toggleMenu}}),t._v(" "),t.isTogHide?a("a",{staticClass:"tog-open",attrs:{href:"javascript:"},on:{click:t._toggleMenu}}):t._e()]),t._v(" "),t._l(t.menuList,function(e,s){return a("div",{staticClass:"leven-1"},[e.disabled?a("div",[e.path?[a("router-link",{attrs:{to:{name:e.path}}},[a("div",{staticClass:"name",on:{click:function(a){return t._toggleSubMenu(e)}}},[a("a",{attrs:{href:"javascript:"}},[a("i",{staticClass:"fa icon",class:e.icon}),t._v(" "),a("span",[t._v(t._s(e.name))]),t._v(" "),e.children.length?a("i",{staticClass:"fa angle",class:e.isOpen?"fa-angle-down":"fa-angle-right"}):t._e()])])])]:t._e(),t._v(" "),e.path?t._e():[a("div",{staticClass:"name",on:{click:function(a){return t._toggleSubMenu(e)}}},[a("a",{attrs:{href:"javascript:"}},[a("i",{staticClass:"fa icon",class:e.icon}),t._v(" "),a("span",[t._v(t._s(e.name))]),t._v(" "),e.children.length?a("i",{staticClass:"fa angle",class:e.isOpen?"fa-angle-down":"fa-angle-right"}):t._e()])])],t._v(" "),e.isOpen&&e.children.length?a("ul",[t._l(e.children,function(e,s){return[e.disabled?a("router-link",{attrs:{to:{name:e.path},tag:"li","active-class":"active"}},[a("span",[t._v(t._s(e.name))])]):t._e()]})],2):t._e()],2):t._e()])})],2)},staticRenderFns:[]};e.a=s},864:function(t,e,a){"use strict";e.__esModule=!0,e.simple=e.bar=e.pie=void 0;var s,n=a(30),i=(s=n)&&s.__esModule?s:{default:s},r=a(225);var o={xAxis:{splitLine:{show:!1},axisLabel:{interval:0,showMaxLabel:!0,formatter:function(t){return r.tasksState[t].desc}}},tooltip:{formatter:function(t){var e="";return i.default.map(t,function(t,a){0===a&&(e+=r.tasksState[t.name].desc+"<br>"),e+='<div style="font-size: 12px;">'+t.seriesName+" : "+t.data+"<br></div>"}),e}},color:["#D5050B","#0398E1"]};e.pie={series:[{type:"pie",clickable:!0,minAngle:5,avoidLabelOverlap:!0,hoverAnimation:!0,radius:["30%","60%"],center:["50%","50%"],label:{align:"left",normal:{}}}]},e.bar={title:{text:""},grid:{right:"2%"},xAxis:{splitLine:{show:!1},axisLabel:{formatter:function(t){return t.split(",")[0]+" ("+t.split(",")[2]+")"}}},tooltip:{formatter:function(t){return t[0].name.split(",")[0]+" ("+t[0].value+")"}},series:[{type:"bar",barWidth:30}]},e.simple=o},880:function(t,e,a){"use strict";e.__esModule=!0,e.stateType=void 0;var s,n=a(36),i=(s=n)&&s.__esModule?s:{default:s};var r=[{code:"",label:""+i.default.$t("none")},{code:"SUBMITTED_SUCCESS",label:""+i.default.$t("Submitted successfully")},{code:"RUNNING_EXEUTION",label:""+i.default.$t("Running")},{code:"READY_PAUSE",label:""+i.default.$t("Ready to pause")},{code:"PAUSE",label:""+i.default.$t("Pause")},{code:"READY_STOP",label:""+i.default.$t("Ready to stop")},{code:"STOP",label:""+i.default.$t("Stop")},{code:"FAILURE",label:""+i.default.$t("failed")},{code:"SUCCESS",label:""+i.default.$t("success")},{code:"NEED_FAULT_TOLERANCE",label:""+i.default.$t("Need fault tolerance")},{code:"KILL",label:""+i.default.$t("kill")},{code:"WAITTING_THREAD",label:""+i.default.$t("Waiting for thread")},{code:"WAITTING_DEPEND",label:""+i.default.$t("Waiting for dependency to complete")}];e.stateType=r},926:function(t,e,a){"use strict";e.__esModule=!0;var s=f(a(228)),n=f(a(1024)),i=f(a(1026)),r=f(a(1028)),o=f(a(1032)),c=f(a(1036)),l=f(a(227)),d=f(a(742)),u=f(a(697));function f(t){return t&&t.__esModule?t:{default:t}}e.default={name:"projects-index-index",data:function(){return{searchParams:{projectId:null,startDate:"",endDate:""}}},props:{id:Number},methods:{_datepicker:function(t){this.searchParams.startDate=t[0],this.searchParams.endDate=t[1]}},created:function(){this.searchParams.projectId=0===this.id?0:l.default.getItem("projectId"),this.searchParams.startDate=(0,s.default)().format("YYYY-MM-DD 00:00:00"),this.searchParams.endDate=(0,s.default)().format("YYYY-MM-DD HH:mm:ss")},components:{mSecondaryMenu:d.default,mListConstruction:u.default,mDefineUserCount:n.default,mCommandStateCount:i.default,mTaskCtatusCount:r.default,mProcessStateCount:o.default,mQueueCount:c.default}}},927:function(t,e,a){"use strict";e.__esModule=!0;var s=c(a(30)),n=a(123),i=a(864),r=c(a(226)),o=c(a(696));function c(t){return t&&t.__esModule?t:{default:t}}e.default={name:"define-user-count",data:function(){return{isSpin:!0,msg:""}},props:{projectId:Number},methods:Object.assign({},(0,n.mapActions)("projects",["getDefineUserCount"]),{_handleDefineUser:function(t){var e=this,a=t.data.userList||[];this.defineUserList=s.default.map(a,function(t){return{key:t.userName+","+t.userId+","+t.count,value:t.count}});var n=r.default.bar("#process-definition-bar",this.defineUserList,{});n.echart.setOption(i.bar),this.projectId&&n.echart.on("click",function(t){e.$router.push({name:"projects-definition-list",query:{userId:t.name.split(",")[1]}})})}}),created:function(){var t=this;this.isSpin=!0,this.getDefineUserCount(this.projectId).then(function(e){t.defineUserList=[],t._handleDefineUser(e),t.isSpin=!1}).catch(function(e){t.msg=e.msg||"error",t.isSpin=!1})},mounted:function(){},components:{mNoData:o.default}}},928:function(t,e,a){"use strict";e.__esModule=!0;var s=c(a(30)),n=a(123),i=a(864),r=c(a(226)),o=c(a(696));function c(t){return t&&t.__esModule?t:{default:t}}e.default={name:"command-state-count",data:function(){return{isSpin:!0,msg:""}},props:{searchParams:Object},methods:Object.assign({},(0,n.mapActions)("projects",["getCommandStateCount"]),{_handleCommandState:function(t){var e=this,a=[];s.default.forEach(t.data,function(t,n){"errorCount"===s.default.keys(t)[0]&&a.push({typeName:""+e.$t("Error command count"),key:t.commandState,value:t.errorCount})}),s.default.forEach(t.data,function(t,n){"normalCount"===s.default.keys(t)[1]&&a.push({typeName:""+e.$t("Normal command count"),key:t.commandState,value:t.normalCount})}),r.default.bar("#command-state-bar",a,{title:""}).echart.setOption(i.simple)}}),created:function(){},watch:{searchParams:{deep:!0,immediate:!0,handler:function(t){var e=this;this.isSpin=!0,this.getCommandStateCount(t).then(function(t){e._handleCommandState(t),e.isSpin=!1}).catch(function(t){e.msg=t.msg||"error",e.isSpin=!1})}}},mounted:function(){},computed:{},components:{mNoData:o.default}}},929:function(t,e,a){"use strict";e.__esModule=!0;var s=l(a(30)),n=a(123),i=a(864),r=l(a(226)),o=l(a(696)),c=a(880);function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"task-ctatus-count",data:function(){return{isSpin:!0,msg:"",taskCtatusList:[]}},props:{searchParams:Object},methods:Object.assign({},(0,n.mapActions)("projects",["getTaskCtatusCount"]),{_goTask:function(t){this.$router.push({name:"task-instance",query:{stateType:s.default.find(c.stateType,["label",t]).code,startDate:this.searchParams.startDate,endDate:this.searchParams.endDate}})},_handleTaskCtatus:function(t){var e=this,a=t.data.taskCountDtos;this.taskCtatusList=s.default.map(a,function(t){return{key:s.default.find(c.stateType,["code",t.taskStateType]).label,value:t.count,type:"type"}});var n=r.default.pie("#task-status-pie",this.taskCtatusList,{title:""});n.echart.setOption(i.pie),this.searchParams.projectId&&n.echart.on("click",function(t){e._goTask(t.data.name)})}}),watch:{searchParams:{deep:!0,immediate:!0,handler:function(t){var e=this;this.isSpin=!0,this.getTaskCtatusCount(t).then(function(t){e.taskCtatusList=[],e._handleTaskCtatus(t),e.isSpin=!1}).catch(function(t){e.msg=t.msg||"error",e.isSpin=!1})}}},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},computed:{},components:{mNoData:o.default}}},930:function(t,e,a){"use strict";e.__esModule=!0;var s=l(a(30)),n=a(123),i=a(864),r=l(a(226)),o=l(a(696)),c=a(880);function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"process-state-count",data:function(){return{isSpin:!0,msg:"",processStateList:[]}},props:{searchParams:Object},methods:Object.assign({},(0,n.mapActions)("projects",["getProcessStateCount"]),{_goProcess:function(t){this.$router.push({name:"projects-instance-list",query:{stateType:s.default.find(c.stateType,["label",t]).code,startDate:this.searchParams.startDate,endDate:this.searchParams.endDate}})},_handleProcessState:function(t){var e=this,a=t.data.taskCountDtos;this.processStateList=s.default.map(a,function(t){return{key:s.default.find(c.stateType,["code",t.taskStateType]).label,value:t.count}});var n=r.default.pie("#process-state-pie",this.processStateList,{title:""});n.echart.setOption(i.pie),this.searchParams.projectId&&n.echart.on("click",function(t){e._goProcess(t.data.name)})}}),watch:{searchParams:{deep:!0,immediate:!0,handler:function(t){var e=this;this.isSpin=!0,this.getProcessStateCount(t).then(function(t){e.processStateList=[],e._handleProcessState(t),e.isSpin=!1}).catch(function(t){e.msg=t.msg||"error",e.isSpin=!1})}}},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){},beforeUpdate:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},computed:{},components:{mNoData:o.default}}},931:function(t,e,a){"use strict";e.__esModule=!0;var s=c(a(30)),n=a(123),i=a(864),r=c(a(226)),o=c(a(696));function c(t){return t&&t.__esModule?t:{default:t}}e.default={name:"queue-count",data:function(){return{isSpin:!0,msg:"",queueList:[]}},props:{searchParams:Object},methods:Object.assign({},(0,n.mapActions)("projects",["getQueueCount"]),{_handleQueue:function(t){var e=this;s.default.forEach(t.data,function(t,a){return e.queueList.push({key:"taskQueue"===a?""+e.$t("Task queue"):""+e.$t("Task kill"),value:t})}),r.default.pie("#queue-pie",this.queueList,{title:""}).echart.setOption(s.default.assign(s.default.cloneDeep(i.pie),{color:["#D5050B","#0398E1"]}))}}),watch:{searchParams:{deep:!0,immediate:!0,handler:function(t){var e=this;this.isSpin=!0,this.getQueueCount(t).then(function(t){e.queueList=[],e._handleQueue(t),e.isSpin=!1}).catch(function(t){e.msg=t.msg||"error",e.isSpin=!1})}}},created:function(){},mounted:function(){},components:{mNoData:o.default}}}});
//# sourceMappingURL=21.b587019.js.map