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.
1 lines
34 KiB
1 lines
34 KiB
{"version":3,"sources":["webpack:///src/js/conf/home/pages/projects/index.vue","webpack:///./src/js/conf/home/pages/projects/index.vue?b391","webpack:///./src/js/conf/home/pages/projects/index.vue?7486","webpack:///./src/js/conf/home/pages/projects/index.vue?d307","webpack:///./src/js/conf/home/pages/projects/index.vue","webpack:///src/js/module/components/secondaryMenu/secondaryMenu.vue","webpack:///./src/js/module/components/secondaryMenu/secondaryMenu.vue","webpack:///./src/js/module/components/secondaryMenu/secondaryMenu.vue?d84e","webpack:///./src/js/module/components/secondaryMenu/secondaryMenu.vue?0079","webpack:///./src/js/module/components/secondaryMenu/_source/close.png","webpack:///./src/js/module/components/secondaryMenu/_source/open.png","webpack:///./src/js/module/components/secondaryMenu/_source/menu.js","webpack:///./src/lib/external/config.js","webpack:///./src/js/module/components/secondaryMenu/secondaryMenu.vue?0d09"],"names":["name","data","isProjectsList","this","$router","history","current","watch","$route","_ref","components","mSecondaryMenu","_secondaryMenu2","default","content","__webpack_require__","module","i","locals","exports","push","esExports","render","_h","$createElement","_c","_self","staticClass","class","_e","attrs","type","_v","staticRenderFns","__webpack_exports__","Object","defineProperty","value","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_index_vue__","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_index_vue___default","n","__WEBPACK_IMPORT_KEY__","key","d","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4402d35e_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_index_vue__","__vue_styles__","ssrContext","Component","normalizeComponent","a","menuList","_menu2","index","id","params","isTogHide","props","String","className","is","layoutBox","$","addClass","removeClass","methods","_toggleSubMenu","item","isOpen","_toggleMenu","mounted","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_secondaryMenu_vue__","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_secondaryMenu_vue___default","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_5fefe562_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_secondaryMenu_vue__","escape","p","menu","projects","i18n","$t","path","disabled","icon","children","config","recordSwitch","security","resource","user","Permissions","getAuth","monitor","_vm","href","on","click","_l","$index","to","$event","_s","length","el","tag","active-class"],"mappings":"mIASAA,KAAA,iBACAC,KAFA,WAGA,OACAC,eAAA,kBAAAC,KAAAC,QAAAC,QAAAC,QAAAN,OAGAO,OACAC,OADA,SAAAC,GACA,IAAAT,EAAAS,EAAAT,KACAG,KAAAD,eAAA,kBAAAF,IAGAU,YAAAC,eAAAC,EAAAC,gCCjBA,IAAAC,EAAcC,EAAQ,MACtB,iBAAAD,QAA4CE,EAAAC,EAASH,EAAA,MACrDA,EAAAI,SAAAF,EAAAG,QAAAL,EAAAI,QAEaH,EAAQ,GAARA,CAAyG,WAAAD,GAAA,6BCPtHE,EAAAG,QAA2BJ,EAAQ,GAARA,EAAmE,IAK9FK,MAAcJ,EAAAC,EAAS,+aAA+a,wCCLtc,IAEAI,GAAiBC,OAFjB,WAA0B,IAAaC,EAAbpB,KAAaqB,eAA0BC,EAAvCtB,KAAuCuB,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,kBAAAC,MAAhFzB,KAAgFD,eAAA,UAAhFC,KAAoJD,eAApJC,KAA6N0B,KAAzEJ,EAAA,oBAA+CK,OAAOC,KAAA,cAA1M5B,KAA6N6B,GAAA,KAAAP,EAAA,oBAEtOQ,oBACFC,EAAA,sCCHfC,OAAAC,eAAAF,EAAA,cAAAG,OAAA,QAAAC,EAAAvB,EAAA,MAAAwB,EAAAxB,EAAAyB,EAAAF,GAAA,QAAAG,KAAAH,E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AC,OAAA,mCAA8EwB,EAAA9D,YAAA8D,EAAA9D,KAAA8D,EAAA3D,GAAA,KAAAkC,EAAAa,KAAsZY,EAAA9D,MAAtZJ,EAAA,OAA+DE,YAAA,OAAAkE,IAAuBC,MAAA,SAAAI,GAAyB,OAAAP,EAAA1B,eAAAC,OAAkCzC,EAAA,KAAUK,OAAO8D,KAAA,iBAAsBnE,EAAA,KAAUE,YAAA,UAAAC,MAAAsC,EAAAe,OAAsCU,EAAA3D,GAAA,KAAAP,EAAA,QAAAkE,EAAA3D,GAAA2D,EAAAQ,GAAAjC,EAAAlE,SAAA2F,EAAA3D,GAAA,KAAAkC,EAAAgB,SAAA,OAAAzD,EAAA,KAAgGE,YAAA,WAAAC,MAAAsC,EAAAC,OAAA,mCAA8EwB,EAAA9D,UAAA8D,EAAA3D,GAAA,KAAAkC,EAAAC,QAAAD,EAAAgB,SAAAkB,OAAA3E,EAAA,MAAAkE,EAAAI,GAAA7B,EAAA,kBAAAmC,EAAAjD,GAA8H,OAAAiD,EAAA,SAAA5E,EAAA,eAAwCK,OAAOmE,IAAMjG,KAAAqG,EAAAtB,MAAeuB,IAAA,KAAAC,eAAA,YAAqC9E,EAAA,QAAAkE,EAAA3D,GAAA2D,EAAAQ,GAAAE,EAAArG,WAAA2F,EAAA9D,SAAmD,GAAA8D,EAAA9D,MAAA,GAAA8D,EAAA9D,UAA8B,IAE1pDI,oBACFC,EAAA","file":"js/34.14935c5.js","sourcesContent":["<template>\n <div class=\"main-layout-box\" :class=\"!isProjectsList ? '' : 'no'\">\n <m-secondary-menu :type=\"'projects'\" v-if=\"!isProjectsList\"></m-secondary-menu>\n <router-view></router-view>\n </div>\n</template>\n<script>\n import mSecondaryMenu from '@/module/components/secondaryMenu/secondaryMenu'\n export default {\n name: 'projects-index',\n data () {\n return {\n isProjectsList: this.$router.history.current.name === 'projects-list'\n }\n },\n watch: {\n '$route' ({ name }) {\n this.isProjectsList = name === 'projects-list'\n }\n },\n components: { mSecondaryMenu }\n }\n</script>\n\n<style lang=\"scss\" rel=\"stylesheet/scss\">\n .toolbar-color-sp,.state-tasks-color-sp {\n >a {\n display: inline-block;\n margin-right: 10px;\n cursor:default;\n &:hover {\n span {\n color: #333;\n }\n }\n >i {\n border-radius: 10px;\n display: inline-block;\n vertical-align: middle;\n font-size: 14px;\n }\n span {\n vertical-align: middle;\n font-size: 12px;\n }\n }\n }\n .toolbar-color-sp {\n >a {\n >i {\n font-size: 15px;\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/js/conf/home/pages/projects/index.vue","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js?minimize!../../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-4402d35e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../../../../node_modules/sass-loader/lib/loader.js!../../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./index.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar update = require(\"!../../../../../../node_modules/vue-loader/node_modules/vue-style-loader/lib/addStylesClient.js\")(\"7d712a0e\", content, true, {});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/node_modules/vue-style-loader!./node_modules/css-loader?minimize!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-4402d35e\",\"scoped\":false,\"hasInlineConfig\":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/js/conf/home/pages/projects/index.vue\n// module id = 1154\n// module chunks = 34","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".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}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-loader?minimize!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-4402d35e\",\"scoped\":false,\"hasInlineConfig\":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/js/conf/home/pages/projects/index.vue\n// module id = 1155\n// module chunks = 34","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"main-layout-box\",class:!_vm.isProjectsList ? '' : 'no'},[(!_vm.isProjectsList)?_c('m-secondary-menu',{attrs:{\"type\":'projects'}}):_vm._e(),_vm._v(\" \"),_c('router-view')],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4402d35e\",\"hasScoped\":false,\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/js/conf/home/pages/projects/index.vue\n// module id = 1156\n// module chunks = 34","function injectStyle (ssrContext) {\n require(\"!!vue-loader/node_modules/vue-style-loader!css-loader?minimize!../../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-4402d35e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader!../../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4402d35e\\\",\\\"hasScoped\\\":false,\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/conf/home/pages/projects/index.vue\n// module id = 611\n// module chunks = 34","<template>\n <div class=\"secondary-menu-model\" :class=\"className\" >\n <div class=\"toogle-box\">\n <a href=\"javascript:\" class=\"tog-close\" @click=\"_toggleMenu\" v-if=\"!isTogHide\"></a>\n <a href=\"javascript:\" class=\"tog-open\" @click=\"_toggleMenu\" v-if=\"isTogHide\"></a>\n </div>\n <div class=\"leven-1\" v-for=\"(item,$index) in menuList\">\n <div v-if=\"item.disabled\">\n <template v-if=\"item.path\">\n <router-link :to=\"{ name: item.path}\">\n <div class=\"name\" @click=\"_toggleSubMenu(item)\">\n <a href=\"javascript:\">\n <i class=\"fa icon\" :class=\"item.icon\"></i>\n <span>{{item.name}}</span>\n <i class=\"fa angle\" :class=\"item.isOpen ? 'fa-angle-down' : 'fa-angle-right'\" v-if=\"item.children.length\"></i>\n </a>\n </div>\n </router-link>\n </template>\n <template v-if=\"!item.path\">\n <div class=\"name\" @click=\"_toggleSubMenu(item)\">\n <a href=\"javascript:\">\n <i class=\"fa icon\" :class=\"item.icon\"></i>\n <span>{{item.name}}</span>\n <i class=\"fa angle\" :class=\"item.isOpen ? 'fa-angle-down' : 'fa-angle-right'\" v-if=\"item.children.length\"></i>\n </a>\n </div>\n </template>\n <ul v-if=\"item.isOpen && item.children.length\">\n <template v-for=\"(el,index) in item.children\">\n <router-link :to=\"{ name: el.path}\" tag=\"li\" active-class=\"active\" v-if=\"el.disabled\">\n <span>{{el.name}}</span>\n </router-link>\n </template>\n </ul>\n </div>\n </div>\n </div>\n</template>\n<script>\n import menu from './_source/menu'\n\n export default {\n name: 'secondary-menu',\n data () {\n return {\n menuList: menu(this.type),\n index: 0,\n id: this.$route.params.id,\n isTogHide: false\n }\n },\n props: {\n type: String,\n className: String\n },\n watch: {\n isTogHide (is) {\n let layoutBox = $('.main-layout-box')\n is ? layoutBox.addClass('toggle') : layoutBox.removeClass('toggle')\n }\n },\n methods: {\n _toggleSubMenu (item) {\n item.isOpen = !item.isOpen\n },\n _toggleMenu () {\n this.isTogHide = !this.isTogHide\n }\n },\n mounted () {\n }\n }\n</script>\n\n<style lang=\"scss\" rel=\"stylesheet/scss\">\n .main-layout-box {\n &.toggle {\n padding-left: 0;\n >.secondary-menu-model {\n left:-200px;\n }\n }\n }\n .secondary-menu-model {\n position: fixed;\n left: 0;\n top: 0;\n width: 200px;\n background: #41444C;\n height: calc(100%);\n padding-top: 80px;\n .toogle-box {\n position: absolute;\n right: -1px;\n top: calc(50% - 50px);\n .tog-close {\n width: 12px;\n height: 102px;\n background: url(\"./_source/close.png\") no-repeat;\n display: inline-block;\n }\n .tog-open {\n width: 12px;\n height: 102px;\n background: url(\"./_source/open.png\") no-repeat;\n display: inline-block;\n position: absolute;\n right: -12px;\n top: 0;\n }\n }\n .leven-1 {\n .name {\n a {\n height: 40px;\n line-height: 40px;\n display: block;\n position: relative;\n padding-left: 10px;\n >.icon {\n vertical-align: middle;\n font-size: 15px;\n width: 20px;\n text-align: center;\n color: #fff;\n }\n >span {\n vertical-align: middle;\n padding-left: 2px;\n font-size: 14px;\n color: #fff;\n }\n >.angle {\n position: absolute;\n right: 12px;\n top: 14px;\n }\n\n }\n }\n ul {\n li {\n height: 36px;\n line-height: 36px;\n cursor: pointer;\n padding-left: 39px;\n color: #fff;\n a {\n font-size: 14px;\n }\n &.active {\n border-right: 2px solid #2d8cf0;\n background: #2C2F39;\n span {\n font-weight: bold;\n color: #2d8cf0;\n }\n }\n }\n }\n >.router-link-exact-active,.router-link-active {\n background: #f0f6fb;\n .name {\n border-right: 2px solid #2d8cf0;\n background: #2B2E38;\n a {\n span {\n color: #2d8cf0;\n font-weight: bold;\n }\n .fa {\n color: #2d8cf0;\n }\n }\n }\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/js/module/components/secondaryMenu/secondaryMenu.vue","function injectStyle (ssrContext) {\n require(\"!!vue-loader/node_modules/vue-style-loader!css-loader?minimize!../../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5fefe562\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader!../../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./secondaryMenu.vue\")\n}\nvar normalizeComponent = require(\"!../../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./secondaryMenu.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./secondaryMenu.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5fefe562\\\",\\\"hasScoped\\\":false,\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./secondaryMenu.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/module/components/secondaryMenu/secondaryMenu.vue\n// module id = 742\n// module chunks = 0 1 2 3 4 5 6 17 18 19 20 21 22 25 27 34 36 37 38 39","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js?minimize!../../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5fefe562\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../../../node_modules/sass-loader/lib/loader.js!../../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./secondaryMenu.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar update = require(\"!../../../../../node_modules/vue-loader/node_modules/vue-style-loader/lib/addStylesClient.js\")(\"018f4828\", content, true, {});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/node_modules/vue-style-loader!./node_modules/css-loader?minimize!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-5fefe562\",\"scoped\":false,\"hasInlineConfig\":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/js/module/components/secondaryMenu/secondaryMenu.vue\n// module id = 743\n// module chunks = 0 1 2 3 4 5 6 17 18 19 20 21 22 25 27 34 36 37 38 39","var escape = require(\"../../../../../node_modules/css-loader/lib/url/escape.js\");\nexports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".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(\" + escape(require(\"./_source/close.png\")) + \") no-repeat;display:inline-block}.secondary-menu-model .toogle-box .tog-open{width:12px;height:102px;background:url(\" + escape(require(\"./_source/open.png\")) + \") 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}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-loader?minimize!./node_modules/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-5fefe562\",\"scoped\":false,\"hasInlineConfig\":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/js/module/components/secondaryMenu/secondaryMenu.vue\n// module id = 744\n// module chunks = 0 1 2 3 4 5 6 17 18 19 20 21 22 25 27 34 36 37 38 39","module.exports = __webpack_public_path__ + \"images/close.png?02806e641df25c1b4dbff4cb0af3984d\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/module/components/secondaryMenu/_source/close.png\n// module id = 745\n// module chunks = 0 1 2 3 4 5 6 17 18 19 20 21 22 25 27 34 36 37 38 39","module.exports = __webpack_public_path__ + \"images/open.png?97ec0726c7acab8a2a48282d68cea631\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/js/module/components/secondaryMenu/_source/open.png\n// module id = 746\n// module chunks = 0 1 2 3 4 5 6 17 18 19 20 21 22 25 27 34 36 37 38 39","/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport i18n from '@/module/i18n'\nimport config from '~/external/config'\nimport Permissions from '@/module/permissions'\n\nlet menu = {\n projects: [\n {\n name: `${i18n.$t('Project Home')}`,\n id: 0,\n path: 'projects-index',\n isOpen: true,\n disabled: true,\n icon: 'fa-home',\n children: []\n },\n {\n name: `${i18n.$t('Process')}`,\n id: 1,\n path: '',\n isOpen: true,\n disabled: true,\n icon: 'fa-gear',\n children: [\n {\n name: `${i18n.$t('Process definition')}`,\n path: 'definition',\n id: 0,\n disabled: true\n },\n {\n name: `${i18n.$t('Process Instance')}`,\n path: 'instance',\n id: 1,\n disabled: true\n },\n {\n name: `${i18n.$t('Task Instance')}`,\n path: 'task-instance',\n id: 2,\n disabled: true\n },\n {\n name: `${i18n.$t('Task record')}`,\n path: 'task-record',\n id: 3,\n disabled: config.recordSwitch\n },\n {\n name: `${i18n.$t('History task record')}`,\n path: 'history-task-record',\n id: 4,\n disabled: config.recordSwitch\n }\n ]\n }\n ],\n\n security: [\n {\n name: `${i18n.$t('Tenant Manage')}`,\n id: 0,\n path: 'tenement-manage',\n isOpen: true,\n disabled: true,\n icon: 'fa-users',\n children: []\n },\n {\n name: `${i18n.$t('User Manage')}`,\n id: 1,\n path: 'users-manage',\n isOpen: true,\n disabled: true,\n icon: 'fa-user-circle',\n children: []\n },\n {\n name: `${i18n.$t('Warning group manage')}`,\n id: 2,\n path: 'warning-groups-manage',\n isOpen: true,\n disabled: true,\n icon: 'fa-warning',\n children: []\n },\n {\n name: `${i18n.$t('Queue manage')}`,\n id: 3,\n path: 'queue-manage',\n isOpen: true,\n disabled: true,\n icon: 'fa-recycle',\n children: []\n },\n {\n name: `${i18n.$t('Worker group manage')}`,\n id: 4,\n path: 'worker-groups-manage',\n isOpen: true,\n disabled: true,\n icon: 'fa-address-book',\n children: []\n },\n {\n name: `${i18n.$t('Token manage')}`,\n id: 2,\n path: 'token-manage',\n isOpen: true,\n icon: 'fa-file-text',\n children: [],\n disabled: true\n }\n ],\n resource: [\n {\n name: `${i18n.$t('File Manage')}`,\n id: 0,\n path: 'file',\n isOpen: true,\n icon: 'fa-files-o',\n children: [],\n disabled: true\n },\n {\n name: `${i18n.$t('UDF manage')}`,\n id: 1,\n path: '',\n isOpen: true,\n icon: 'fa-file-text',\n disabled: true,\n children: [\n {\n name: `${i18n.$t('Resource manage')}`,\n path: 'resource-udf-resource',\n id: 0,\n disabled: true\n },\n {\n name: `${i18n.$t('Function manage')}`,\n path: 'resource-udf-function',\n id: 1,\n disabled: true\n }\n ]\n }\n ],\n user: [\n {\n name: `${i18n.$t('User Information')}`,\n id: 0,\n path: 'account',\n isOpen: true,\n icon: 'fa-user',\n children: [],\n disabled: true\n },\n {\n name: `${i18n.$t('Edit password')}`,\n id: 1,\n path: 'password',\n isOpen: true,\n icon: 'fa-key',\n children: [],\n disabled: true\n },\n {\n name: `${i18n.$t('Token manage')}`,\n id: 2,\n path: 'token',\n isOpen: true,\n icon: 'fa-file-text',\n children: [],\n disabled: Permissions.getAuth()\n }\n ],\n monitor: [\n {\n name: `${i18n.$t('Servers manage')}`,\n id: 0,\n path: '',\n isOpen: true,\n disabled: true,\n icon: 'fa-server',\n children: [\n {\n name: 'Master',\n path: 'servers-master',\n id: 0,\n disabled: true\n },\n {\n name: 'Worker',\n path: 'servers-worker',\n id: 1,\n disabled: true\n },\n // {\n // name: 'Alert',\n // path: 'servers-alert',\n // id: 2,\n // disabled: true\n // },\n // {\n // name: 'RpcServer',\n // path: 'servers-rpcserver',\n // id: 3,\n // disabled: true\n // },\n {\n name: 'Zookeeper',\n path: 'servers-zookeeper',\n id: 4,\n disabled: true\n },\n // {\n // name: 'ApiServer',\n // path: 'servers-apiserver',\n // id: 5,\n // disabled: true\n // },\n {\n name: 'Mysql',\n path: 'servers-mysql',\n id: 6,\n disabled: true\n }\n ]\n }\n ]\n}\n\nexport default type => menu[type]\n\n\n\n// WEBPACK FOOTER //\n// ./src/js/module/components/secondaryMenu/_source/menu.js","/**\n * project external config\n */\nexport default {\n // qianfan task record switch\n recordSwitch:true\n}\n\n\n// WEBPACK FOOTER //\n// ./src/lib/external/config.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"secondary-menu-model\",class:_vm.className},[_c('div',{staticClass:\"toogle-box\"},[(!_vm.isTogHide)?_c('a',{staticClass:\"tog-close\",attrs:{\"href\":\"javascript:\"},on:{\"click\":_vm._toggleMenu}}):_vm._e(),_vm._v(\" \"),(_vm.isTogHide)?_c('a',{staticClass:\"tog-open\",attrs:{\"href\":\"javascript:\"},on:{\"click\":_vm._toggleMenu}}):_vm._e()]),_vm._v(\" \"),_vm._l((_vm.menuList),function(item,$index){return _c('div',{staticClass:\"leven-1\"},[(item.disabled)?_c('div',[(item.path)?[_c('router-link',{attrs:{\"to\":{ name: item.path}}},[_c('div',{staticClass:\"name\",on:{\"click\":function($event){return _vm._toggleSubMenu(item)}}},[_c('a',{attrs:{\"href\":\"javascript:\"}},[_c('i',{staticClass:\"fa icon\",class:item.icon}),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(item.name))]),_vm._v(\" \"),(item.children.length)?_c('i',{staticClass:\"fa angle\",class:item.isOpen ? 'fa-angle-down' : 'fa-angle-right'}):_vm._e()])])])]:_vm._e(),_vm._v(\" \"),(!item.path)?[_c('div',{staticClass:\"name\",on:{\"click\":function($event){return _vm._toggleSubMenu(item)}}},[_c('a',{attrs:{\"href\":\"javascript:\"}},[_c('i',{staticClass:\"fa icon\",class:item.icon}),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(item.name))]),_vm._v(\" \"),(item.children.length)?_c('i',{staticClass:\"fa angle\",class:item.isOpen ? 'fa-angle-down' : 'fa-angle-right'}):_vm._e()])])]:_vm._e(),_vm._v(\" \"),(item.isOpen && item.children.length)?_c('ul',[_vm._l((item.children),function(el,index){return [(el.disabled)?_c('router-link',{attrs:{\"to\":{ name: el.path},\"tag\":\"li\",\"active-class\":\"active\"}},[_c('span',[_vm._v(_vm._s(el.name))])]):_vm._e()]})],2):_vm._e()],2):_vm._e()])})],2)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-5fefe562\",\"hasScoped\":false,\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/js/module/components/secondaryMenu/secondaryMenu.vue\n// module id = 749\n// module chunks = 0 1 2 3 4 5 6 17 18 19 20 21 22 25 27 34 36 37 38 39"],"sourceRoot":""} |