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
596 KiB
2 lines
596 KiB
6 years ago
|
webpackJsonp([5],{1023:function(t,e,n){"use strict";e.__esModule=!0;var i=o(n(654)),r=o(n(1103));function o(t){return t&&t.__esModule?t:{default:t}}e.default={name:"definition-details-index",components:{mDefinitionDetails:r.default,mSecondaryMenu:i.default}}},1024:function(t,e,n){"use strict";e.__esModule=!0;var i=l(n(905)),r=l(n(646)),o=l(n(777)),s=l(n(642)),a=n(123);function l(t){return t&&t.__esModule?t:{default:t}}e.default={name:"definition-details",data:function(){return{isLoading:!0,releaseState:""}},mixins:[s.default],props:{},methods:Object.assign({},(0,a.mapMutations)("dag",["resetParams","setIsDetails"]),(0,a.mapActions)("dag",["getProcessList","getResourcesList","getProcessDetails"]),{init:function(){var t=this;this.isLoading=!0,this.resetParams(),Promise.all([this.getProcessDetails(this.$route.params.id),this.getProcessList(),this.getResourcesList()]).then(function(e){var n=e[0];t.setIsDetails("ONLINE"===n.releaseState),t.releaseState=n.releaseState,t.isLoading=!1,o.default.init(t.$root)}).catch(function(){t.isLoading=!1})},_reset:function(){var t=this;this.getProcessDetails(this.$route.params.id).then(function(e){var n=e;t.setIsDetails("ONLINE"===n.releaseState),t.releaseState=n.releaseState})}}),watch:{$route:{deep:!0,handler:function(){this.init()}}},created:function(){this.init()},mounted:function(){},components:{mDag:i.default,mSpin:r.default}}},1103:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1024),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(1104),a=n(27)(r.a,s.a,!1,null,null,null);e.default=a.exports},1104: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 index-model"},[this.isLoading?this._e():e("m-dag",{attrs:{type:"definition","release-state":this.releaseState}}),this._v(" "),e("m-spin",{attrs:{"is-spin":this.isLoading}})],1)},staticRenderFns:[]};e.a=i},1105:function(t,e,n){"use strict";var i={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"main-layout-box"},[e("m-secondary-menu",{attrs:{type:"projects"}}),this._v(" "),e("m-definition-details")],1)},staticRenderFns:[]};e.a=i},606:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1023),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(1105),a=n(27)(r.a,s.a,!1,null,null,null);e.default=a.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}}}},641:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(659),o=(i=r)&&i.__esModule?i:{default:i};e.default={name:"secondary-menu",data:function(){return{menuList:(0,o.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(){}}},642:function(t,e,n){"use strict";e.__esModule=!0;var i=o(n(91)),r=o(n(222));function o(t){return t&&t.__esModule?t:{default:t}}e.default={data:function(){return{router:r.default,store:i.default,isDetails:!1}},created:function(){this.isDetails=this.store.state.dag.isDetails},methods:{},computed:{_isDetails:function(){return this.isDetails?"icon-disabled":""}}}},644:function(t,e,n){var i;i=function(){"use strict";var t=navigator.userAgent,e=navigator.platform,n=/gecko\/\d/i.test(t),i=/MSIE \d/.test(t),r=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(t),o=/Edge\/(\d+)/.exec(t),s=i||r||o,a=s&&(i?document.documentMode||6:+(o||r)[1]),l=!o&&/WebKit\//.test(t),c=l&&/Qt\/\d+\.\d+/.test(t),u=!o&&/Chrome\//.test(t),d=/Opera\//.test(t),h=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(t),f=/PhantomJS/.test(t),m=!o&&/AppleWebKit/.test(t)&&/Mobile\/\w+/.test(t),g=/
|
||
|
//# sourceMappingURL=5.995cbec.js.map
|