1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/ad09335aceeb873cc1767f9618c...

1 line
14 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"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: