EMS2.0-Documents/7.部署文档/Window安装/项目前端文件/IEMS/js/chunk-1933435a.ce1bfb40.js.map

1 line
8.2 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/views/index/index.vue?a3cb","webpack:///src/views/index/index.vue","webpack:///./src/views/index/index.vue?f214","webpack:///./src/views/index/index.vue","webpack:///./src/views/index/index.vue?239b"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","_e","attrs","_l","i","key","tab","class","on","$event","goLink","path","_v","_s","label","staticRenderFns","name","components","computed","mapGetters","data","visible","date","tabList","tabLists","mounted","console","permission_routes","forEach","index","methods","$router","push","getRoutes","e","children","length","route","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,eAAe,CAAEN,EAAW,QAAEI,EAAG,MAAM,CAACE,YAAY,cAAc,CAACN,EAAIO,GAAG,KAAKP,EAAIQ,KAAKJ,EAAG,MAAM,CAACK,MAAM,CAAC,GAAK,UAAU,CAACL,EAAG,MAAM,CAACE,YAAY,gBAAgBF,EAAG,MAAM,CAACE,YAAY,aAAaN,EAAIU,GAAIV,EAAW,SAAE,SAASW,GAAG,OAAOP,EAAG,MAAM,CAACQ,IAAID,EAAEE,IAAIP,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACU,MAAM,OAASH,EAAEE,IAAIE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOhB,EAAIiB,OAAON,EAAEO,UAAUd,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACN,EAAImB,GAAGnB,EAAIoB,GAAGT,EAAEU,eAAc,QAC5hBC,EAAkB,CAAC,WAAa,IAAItB,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,a,yFCsBvJ,GACbiB,KAAMA,QACNC,WAAYA,GAGZC,SAAUA,kBACZC,uCAEEC,KARF,WASI,MAAO,CACLC,SAASA,EACTC,KAAMA,GACNC,QAASA,CACf,CACQT,MAARA,OACQR,IAARA,WACQU,KAARA,iBAEA,CACQF,MAARA,OACQR,IAARA,SACQU,KAARA,iBAEA,CACQF,MAARA,OACQR,IAARA,SACQU,KAARA,iBAEA,CACQF,MAARA,OACQR,IAARA,KACQU,KAARA,kBAGMQ,SAAUA,CAACA,OAAQA,OAAQA,OAAQA,UAGvCC,QArCF,WAqCA,WACIC,QAAQA,IAAIA,KAAKA,mBACjBhC,KAAKiC,kBAAkBC,SAAQ,SAAnC,GACM,IAAN,2CACUC,GAAS,IACXH,QAAQA,IAAIA,EAApBA,cACQ,EAAR,0EAGIA,QAAQA,IAAIA,KAAKA,UAEnBI,QAASA,CACPpB,OADJ,SACAC,GACMjB,KAAKqC,QAAQC,KAAKrB,IAEpBsB,UAJJ,SAIAC,GAAA,gEACM,GAAIA,EAAEC,UAAYD,EAAEC,SAASC,OAAS,EAAG,CACvCC,EAAMA,KAAKA,EAAEA,MACbX,QAAQA,IAAIA,EAAEA,SAAUA,EAAGA,GAC3B,IAAR,kCACQ,OAAON,EAEP,MAAO,GAAf,sCClF8V,I,wBCQ1VkB,EAAY,eACd,EACA9C,EACAuB,GACA,EACA,KACA,WACA,MAIa,aAAAuB,E,2CCnBf,W","file":"js/chunk-1933435a.ce1bfb40.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app-wrapper\"},[(_vm.visible)?_c('div',{staticClass:\"app-header\"},[_vm._m(0)]):_vm._e(),_c('div',{attrs:{\"id\":\"large\"}},[_c('div',{staticClass:\"index-title\"}),_c('div',{staticClass:\"index-tab\"},_vm._l((_vm.tabList),function(i){return _c('div',{key:i.tab,staticClass:\"item\"},[_c('div',{class:\"tab \" + i.tab,on:{\"click\":function($event){return _vm.goLink(i.path)}}}),_c('div',{staticClass:\"name\"},[_vm._v(_vm._s(i.label))])])}),0)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"header-logo\"},[_c('div',{staticClass:\"name\"})])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"app-wrapper\">\r\n <div class=\"app-header\" v-if=\"visible\">\r\n <div class=\"header-logo\">\r\n <div class=\"name\"></div>\r\n </div>\r\n </div>\r\n <div id=\"large\">\r\n <div class=\"index-title\"></div>\r\n <div class=\"index-tab\">\r\n <div class=\"item\" v-for=\"i in tabList\" :key=\"i.tab\">\r\n <div :class=\"`tab ` + i.tab\" @click=\"goLink(i.path)\"></div>\r\n <div class=\"name\">{{ i.label }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport path from 'path'\r\n// import SignOut from \"../layout/components/signOut\"\r\nimport { mapGetters } from 'vuex'\r\nexport default {\r\n name: 'Index',\r\n components: {\r\n // SignOut,\r\n },\r\n computed: {\r\n ...mapGetters(['permission_routes'])\r\n },\r\n data() {\r\n return {\r\n visible: true,\r\n date: '',\r\n tabList: [\r\n {\r\n label: '智慧配电',\r\n tab: 'electirc',\r\n name: 'electircIndex'\r\n },\r\n {\r\n label: '设备监控',\r\n tab: 'device',\r\n name: 'electircIndex'\r\n },\r\n {\r\n label: '能耗管理',\r\n tab: 'energy',\r\n name: 'electircIndex'\r\n },\r\n {\r\n label: '智慧运维',\r\n tab: 'oa',\r\n name: 'electircIndex'\r\n }\r\n ],\r\n tabLists: ['智慧配电', '设备监控', '能耗管理', '智慧运维']\r\n }\r\n },\r\n mounted() {\r\n console.log(this.permission_routes)\r\n this.permission_routes.forEach((e) => {\r\n const index = this.tabLists.indexOf(e.meta && e.meta.title)\r\n if (index > -1) {\r\n console.log(this.getRoutes(e))\r\n this.tabList[index].path = path.resolve(...this.getRoutes(e))\r\n }\r\n })\r\n console.log(this.tabList)\r\n },\r\n methods: {\r\n goLink(path) {\r\n this.$router.push(path)\r\n },\r\n getRoutes(e, route = []) {\r\n if (e.children && e.children.length > 0) {\r\n route.push(e.path)\r\n console.log(e.children, e, route)\r\n const data = this.getRoutes(e.children[0], route)\r\n return data\r\n } else {\r\n return [...route, e.path]\r\n }\r\n }\r\n }\r\n}\r\n</script>\r\n<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>\r\n#large {\r\n .index-title {\r\n width: 848px;\r\n height: 89px;\r\n background-size: cover;\r\n margin: 97px auto 140px;\r\n position: relative;\r\n left: -124px;\r\n }\r\n .index-tab {\r\n width: 100%;\r\n height: 320px;\r\n display: flex;\r\n justify-content: center;\r\n .item {\r\n width: 256px;\r\n height: 320px;\r\n margin: 0 29px;\r\n .tab {\r\n width: 256px;\r\n height: 256px;\r\n border-radius: 50%;\r\n\r\n &:hover {\r\n box-shadow: 0px 11px 38px rgba(0, 0, 0, 0.3);\r\n background-color: rgba(0, 0, 0, 0.2);\r\n }\r\n }\r\n .name {\r\n width: 256px;\r\n height: 24px;\r\n margin-top: 24px;\r\n line-height: 24px;\r\n font-size: 24px;\r\n height: 24px;\r\n text-align: center;\r\n font-family: Source Han Sans CN;\r\n font-weight: 400;\r\n color: #333333;\r\n background-position: 34px 6px;\r\n }\r\n }\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=26a5a424&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=26a5a424&rel=stylesheet%2Fscss&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"26a5a424\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=26a5a424&rel=stylesheet%2Fscss&lang=scss&scoped=true&\""],"sourceRoot":""}