{"remainingRequest":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js??ref--0-2!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\components\\common\\Home.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\components\\common\\Home.vue","mtime":1664246393752},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\babel.config.js","mtime":1663828782900},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js","mtime":1540864632000}],"contextDependencies":[],"result":["import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/es6.set\";\nimport \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport vHead from \"./Header.vue\";\nimport vSidebar from \"./Sidebar.vue\";\nimport vTags from \"./Tags.vue\";\nexport default {\n data: function data() {\n return {};\n },\n computed: {\n collapse: function collapse() {\n return this.$store.getters['getCollapse'];\n },\n tagsList: function tagsList() {\n var arr = [],\n msg = this.$store.getters['getTagsList'];\n\n for (var i = 0, len = msg.length; i < len; i++) {\n msg[i].name && arr.push(msg[i].name);\n }\n\n return arr;\n },\n popupsList: function popupsList() {\n return this.$store.getters.getPopups;\n },\n routePath: function routePath() {\n return this.$route.path == '/passengerFlow/index' || this.$route.path == '/videoSurveillance/index';\n }\n },\n methods: {\n beforeunloadHandler: function beforeunloadHandler() {\n //页面刷新\n var taglist = this.$store.getters['getTagsList'] || [];\n sessionStorage.setItem('tabs', JSON.stringify(taglist));\n },\n // 获取用户权限\n getElement: function getElement() {\n var _this = this;\n\n this.$http.post('/sc-user-center/menu/selectAuthCode').then(function (res) {\n var data = res.data || [];\n\n _this.$store.commit('setPermissionList', new Set(data));\n\n console.log('获取到的权限标识为', data);\n });\n },\n beforeunload: function beforeunload() {\n window.addEventListener('beforeunload', this.beforeunloadHandler, false);\n }\n },\n components: {\n vHead: vHead,\n vSidebar: vSidebar,\n vTags: vTags\n },\n created: function created() {\n this.$store.dispatch('SET_MENU_LIST');\n this.getElement();\n this.$store.dispatch('tags', JSON.parse(sessionStorage.getItem('tabs')) || []);\n },\n mounted: function mounted() {\n this.beforeunload();\n },\n destroyed: function destroyed() {\n window.removeEventListener('beforeunload', this.beforeunloadHandler, false);\n }\n};",{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA;AACA;AACA;AACA;AACAA,MADA,kBACA;AACA;AACA,GAHA;AAIAC;AACAC,YADA,sBACA;AACA;AACA,KAHA;AAIAC,YAJA,sBAIA;AACA;AAAA,UACAC,wCADA;;AAEA;AACAA;AACA;;AACA;AACA,KAXA;AAYAC,cAZA,wBAYA;AACA;AACA,KAdA;AAeAC,aAfA,uBAeA;AACA;AACA;AAjBA,GAJA;AAuBAC;AACAC,uBADA,iCACA;AACA;AACA;AACAC;AACA,KALA;AAMA;AACAC,cAPA,wBAOA;AAAA;;AACA;AACA;;AACA;;AACAC;AACA,OAJA;AAKA,KAbA;AAcAC,gBAdA,0BAcA;AACAC;AACA;AAhBA,GAvBA;AAyCAC;AACAC,gBADA;AAEAC,sBAFA;AAGAC;AAHA,GAzCA;AA8CAC,SA9CA,qBA8CA;AACA;AACA;AACA;AACA,GAlDA;AAmDAC,SAnDA,qBAmDA;AACA;AACA,GArDA;AAsDAC,WAtDA,uBAsDA;AACAP;AACA;AAxDA","names":["data","computed","collapse","tagsList","msg","popupsList","routePath","methods","beforeunloadHandler","sessionStorage","getElement","console","beforeunload","window","components","vHead","vSidebar","vTags","created","mounted","destroyed"],"sourceRoot":"src/components/common","sources":["Home.vue"],"sourcesContent":["\r\n\r\n\r\n\r\n\r\n"]}]}