{"remainingRequest":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\cssc-fvue\\src\\views\\CrewIndex.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\cssc-fvue\\src\\views\\CrewIndex.vue","mtime":1668071265581},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\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//\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 utils from '@/hotent-ui-util.js';\nexport default {\n name: 'CrewIndex',\n data: function data() {\n return {\n companyName: '',\n videoSrc: require('@/assets/img/bg.mp4'),\n crewImg: require('@/assets/img/crewDark22.png'),\n frontMenus: [{\n name: ''\n }],\n date: '',\n day: '',\n timer: null,\n username: ''\n };\n },\n mounted: function mounted() {\n if (!this.fullname) {\n this.username = JSON.parse(sessionStorage.getItem('currentUser')).username;\n }\n\n this.getSysInfo();\n this.getMenus();\n this.formatDate();\n },\n beforeDestroy: function beforeDestroy() {\n clearInterval(this.timer);\n },\n methods: {\n getSysInfo: function getSysInfo() {\n var _this = this;\n\n var url = '${uc}/uc/tenantManage/v1/getTenantByCode?code=platform';\n this.$http.get(url).then(function (resp) {\n if (resp.data) {\n var tenantManage = resp.data;\n _this.companyName = tenantManage.nameFront;\n }\n });\n },\n formatDate: function formatDate() {\n var _this2 = this;\n\n this.timer = null;\n setInterval(function () {\n var date = new Date().getTime();\n _this2.date = utils.formatDate(date, 'dateTime');\n }, 1000);\n\n if (new Date().getDay() == 0) {\n this.day = '星期日';\n } else if (new Date().getDay() == 1) {\n this.day = '星期一';\n } else if (new Date().getDay() == 2) {\n this.day = '星期二';\n } else if (new Date().getDay() == 3) {\n this.day = '星期三';\n } else if (new Date().getDay() == 4) {\n this.day = '星期四';\n } else if (new Date().getDay() == 5) {\n this.day = '星期五';\n } else if (new Date().getDay() == 6) {\n this.day = '星期六';\n }\n },\n getMenus: function getMenus() {\n var _this3 = this;\n\n var storageMenus = sessionStorage.getItem(\"currentFrontMenus\");\n\n if (storageMenus) {\n this.frontMenus = JSON.parse(storageMenus);\n } else {\n this.$store.dispatch('menu/actionFrontMenus').then(function (res) {\n _this3.frontMenus = res;\n });\n }\n },\n goPage: function goPage(path) {\n this.$router.push({\n path: \"/frontPlat/\".concat(path.alias)\n });\n }\n }\n};",null]}