forked from zhurui/management
1 line
12 KiB
JSON
1 line
12 KiB
JSON
|
{"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\\modules\\home-cell-components\\admin-floor.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\home-cell-components\\admin-floor.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/web.dom.iterable\";\nimport \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport uwbWebsocket from '@/websocket/uwb';\nexport default {\n mixins: [uwbWebsocket],\n props: {\n //进\n enterTitle: {\n type: String,\n default: function _default() {}\n },\n //出\n gooutTitle: {\n type: String,\n default: function _default() {}\n }\n },\n data: function data() {\n return {\n dormitoryTotalNums: {\n entrantsCount: 0,\n outCount: 0\n }\n };\n },\n mounted: function mounted() {\n this.aidooreightFun();\n },\n activated: function activated() {\n var timer = setInterval(function () {//this.aidooreightFun();\n }, 5000);\n this.$once(\"hook:deactivated\", function () {\n clearInterval(timer);\n });\n this.$once(\"hook:destroyed\", function () {\n clearInterval(timer);\n });\n },\n methods: {\n draw: function draw() {\n // 实例化echarts对象\n var myChartDrawer = this.$echarts.init(this.$refs.myEchart);\n var option = {\n color: ['#45DBF7', '#F69846', '#FF4343', '#AD94FF'],\n tooltip: {\n trigger: 'axis',\n // show: false,\n axisPointer: {\n type: 'shadow'\n },\n formatter: function formatter(params) {\n var result = params[0].name + \"<br>\";\n params.forEach(function (item) {\n if (item.value) {\n result += item.marker + \" \" + item.seriesName + \" : \" + item.value + \"</br>\";\n } else {\n result += item.marker + \" \" + item.seriesName + \" : 0 </br>\";\n }\n });\n return result;\n }\n },\n legend: {\n data: ['学生', '教师', '访客', '其它'],\n textStyle: {\n color: '#fff'\n }\n },\n grid: {\n top: \"20px\",\n left: 0,\n right: '6%',\n bottom: 0,\n containLabel: true\n },\n xAxis: [{\n splitLine: {\n show: false\n },\n type: 'value',\n show: false\n }],\n yAxis: [{\n splitLine: {\n show: false\n },\n axisLine: {\n //y轴\n show: false\n },\n type: 'category',\n axisTick: {\n show: false\n },\n data: this.keyArr,\n axisLabel: {\n show: true,\n textStyle: {\n color: '#00FFFF'\n }\n }\n }],\n series: this.series\n };\n myChartDrawer.setOption(option);\n },\n //教学楼总人数进出\n aidooreightFun: function aidooreightFun() {\n var _this = this;\
|