{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\main-navbar.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\main-navbar.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.replace\";\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//\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { messages } from '@/i18n';\nimport screenfull from 'screenfull';\nimport UpdatePassword from \"./main-navbar-update-password\";\nimport updateInfo from \"./main-navbar-update-info\";\nimport { clearLoginInfo } from '@/utils';\nexport default {\n inject: ['refresh'],\n data: function data() {\n return {\n i18nMessages: messages,\n updatePasswordVisible: false,\n updateInfoVisible: false,\n messageTip: false\n };\n },\n components: {\n UpdatePassword: UpdatePassword,\n updateInfo: updateInfo\n },\n created: function created() {\n // 未读通知数\n this.getUnReadCount();\n },\n methods: {\n myNoticeRouter: function myNoticeRouter() {\n this.$router.replace('sys-notice-user');\n },\n getUnReadCount: function getUnReadCount() {\n var _this = this;\n\n this.$http.get(\"/sys/notice/mynotice/unread\").then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this.$message.error(res.msg);\n }\n\n if (res.data > 0) {\n _this.messageTip = true;\n }\n }).catch(function () {});\n },\n openindex: function openindex() {\n if (this.$route.name == 'home') {\n var dom = document.querySelectorAll(\".home\")[0];\n screenfull.toggle(dom);\n } else {\n this.$router.replace({\n name: 'home'\n });\n }\n\n this.$store.commit(\"SET_FULL_SCREEN\", true);\n },\n // 全屏\n fullscreenHandle: function fullscreenHandle() {\n if (!screenfull.enabled) {\n return this.$message({\n message: this.$t('fullscreen.prompt'),\n type: 'warning',\n duration: 500\n });\n }\n\n screenfull.toggle();\n },\n // 修改密码\n updatePasswordHandle: function updatePasswordHandle() {\n var _this2 = this;\n\n this.updatePasswordVisible = true;\n this.$nextTick(function () {\n _this2.$refs.updatePassword.init();\n });\n },\n updateSelfInfoHandle: function updateSelfInfoHandle() {\n var _this3 = this;\n\n this.updateInfoVisible = true;\n this.$nextTick(function () {\n _this3.$refs.updateInfo.init();\n });\n },\n // 退出\n logoutHandle: function logoutHandle() {\n var _this4 = this;\n\n this.$confirm(this.$t('prompt.info', {\n 'handle': this.$t('logout')\n }), this.$t('prompt.title'), {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n _this4.$http.post('/auth/oauth/logout').then(function (_ref2) {\n var res = _ref2.data;\n\n if (res.code !== 0) {\n return _this4.$message.error(res.msg);\n }\n\n clearLoginInfo();\n\n _this4.$router.push({\n name: 'login'\n });\n }).catch(function () {});\n }).catch(function () {});\n }\n }\n};",{"version":3,"sources":["main-navbar.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFA,SAAA,QAAA,QAAA,QAAA;AACA,OAAA,UAAA,MAAA,YAAA;AACA,OAAA,cAAA;AACA,OAAA,UAAA;AACA,SAAA,cAAA,QAAA,SAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,SAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,YAAA,EAAA,QADA;AAEA,MAAA,qBAAA,EAAA,KAFA;AAGA,MAAA,iBAAA,EAAA,KAHA;AAIA,MAAA,UAAA,EAAA;AAJA,KAAA;AAMA,GATA;AAUA,EAAA,UAAA,EAAA;AACA,IAAA,cAAA,EAAA,cADA;AAEA,IAAA,UAAA,EAAA;AAFA,GAVA;AAcA,EAAA,OAdA,qBAcA;AACA;AACA,SAAA,cAAA;AACA,GAjBA;AAkBA,EAAA,OAAA,EAAA;AACA,IAAA,cADA,4BACA;AACA,WAAA,OAAA,CAAA,OAAA,CAAA,iBAAA;AACA,KAHA;AAIA,IAAA,cAJA,4BAIA;AAAA;;AACA,WAAA,KAAA,CAAA,GAAA,gCAAA,IAAA,CAAA,gBAAA;AAAA,YAAA,GAAA,QAAA,IAAA;;AACA,YAAA,GAAA,CAAA,IAAA,KAAA,CAAA,EAAA;AACA,iBAAA,KAAA,CAAA,QAAA,CAAA,KAAA,CAAA,GAAA,CAAA,GAAA,CAAA;AACA;;AACA,YAAA,GAAA,CAAA,IAAA,GAAA,CAAA,EAAA;AACA,UAAA,KAAA,CAAA,UAAA,GAAA,IAAA;AACA;AACA,OAPA,EAOA,KAPA,CAOA,YAAA,CAAA,CAPA;AAQA,KAbA;AAcA,IAAA,SAdA,uBAcA;AACA,UAAA,KA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