{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\reform-fvue\\src\\mixins\\bigScreenMixin.js","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\mixins\\bigScreenMixin.js","mtime":1682041533123},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.split\";\nexport default {\n name: 'bigScreenMixin',\n data: function data() {\n return {};\n },\n mounted: function mounted() {\n var _this = this;\n\n this.$store.dispatch('menu/actionFrontMenus').then(function (data) {\n // 过滤出大屏菜单\n var Allmenu = [];\n Allmenu = _this.frontMenus.filter(function (item) {\n return item.alias === 'bigScreen';\n })[0].children;\n _this.currentMenu = Allmenu.filter(function (item) {\n return item.alias == _this.currentKey;\n })[0];\n _this.menuData = Allmenu.filter(function (item) {\n return item.alias !== _this.currentKey;\n });\n _this.workPlatMenu = _this.frontMenus.filter(function (item) {\n return item.alias === 'normal';\n });\n _this.showWorkPlat = _this.workPlatMenu.length ? true : false;\n });\n },\n methods: {\n backToJump: function backToJump() {},\n // 跳转工作台\n toWorkbench: function toWorkbench() {\n if (this.workPlatMenu.length !== 0) {\n if (this.workPlatMenu[0].children[0].children.length !== 0) {\n this.$router.push({\n path: \"/platLayout/\".concat(this.workPlatMenu[0].children[0].children[0].alias)\n });\n } else {\n this.$router.push({\n path: \"/platLayout/\".concat(this.workPlatMenu[0].children[0].alias)\n });\n }\n\n sessionStorage.removeItem(\"searchDate\");\n }\n },\n logout: function logout() {\n var _this2 = this;\n\n this.$store.dispatch('menu/clearMenus');\n this.$store.dispatch('user/clearUser');\n this.$store.dispatch('menu/setCopyMenus', []); //菜单\n\n var loginRouthPath = localStorage.getItem(this.$store.state.login.currentUser.account + 'loginRoutePath') || '/login';\n this.$store.dispatch('login/logoutAndCleanUp').then(function () {\n switch (window.ssoConfig.mode) {\n case 'cas':\n case 'oauth':\n window.sessionStorage.removeItem('currentUser');\n window.location.href = window.ssoConfig.logout + '?service=' + window.location.href.split('?')[0];\n break;\n\n default:\n _this2.$router.push({\n path: loginRouthPath\n });\n\n break;\n }\n });\n }\n }\n};",null]}