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
8.8 KiB
2 lines
8.8 KiB
webpackJsonp([34],{1077:function(e,a,t){"use strict";a.__esModule=!0;var n,i=t(742),o=(n=i)&&n.__esModule?n:{default:n};a.default={name:"projects-index",data:function(){return{isProjectsList:"projects-list"===this.$router.history.current.name}},watch:{$route:function(e){var a=e.name;this.isProjectsList="projects-list"===a}},components:{mSecondaryMenu:o.default}}},1154:function(e,a,t){var n=t(1155);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);t(35)("7d712a0e",n,!0,{})},1155:function(e,a,t){(e.exports=t(34)(!1)).push([e.i,".state-tasks-color-sp>a,.toolbar-color-sp>a{display:inline-block;margin-right:10px;cursor:default}.state-tasks-color-sp>a:hover span,.toolbar-color-sp>a:hover span{color:#333}.state-tasks-color-sp>a>i,.toolbar-color-sp>a>i{border-radius:10px;display:inline-block;vertical-align:middle;font-size:14px}.state-tasks-color-sp>a span,.toolbar-color-sp>a span{vertical-align:middle;font-size:12px}.toolbar-color-sp>a>i{font-size:15px}",""])},1156:function(e,a,t){"use strict";var n={render:function(){var e=this.$createElement,a=this._self._c||e;return a("div",{staticClass:"main-layout-box",class:this.isProjectsList?"no":""},[this.isProjectsList?this._e():a("m-secondary-menu",{attrs:{type:"projects"}}),this._v(" "),a("router-view")],1)},staticRenderFns:[]};a.a=n},611:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t(1077),i=t.n(n);for(var o in n)"default"!==o&&function(e){t.d(a,e,function(){return n[e]})}(o);var s=t(1156);var r=function(e){t(1154)},l=t(29)(i.a,s.a,!1,r,null,null);a.default=l.exports},705:function(e,a,t){"use strict";a.__esModule=!0;var n,i=t(747),o=(n=i)&&n.__esModule?n:{default:n};a.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(e){var a=$(".main-layout-box");e?a.addClass("toggle"):a.removeClass("toggle")}},methods:{_toggleSubMenu:function(e){e.isOpen=!e.isOpen},_toggleMenu:function(){this.isTogHide=!this.isTogHide}},mounted:function(){}}},742:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t(705),i=t.n(n);for(var o in n)"default"!==o&&function(e){t.d(a,e,function(){return n[e]})}(o);var s=t(749);var r=function(e){t(743)},l=t(29)(i.a,s.a,!1,r,null,null);a.default=l.exports},743:function(e,a,t){var n=t(744);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);t(35)("018f4828",n,!0,{})},744:function(e,a,t){var n=t(125);(e.exports=t(34)(!1)).push([e.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("+n(t(745))+") no-repeat;display:inline-block}.secondary-menu-model .toogle-box .tog-open{width:12px;height:102px;background:url("+n(t(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(e,a,t){e.exports=t.p+"images/close.png?02806e641df25c1b4dbff4cb0af3984d"},746:function(e,a,t){e.exports=t.p+"images/open.png?97ec0726c7acab8a2a48282d68cea631"},747:function(e,a,t){"use strict";a.__esModule=!0;var n=s(t(36)),i=s(t(748)),o=s(t(124));function s(e){return e&&e.__esModule?e:{default:e}}var r={projects:[{name:""+n.default.$t("Project Home"),id:0,path:"projects-index",isOpen:!0,disabled:!0,icon:"fa-home",children:[]},{name:""+n.default.$t("Process"),id:1,path:"",isOpen:!0,disabled:!0,icon:"fa-gear",children:[{name:""+n.default.$t("Process definition"),path:"definition",id:0,disabled:!0},{name:""+n.default.$t("Process Instance"),path:"instance",id:1,disabled:!0},{name:""+n.default.$t("Task Instance"),path:"task-instance",id:2,disabled:!0},{name:""+n.default.$t("Task record"),path:"task-record",id:3,disabled:i.default.recordSwitch},{name:""+n.default.$t("History task record"),path:"history-task-record",id:4,disabled:i.default.recordSwitch}]}],security:[{name:""+n.default.$t("Tenant Manage"),id:0,path:"tenement-manage",isOpen:!0,disabled:!0,icon:"fa-users",children:[]},{name:""+n.default.$t("User Manage"),id:1,path:"users-manage",isOpen:!0,disabled:!0,icon:"fa-user-circle",children:[]},{name:""+n.default.$t("Warning group manage"),id:2,path:"warning-groups-manage",isOpen:!0,disabled:!0,icon:"fa-warning",children:[]},{name:""+n.default.$t("Queue manage"),id:3,path:"queue-manage",isOpen:!0,disabled:!0,icon:"fa-recycle",children:[]},{name:""+n.default.$t("Worker group manage"),id:4,path:"worker-groups-manage",isOpen:!0,disabled:!0,icon:"fa-address-book",children:[]},{name:""+n.default.$t("Token manage"),id:2,path:"token-manage",isOpen:!0,icon:"fa-file-text",children:[],disabled:!0}],resource:[{name:""+n.default.$t("File Manage"),id:0,path:"file",isOpen:!0,icon:"fa-files-o",children:[],disabled:!0},{name:""+n.default.$t("UDF manage"),id:1,path:"",isOpen:!0,icon:"fa-file-text",disabled:!0,children:[{name:""+n.default.$t("Resource manage"),path:"resource-udf-resource",id:0,disabled:!0},{name:""+n.default.$t("Function manage"),path:"resource-udf-function",id:1,disabled:!0}]}],user:[{name:""+n.default.$t("User Information"),id:0,path:"account",isOpen:!0,icon:"fa-user",children:[],disabled:!0},{name:""+n.default.$t("Edit password"),id:1,path:"password",isOpen:!0,icon:"fa-key",children:[],disabled:!0},{name:""+n.default.$t("Token manage"),id:2,path:"token",isOpen:!0,icon:"fa-file-text",children:[],disabled:o.default.getAuth()}],monitor:[{name:""+n.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}]}]};a.default=function(e){return r[e]}},748:function(e,a,t){"use strict";a.__esModule=!0,a.default={recordSwitch:!0}},749:function(e,a,t){"use strict";var n={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"secondary-menu-model",class:e.className},[t("div",{staticClass:"toogle-box"},[e.isTogHide?e._e():t("a",{staticClass:"tog-close",attrs:{href:"javascript:"},on:{click:e._toggleMenu}}),e._v(" "),e.isTogHide?t("a",{staticClass:"tog-open",attrs:{href:"javascript:"},on:{click:e._toggleMenu}}):e._e()]),e._v(" "),e._l(e.menuList,function(a,n){return t("div",{staticClass:"leven-1"},[a.disabled?t("div",[a.path?[t("router-link",{attrs:{to:{name:a.path}}},[t("div",{staticClass:"name",on:{click:function(t){return e._toggleSubMenu(a)}}},[t("a",{attrs:{href:"javascript:"}},[t("i",{staticClass:"fa icon",class:a.icon}),e._v(" "),t("span",[e._v(e._s(a.name))]),e._v(" "),a.children.length?t("i",{staticClass:"fa angle",class:a.isOpen?"fa-angle-down":"fa-angle-right"}):e._e()])])])]:e._e(),e._v(" "),a.path?e._e():[t("div",{staticClass:"name",on:{click:function(t){return e._toggleSubMenu(a)}}},[t("a",{attrs:{href:"javascript:"}},[t("i",{staticClass:"fa icon",class:a.icon}),e._v(" "),t("span",[e._v(e._s(a.name))]),e._v(" "),a.children.length?t("i",{staticClass:"fa angle",class:a.isOpen?"fa-angle-down":"fa-angle-right"}):e._e()])])],e._v(" "),a.isOpen&&a.children.length?t("ul",[e._l(a.children,function(a,n){return[a.disabled?t("router-link",{attrs:{to:{name:a.path},tag:"li","active-class":"active"}},[t("span",[e._v(e._s(a.name))])]):e._e()]})],2):e._e()],2):e._e()])})],2)},staticRenderFns:[]};a.a=n}}); |
|
//# sourceMappingURL=34.14935c5.js.map
|