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
31 KiB
2 lines
31 KiB
webpackJsonp([21],{1027:function(t,e,n){"use strict";e.__esModule=!0;var i=f(n(28)),a=n(123),r=f(n(1114)),s=n(125),o=f(n(646)),l=f(n(663)),u=n(225),c=f(n(654)),d=f(n(650));function f(t){return t&&t.__esModule?t:{default:t}}e.default={name:"tree-view-index-index",data:function(){return{limit:25,isLoading:!0,tasksType:u.tasksType,tasksState:u.tasksState,treeData:{},isNodata:!1}},props:{},methods:Object.assign({},(0,a.mapActions)("dag",["getViewTree"]),{_getViewTree:function(){var t=this;this.isLoading=!0,r.default.reset(),this.getViewTree({processId:this.$route.params.id,limit:this.limit}).then(function(e){var n=i.default.cloneDeep(e);if(t.treeData=n,!t.treeData.children)return t.isLoading=!1,void(t.isNodata=!0);!function t(e){e.length&&i.default.map(e,function(e){e.uuid=""+(0,s.uuid)("uuid_")+((0,s.uuid)()+(0,s.uuid)()),e.children.length&&t(e.children)})}(n.children),r.default.init({data:i.default.cloneDeep(n),limit:t.limit,selfTree:t}).then(function(){setTimeout(function(){},100)})}).catch(function(e){t.isLoading=!1,e.data||(t.isNodata=!0)})},_rtTasksDag:function(){var t=this.$route.query.subProcessIds.split(","),e=t.slice(0,t.length-1),n=t[t.length-1],i={};n!==t[0]&&(i={subProcessIds:e.join(",")}),this.$router.push({path:"/projects/definition/tree/"+n,query:i})},_subProcessHandle:function(t){var e=[],n=this.$route.query.subProcessIds;if(n){var i=n.split(",");i.push(this.$route.params.id),e=i}else e.push(this.$route.params.id);this.$router.push({path:"/projects/definition/tree/"+t,query:{subProcessIds:e.join(",")}})},_onChangeSelect:function(t){this.limit=t.value,this._getViewTree()}}),watch:{"$route.params.id":function(){this._getViewTree()}},created:function(){this._getViewTree()},mounted:function(){},components:{mSpin:o.default,mSecondaryMenu:c.default,mListConstruction:d.default,mNoData:l.default}}},1111:function(t,e,n){var i=n(1112);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(35)("2f000d8e",i,!0,{})},1112:function(t,e,n){var i=n(124);(t.exports=n(34)(!1)).push([t.i,".tree-view-index-model{background:url("+i(n(1113))+");position:relative}.tree-view-index-model .tree-limit-select{position:absolute;right:20px;top:22px;z-index:1}.tree-view-index-model .tasks-color{min-height:76px;background:#fff;padding-left:20px;position:relative;padding-bottom:10px}.tree-view-index-model .tasks-color .toolbar-color-sp{padding:12px 0}.tree-view-index-model .tree-model{width:100%;height:calc(100vh - 224px);overflow-x:scroll}.tree-view-index-model .d3-tree{padding-left:30px}.tree-view-index-model .d3-tree .node text{font:11px sans-serif;pointer-events:none}.tree-view-index-model .d3-tree rect{cursor:pointer}.tree-view-index-model .d3-tree rect.state{stroke:#666;shape-rendering:crispEdges}.tree-view-index-model .d3-tree path.link{fill:none;stroke:#666;stroke-width:2px}.tree-view-index-model .d3-tree circle{stroke:#666;fill:#0097e0;stroke-width:1.5px;cursor:pointer}",""])},1113:function(t,e,n){t.exports=n.p+"images/dag_bg.png?6a0c3839385c7d50f21acf06989addf4"},1114:function(t,e,n){"use strict";e.__esModule=!0;var i,a=n(71),r=(i=a)&&i.__esModule?i:{default:i},s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(597)),o=n(1115),l=n(225);var u=void 0,c=function(){u=this,this.selfTree={},this.tree=function(){},this.config={barHeight:26,axisHeight:40,squareSize:10,squarePading:4,taskNum:25,nodesMax:0},this.config.margin={top:this.config.barHeight/2+this.config.axisHeight,right:0,bottom:0,left:this.config.barHeight/2},this.config.margin.width=960-this.config.margin.left-this.config.margin.right,this.config.barWidth=parseInt(.9*this.config.margin.width)};c.prototype.init=function(t){var e=this,n=t.data,i=t.limit,a=t.selfTree;return new Promise(function(t,r){e.selfTree=a,e.config.taskNum=i,e.duration=400,e.i=0,e.tree=s.layout.tree().nodeSize([0,46]);var l=e.tree.nodes(n);e.diagonal=s.svg.diagonal().projection(function(t){return[t.y,t.x]}),e.svg=s.select("svg").append("g").attr("class","level").attr("transform","translate("+e.config.margin.left+","+e.config.margin.top+")"),n.x0=0,n.y0=0,e.squareNum=l[1===l.length?0:1].instances.length,e.config.nodesMax=(0,o.rtCountMethod)(n.children),e.treeUpdate(e.root=n).then(function(){e.treeTooltip(),a.isLoading=!1,t()})})},c.prototype.nodesClass=function(t){var e="node";return void 0===t.children&&void 0===t._children?e+=" leaf":(e+=" parent",void 0===t.children?e+=" collapsed":e+=" expanded"),e},c.prototype.treeTooltip=function(){(0,r.default)("rect.state").tooltip({html:!0,container:"body"}),(0,r.default)("circle.task").tooltip({html:!0,container:"body"})},c.prototype.treeToggles=function(t){u.removeTooltip(),s.selectAll("[task_id='"+t.uuid+"']").each(function(e){t!==e&&e.children&&(e._children=e.children,e.children=null,u.treeUpdate(e))}),t._children?(t.children=t._children,t._children=null):(t._children=t.children,t.children=null),u.treeUpdate(t),u.treeTooltip()},c.prototype.treeUpdate=function(t){var e=this;return new Promise(function(n,i){var a=e.tree.nodes(e.root),r=Math.max(500,a.length*e.config.barHeight+e.config.margin.top+e.config.margin.bottom),u=70*e.config.nodesMax+e.squareNum*(e.config.squareSize+e.config.squarePading)+e.config.margin.left+e.config.margin.right+50;s.select("svg").transition().duration(e.duration).attr("height",r).attr("width",u),a.forEach(function(t,n){t.x=n*e.config.barHeight});var c=e.svg.selectAll("g.node").data(a,function(t){return t.id||(t.id=++e.i)}),d=c.enter().append("g").attr("class",e.nodesClass).attr("transform",function(){return"translate("+t.y0+","+t.x0+")"}).style("opacity",1e-6);d.append("circle").attr("r",e.config.barHeight/3).attr("class","task").attr("data-toggle","tooltip").attr("title",function(t){return t.type?t.type:""}).attr("height",e.config.barHeight).attr("width",function(t){return e.config.barWidth-t.y}).style("fill",function(t){return t.type?l.tasksType[t.type].color:"#fff"}).attr("task_id",function(t){return t.name}).on("click",e.treeToggles),d.append("text").attr("dy",3.5).attr("dx",e.config.barHeight/2).text(function(t){return t.name}),d.append("g").attr("class","stateboxes").attr("transform",function(t,n){return"translate("+(60*e.config.nodesMax-t.y)+",0)"}).selectAll("rect").data(function(t){return t.instances}).enter().append("rect").on("click",function(t){e.removeTooltip(),"SUB_PROCESS"===t.type&&e.selfTree._subProcessHandle(t.subflowId)}).attr("class","state").style("fill",function(t){return t.state&&l.tasksState[t.state].color||"#ffffff"}).attr("data-toggle","tooltip").attr("rx",function(t){return t.type?0:12}).attr("ry",function(t){return t.type?0:12}).style("shape-rendering",function(t){return t.type?"crispEdges":"auto"}).attr("title",function(t){return(0,o.rtInstancesTooltip)(t)}).attr("x",function(t,n){return n*(e.config.squareSize+e.config.squarePading)}).attr("y",-e.config.squareSize/2).attr("width",10).attr("height",10).on("mouseover",function(){s.select(e).transition()}).on("mouseout",function(){s.select(e).transition()}),d.transition().duration(e.duration).attr("transform",function(t){return"translate("+t.y+","+t.x+")"}).style("opacity",1),c.transition().duration(e.duration).attr("class",e.nodesClass).attr("transform",function(t){return"translate("+t.y+","+t.x+")"}).style("opacity",1),c.exit().transition().duration(e.duration).attr("transform",function(e){return"translate("+t.y+","+t.x+")"}).style("opacity",1e-6).remove();var f=e.svg.selectAll("path.link").data(e.tree.links(a),function(t){return t.target.id});f.enter().insert("path","g").attr("class","link").attr("d",function(n){var i={x:t.x0,y:t.y0};return e.diagonal({source:i,target:i})}).transition().duration(e.duration).attr("d",e.diagonal),f.transition().duration(e.duration).attr("d",e.diagonal),f.exit().transition().duration(e.duration).attr("d",function(n){var i={x:t.x,y:t.y};return e.diagonal({source:i,target:i})}).remove(),a.forEach(function(t){t.x0=t.x,t.y0=t.y}),n()})},c.prototype.reset=function(){(0,r.default)(".d3-tree .tree").html("")},c.prototype.removeTooltip=function(){(0,r.default)("body").find(".tooltip.fade.top.in").remove()},e.default=new c},1115:function(t,e,n){"use strict";e.__esModule=!0,e.rtCountMethod=e.rtInstancesTooltip=void 0;var i=n(661),a=n(225);e.rtInstancesTooltip=function(t){var e='<div style="text-align: left;">';return e+="id : "+t.id+"</br>",e+="host : "+t.host+"</br>",e+="name : "+t.name+"</br>",e+="state : "+(t.state?a.tasksState[t.state].desc:"-")+"("+t.state+")</br>",t.type&&(e+="type : "+t.type+"</br>"),e+="startTime : "+(t.startTime?(0,i.formatDate)(t.startTime):"null")+"</br>",e+="endTime : "+(t.endTime?(0,i.formatDate)(t.endTime):"null")+"</br>",e+="duration : "+t.duration+"</br>",e+="</div>"},e.rtCountMethod=function(t){var e=[];!function t(n,i){var a=!1;n.forEach(function(n){n.children&&n.children.length>0&&(a||(a=!0,i+="*",e.push(i)),t(n.children,i))})}(t,"*");var n=6;return e.forEach(function(t){t.length>n&&(n=t.length)}),n}},1116:function(t,e,n){"use strict";var i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-layout-box"},[n("m-secondary-menu",{attrs:{type:"projects"}}),t._v(" "),n("m-list-construction",{attrs:{title:t.$t("树形图")}},[n("template",{slot:"conditions"}),t._v(" "),n("template",{slot:"content"},[n("div",{staticClass:"tree-view-index-model"},[n("div",{staticClass:"tree-limit-select"},[n("x-select",{staticStyle:{width:"70px"},on:{"on-change":t._onChangeSelect},model:{value:t.limit,callback:function(e){t.limit=e},expression:"limit"}},t._l([{value:25},{value:50},{value:75},{value:100}],function(t){return n("x-option",{key:t.value,attrs:{value:t.value,label:t.value}})}),1),t._v(" "),t.$route.query.subProcessIds?n("x-button",{attrs:{type:"primary",size:"default",icon:"fa fa-reply"},on:{click:t._rtTasksDag}},[t._v("\n 返回上一节点\n ")]):t._e()],1),t._v(" "),n("div",{staticClass:"tasks-color"},[n("div",{staticClass:"toolbar-color-sp"},[n("a",{attrs:{href:"javascript:"}},[n("span",[t._v("节点类型")])]),t._v(" "),t._l(t.tasksType,function(e,i){return n("a",{attrs:{href:"javascript:"}},[n("i",{staticClass:"fa fa-circle",style:{color:e.color}}),t._v(" "),n("span",[t._v(t._s(i))])])})],2),t._v(" "),n("div",{staticClass:"state-tasks-color-sp"},[n("a",{attrs:{href:"javascript:"}},[n("span",[t._v("任务状态")])]),t._v(" "),t._l(t.tasksState,function(e){return n("a",{attrs:{href:"javascript:"}},[n("i",{staticClass:"fa fa-square",style:{color:e.color}}),t._v(" "),n("span",[t._v(t._s(e.desc))])])})],2)]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.isNodata,expression:"!isNodata"}],staticClass:"tree-model"},[n("div",{staticClass:"d3-tree"},[n("svg",{staticClass:"tree",attrs:{width:"100%"}})])]),t._v(" "),t.isNodata?n("m-no-data"):t._e()],1),t._v(" "),n("m-spin",{attrs:{"is-spin":t.isLoading}})],1)],2)],1)},staticRenderFns:[]};e.a=i},608:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1027),a=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,function(){return i[t]})}(r);var s=n(1116);var o=function(t){n(1111)},l=n(27)(a.a,s.a,!1,o,null,null);e.default=l.exports},639:function(t,e,n){"use strict";e.__esModule=!0,e.default={name:"spin",data:function(){return{}},props:{isSpin:{type:Boolean,default:!0},isLeft:{type:Boolean,default:!0}}}},640:function(t,e,n){"use strict";e.__esModule=!0,e.default={name:"list-construction",data:function(){return{}},props:{title:String}}},641:function(t,e,n){"use strict";e.__esModule=!0;var i,a=n(659),r=(i=a)&&i.__esModule?i:{default:i};e.default={name:"secondary-menu",data:function(){return{menuList:(0,r.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(){}}},643:function(t,e,n){"use strict";e.__esModule=!0,e.default={name:"no-data",props:{msg:String}}},645:function(t,e,n){var i;i=function(){"use strict";var t="millisecond",e="second",n="minute",i="hour",a="day",r="week",s="month",o="quarter",l="year",u=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,c=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},f={s:d,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),a=n%60;return(e<=0?"+":"-")+d(i,2,"0")+":"+d(a,2,"0")},m:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,s),a=e-i<0,r=t.clone().add(n+(a?-1:1),s);return Number(-(n+(e-i)/(a?i-r:r-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(u){return{M:s,y:l,w:r,d:a,h:i,m:n,s:e,ms:t,Q:o}[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h="en",g={};g[h]=p;var m=function(t){return t instanceof _},v=function(t,e,n){var i;if(!t)return null;if("string"==typeof t)g[t]&&(i=t),e&&(g[t]=e,i=t);else{var a=t.name;g[a]=t,i=a}return n||(h=i),i},x=function(t,e,n){if(m(t))return t.clone();var i=e?"string"==typeof e?{format:e,pl:n}:e:{};return i.date=t,new _(i)},y=f;y.l=v,y.i=m,y.w=function(t,e){return x(t,{locale:e.$L,utc:e.$u})};var _=function(){function d(t){this.$L=this.$L||v(t.locale,null,!0)||h,this.parse(t)}var f=d.prototype;return f.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(y.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(u);if(i)return n?new Date(Date.UTC(i[1],i[2]-1,i[3]||1,i[4]||0,i[5]||0,i[6]||0,i[7]||0)):new Date(i[1],i[2]-1,i[3]||1,i[4]||0,i[5]||0,i[6]||0,i[7]||0)}return new Date(e)}(t),this.init()},f.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},f.$utils=function(){return y},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.isSame=function(t,e){var n=x(t);return this.startOf(e)<=n&&n<=this.endOf(e)},f.isAfter=function(t,e){return x(t)<this.startOf(e)},f.isBefore=function(t,e){return this.endOf(e)<x(t)},f.$g=function(t,e,n){return y.u(t)?this[e]:this.set(n,t)},f.year=function(t){return this.$g(t,"$y",l)},f.month=function(t){return this.$g(t,"$M",s)},f.day=function(t){return this.$g(t,"$W",a)},f.date=function(t){return this.$g(t,"$D","date")},f.hour=function(t){return this.$g(t,"$H",i)},f.minute=function(t){return this.$g(t,"$m",n)},f.second=function(t){return this.$g(t,"$s",e)},f.millisecond=function(e){return this.$g(e,"$ms",t)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(t,o){var u=this,c=!!y.u(o)||o,d=y.p(t),f=function(t,e){var n=y.w(u.$u?Date.UTC(u.$y,e,t):new Date(u.$y,e,t),u);return c?n:n.endOf(a)},p=function(t,e){return y.w(u.toDate()[t].apply(u.toDate(),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),u)},h=this.$W,g=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case l:return c?f(1,0):f(31,11);case s:return c?f(1,g):f(0,g+1);case r:var x=this.$locale().weekStart||0,_=(h<x?h+7:h)-x;return f(c?m-_:m+(6-_),g);case a:case"date":return p(v+"Hours",0);case i:return p(v+"Minutes",1);case n:return p(v+"Seconds",2);case e:return p(v+"Milliseconds",3);default:return this.clone()}},f.endOf=function(t){return this.startOf(t,!1)},f.$set=function(r,o){var u,c=y.p(r),d="set"+(this.$u?"UTC":""),f=(u={},u[a]=d+"Date",u.date=d+"Date",u[s]=d+"Month",u[l]=d+"FullYear",u[i]=d+"Hours",u[n]=d+"Minutes",u[e]=d+"Seconds",u[t]=d+"Milliseconds",u)[c],p=c===a?this.$D+(o-this.$W):o;if(c===s||c===l){var h=this.clone().set("date",1);h.$d[f](p),h.init(),this.$d=h.set("date",Math.min(this.$D,h.daysInMonth())).toDate()}else f&&this.$d[f](p);return this.init(),this},f.set=function(t,e){return this.clone().$set(t,e)},f.get=function(t){return this[y.p(t)]()},f.add=function(t,o){var u,c=this;t=Number(t);var d=y.p(o),f=function(e){var n=new Date(c.$d);return n.setDate(n.getDate()+e*t),y.w(n,c)};if(d===s)return this.set(s,this.$M+t);if(d===l)return this.set(l,this.$y+t);if(d===a)return f(1);if(d===r)return f(7);var p=(u={},u[n]=6e4,u[i]=36e5,u[e]=1e3,u)[d]||1,h=this.valueOf()+t*p;return y.w(h,this)},f.subtract=function(t,e){return this.add(-1*t,e)},f.format=function(t){var e=this;if(!this.isValid())return"Invalid Date";var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=y.z(this),a=this.$locale(),r=a.weekdays,s=a.months,o=function(t,e,n,i){return t&&t[e]||n[e].substr(0,i)},l=function(t){return y.s(e.$H%12||12,t,"0")},u={YY:String(this.$y).slice(-2),YYYY:String(this.$y),M:String(this.$M+1),MM:y.s(this.$M+1,2,"0"),MMM:o(a.monthsShort,this.$M,s,3),MMMM:s[this.$M],D:String(this.$D),DD:y.s(this.$D,2,"0"),d:String(this.$W),dd:o(a.weekdaysMin,this.$W,r,2),ddd:o(a.weekdaysShort,this.$W,r,3),dddd:r[this.$W],H:String(this.$H),HH:y.s(this.$H,2,"0"),h:l(1),hh:l(2),a:this.$H<12?"am":"pm",A:this.$H<12?"AM":"PM",m:String(this.$m),mm:y.s(this.$m,2,"0"),s:String(this.$s),ss:y.s(this.$s,2,"0"),SSS:y.s(this.$ms,3,"0"),Z:i};return n.replace(c,function(t,e){return e||u[t]||i.replace(":","")})},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(t,u,c){var d,f=y.p(u),p=x(t),h=6e4*(p.utcOffset()-this.utcOffset()),g=this-p,m=y.m(this,p);return m=(d={},d[l]=m/12,d[s]=m,d[o]=m/3,d[r]=(g-h)/6048e5,d[a]=(g-h)/864e5,d[i]=g/36e5,d[n]=g/6e4,d[e]=g/1e3,d)[f]||g,c?m:y.a(m)},f.daysInMonth=function(){return this.endOf(s).$D},f.$locale=function(){return g[this.$L]},f.locale=function(t,e){if(!t)return this.$L;var n=this.clone();return n.$L=v(t,e,!0),n},f.clone=function(){return y.w(this.toDate(),this)},f.toDate=function(){return new Date(this.$d)},f.toJSON=function(){return this.toISOString()},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},d}();return x.prototype=_.prototype,x.extend=function(t,e){return t(e,_,x),x},x.locale=v,x.isDayjs=m,x.unix=function(t){return x(1e3*t)},x.en=g[h],x.Ls=g,x},t.exports=i()},646:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(639),a=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,function(){return i[t]})}(r);var s=n(649);var o=function(t){n(647)},l=n(27)(a.a,s.a,!1,o,null,null);e.default=l.exports},647:function(t,e,n){var i=n(648);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(35)("3d76622a",i,!0,{})},648:function(t,e,n){(t.exports=n(34)(!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}",""])},649:function(t,e,n){"use strict";var i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isSpin?n("div",{class:t.isLeft?"spin-sp2":"spin-sp1",attrs:{id:"spin-model"}},[n("div",{staticClass:"svg-box"},[n("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"}},[n("g",{attrs:{transform:"translate(50 50)"}},[n("g",{attrs:{transform:"translate(-19 -19) scale(0.6)"}},[n("g",{attrs:{transform:"rotate(107.866)"}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0;360",keyTimes:"0;1",dur:"1s",begin:"0s",repeatCount:"indefinite"}}),n("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(" "),n("g",{attrs:{transform:"translate(19 19) scale(0.6)"}},[n("g",{attrs:{transform:"rotate(229.634)"}},[n("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"360;0",keyTimes:"0;1",dur:"1s",begin:"-0.0625s",repeatCount:"indefinite"}}),n("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(" "),n("span",{staticClass:"sp1"},[t._v(t._s(t.$t("正在努力加载中...")))])])]):t._e()},staticRenderFns:[]};e.a=i},650:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(640),a=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,function(){return i[t]})}(r);var s=n(653);var o=function(t){n(651)},l=n(27)(a.a,s.a,!1,o,null,null);e.default=l.exports},651:function(t,e,n){var i=n(652);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(35)("70439c42",i,!0,{})},652:function(t,e,n){(t.exports=n(34)(!1)).push([t.i,"",""])},653:function(t,e,n){"use strict";var i={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=i},654:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(641),a=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,function(){return i[t]})}(r);var s=n(660);var o=function(t){n(655)},l=n(27)(a.a,s.a,!1,o,null,null);e.default=l.exports},655:function(t,e,n){var i=n(656);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(35)("6a41b246",i,!0,{})},656:function(t,e,n){var i=n(124);(t.exports=n(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("+i(n(657))+") no-repeat;display:inline-block}.secondary-menu-model .toogle-box .tog-open{width:12px;height:102px;background:url("+i(n(658))+") 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:12px}.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}",""])},657:function(t,e,n){t.exports=n.p+"images/close.png?02806e641df25c1b4dbff4cb0af3984d"},658:function(t,e,n){t.exports=n.p+"images/open.png?97ec0726c7acab8a2a48282d68cea631"},659:function(t,e,n){"use strict";e.__esModule=!0;var i,a=n(36),r=(i=a)&&i.__esModule?i:{default:i};var s={projects:[{name:""+r.default.$t("项目首页"),id:1,path:"projects-index",isOpen:!0,icon:"fa-home",children:[]},{name:""+r.default.$t("工作流"),id:2,path:"",isOpen:!0,icon:"fa-gear",children:[{name:""+r.default.$t("工作流定义"),path:"definition",id:1},{name:""+r.default.$t("工作流实例"),path:"instance",id:2},{name:""+r.default.$t("任务实例"),path:"task-instance-list",id:3}]}],security:[{name:""+r.default.$t("租户管理"),id:1,path:"tenement-manage",isOpen:!0,icon:"fa-users",children:[]},{name:""+r.default.$t("用户管理"),id:1,path:"users-manage",isOpen:!0,icon:"fa-user-circle",children:[]},{name:""+r.default.$t("告警组管理"),id:1,path:"warning-groups-manage",isOpen:!0,icon:"fa-warning",children:[]},{name:""+r.default.$t("队列管理"),id:1,path:"queue-manage",isOpen:!0,icon:"fa-warning",children:[]},{name:""+r.default.$t("服务管理"),id:1,path:"",isOpen:!0,icon:"fa-server",children:[{name:"master",path:"servers-master",id:1},{name:"worker",path:"servers-worker",id:2}]}],resource:[{name:""+r.default.$t("文件管理"),id:1,path:"file",isOpen:!0,icon:"fa-files-o",children:[],disabled:!1},{name:""+r.default.$t("UDF管理"),id:1,path:"",isOpen:!0,icon:"fa-file-text",disabled:!1,children:[{name:""+r.default.$t("资源管理"),path:"resource-udf-resource",id:1},{name:""+r.default.$t("函数管理"),path:"resource-udf-function",id:2}]}],user:[{name:""+r.default.$t("用户信息"),id:1,path:"account",isOpen:!0,icon:"fa-user",children:[],disabled:!1},{name:""+r.default.$t("修改密码"),id:1,path:"password",isOpen:!0,icon:"fa-key",children:[],disabled:!1}]};e.default=function(t){return s[t]}},660:function(t,e,n){"use strict";var i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"secondary-menu-model",class:t.className},[n("div",{staticClass:"toogle-box"},[t.isTogHide?t._e():n("a",{staticClass:"tog-close",attrs:{href:"javascript:"},on:{click:t._toggleMenu}}),t._v(" "),t.isTogHide?n("a",{staticClass:"tog-open",attrs:{href:"javascript:"},on:{click:t._toggleMenu}}):t._e()]),t._v(" "),t._l(t.menuList,function(e,i){return n("div",{staticClass:"leven-1"},[e.path?[n("router-link",{attrs:{to:{name:e.path}}},[n("div",{staticClass:"name",on:{click:function(n){return t._toggleSubMenu(e)}}},[n("a",{attrs:{href:"javascript:"}},[n("i",{staticClass:"fa icon",class:e.icon}),t._v(" "),n("span",[t._v(t._s(e.name))]),t._v(" "),e.children.length?n("i",{staticClass:"fa angle",class:e.isOpen?"fa-angle-down":"fa-angle-right"}):t._e()])])])]:t._e(),t._v(" "),e.path?t._e():[n("div",{staticClass:"name",on:{click:function(n){return t._toggleSubMenu(e)}}},[n("a",{attrs:{href:"javascript:"}},[n("i",{staticClass:"fa icon",class:e.icon}),t._v(" "),n("span",[t._v(t._s(e.name))]),t._v(" "),e.children.length?n("i",{staticClass:"fa angle",class:e.isOpen?"fa-angle-down":"fa-angle-right"}):t._e()])])],t._v(" "),e.isOpen&&e.children.length?n("ul",t._l(e.children,function(e,i){return n("router-link",{attrs:{to:{name:e.path},tag:"li","active-class":"active"}},[n("span",[t._v(t._s(e.name))])])}),1):t._e()],2)})],2)},staticRenderFns:[]};e.a=i},661:function(t,e,n){"use strict";e.__esModule=!0,e.formatDate=void 0;var i,a=n(645),r=(i=a)&&i.__esModule?i:{default:i};e.formatDate=function(t,e){return e=e||"YYYY-MM-DD HH:mm:ss",(0,r.default)(t).format(e)}},663:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(643),a=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,function(){return i[t]})}(r);var s=n(666);var o=function(t){n(664)},l=n(27)(a.a,s.a,!1,o,null,null);e.default=l.exports},664:function(t,e,n){var i=n(665);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(35)("3cb222d8",i,!0,{})},665:function(t,e,n){(t.exports=n(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}",""])},666:function(t,e,n){"use strict";var i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-data-model"},[e("div",{staticClass:"no-data-box"},[this._m(0),this._v(" "),e("div",{staticClass:"text"},[this._v(this._s(this.msg||this.$t("查询无数据")))])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"img"},[e("img",{attrs:{src:n(667),alt:""}})])}]};e.a=i},667:function(t,e,n){t.exports=n.p+"images/errorTip.png?a7b20f0ca8727f22f405c2a34d1363a0"}}); |
|
//# sourceMappingURL=21.6b56d98.js.map
|