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

9 lines
611 KiB

webpackJsonp([3],{1033:function(t,e,n){"use strict";e.__esModule=!0;var i=o(n(654)),r=o(n(1130));function o(t){return t&&t.__esModule?t:{default:t}}e.default={name:"instance-details-index",data:function(){return{}},props:{},methods:{},watch:{},created:function(){},mounted:function(){},updated:function(){},beforeDestroy:function(){},destroyed:function(){},computed:{},components:{mInstanceDetails:r.default,mSecondaryMenu:i.default}}},1034:function(t,e,n){"use strict";e.__esModule=!0;var i=c(n(905)),r=n(123),o=c(n(646)),s=c(n(1131)),a=c(n(777)),l=c(n(642));function c(t){return t&&t.__esModule?t:{default:t}}e.default={name:"instance-details",data:function(){return{isLoading:!0}},mixins:[l.default],props:{},methods:Object.assign({},(0,r.mapMutations)("dag",["setIsDetails","resetParams"]),(0,r.mapActions)("dag",["getProcessList","getResourcesList","getInstancedetail"]),{init:function(){var t=this;this.isLoading=!0,this.resetParams(),Promise.all([this.getInstancedetail(this.$route.params.id),this.getProcessList(),this.getResourcesList()]).then(function(e){var n=e[0],i=!1;i="WAITTING_THREAD"!==n.state&&"SUCCESS"!==n.state&&"PAUSE"!==n.state&&"FAILURE"!==n.state&&"STOP"!==n.state,t.setIsDetails(i),t.isLoading=!1,a.default.init(t.$root)}).catch(function(){t.isLoading=!1})},_reset:function(){var t=this;this.getInstancedetail(this.$route.params.id).then(function(e){var n=e,i=!1;i="WAITTING_THREAD"!==n.state&&"SUCCESS"!==n.state&&"PAUSE"!==n.state&&"FAILURE"!==n.state&&"STOP"!==n.state,t.setIsDetails(i)})}}),watch:{$route:{deep:!0,handler:function(){this.init()}}},created:function(){this.init()},mounted:function(){},components:{mDag:i.default,mSpin:o.default,mVariable:s.default}}},1035:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(1132),o=(i=r)&&i.__esModule?i:{default:i};e.default={name:"assist-dag-index",data:function(){return{isView:!1}},methods:{_toggleView:function(){this.isView=!this.isView}},components:{mVariablesView:o.default}}},1036:function(t,e,n){"use strict";e.__esModule=!0;var i=s(n(36)),r=n(123),o=s(n(1135));function s(t){return t&&t.__esModule?t:{default:t}}e.default={name:"variables-view",data:function(){return{list:{}}},props:{},methods:Object.assign({},(0,r.mapActions)("dag",["getViewvariables"]),{_getViewvariables:function(){var t=this;this.getViewvariables({processInstanceId:this.$route.params.id}).then(function(e){t.list=e.data}).catch(function(e){t.$message.error(e.msg||"")})},_copy:function(t){var e=this,n=new o.default("."+t);n.on("success",function(t){e.$message.success(""+i.default.$t("复制成功")),n.destroy()}),n.on("error",function(t){e.$message.warning(""+i.default.$t("该浏览器不支持自动复制")),n.destroy()})},_rtClipboard:function(t){var e=[];return Object.keys(t).forEach(function(n){e.push(n+"="+t[n])}),e.join(" ")}}),watch:{},created:function(){this._getViewvariables()},mounted:function(){}}},1128:function(t,e,n){var i=n(1129);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(35)("72c6446a",i,!0,{})},1129:function(t,e,n){(t.exports=n(34)(!1)).push([t.i,"",""])},1130:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1034),r=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);var s=n(1138),a=n(27)(r.a,s.a,!1,null,null,null);e.default=a.exports},1131:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1035),r=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);var s=n(1137),a=n(27)(r.a,s.a,!1,null,null,null);e.default=a.exports},1132:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1036),r=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);var s=n(1136);var a=function(t){n(1133)},l=n(27)(r.a,s.a,!1,a,null,null);e.default=l.exports},1133:function(t,e,n){var i=n(1134);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(35)("5f1ca935",i,!0,{})},1134:function(t,e,n){(t.exports=n(34)(!1)).push([t.i,".variable-model{padding:10px;padding-bottom:
/*!
* clipboard.js v2.0.4
* https://zenorocha.github.io/clipboard.js
*
* Licensed MIT © Zeno Rocha
*/
var i;i=function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),o=l(n(1)),s=l(n(3)),a=l(n(4));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.resolveOptions(n),i.listenClick(t),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,s.default),r(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===i(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,a.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return u("action",t)}},{key:"defaultTarget",value:function(t){var e=u("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return u("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}();function u(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}t.exports=c},function(t,e,n){"use strict";var i,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value
//# sourceMappingURL=3.e2b18bf.js.map