{"remainingRequest":"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-people.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-people.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":["//\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 import tempWebsocket from '@/websocket/system'\n import {\n\t\tmapGetters\n\t} from \"vuex\";\n\texport default {\n mixins: [tempWebsocket],\n computed: {\n\t\t\t...mapGetters(['isFullScreen']),\n\t\t},\n\t\tprops: {\n\t\t\t//进\n\t\t\tenterTitle: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: () => {}\n\t\t\t},\n\t\t\t//出\n\t\t\tgooutTitle: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: () => {}\n\t\t\t},\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tdormitoryTotalNums: {\n\t\t\t\t\tentrantsCount: 0,\n\t\t\t\t\toutCount: 0\n\t\t\t\t},\n\t\t\t}\n },\n watch:{\n temp:{\n handler(newVal){\n if(newVal){\n this.draw1()\n this.draw2()\n this.draw3() \n }\n }\n }\n },\n\t\tmounted() {\n this.aidooreightFun()\n this.$nextTick(()=>{\n this.draw1()\n this.draw2()\n this.draw3() \n })\n \n\t\t},\n\t\tactivated() {\n\t\t\tconst timer = setInterval(() => {\n\t\t\t\tthis.aidooreightFun();\n\t\t\t}, 5000);\n\t\t\tthis.$once(\"hook:deactivated\", () => {\n\t\t\t\tclearInterval(timer)\n\t\t\t})\n\t\t\tthis.$once(\"hook:destroyed\", () => {\n\t\t\t\tclearInterval(timer)\n\t\t\t})\n\t\t},\n\t\tmethods: {\n\t\t\tdraw1() { \n\t\t\t\t// 实例化echarts对象\n let myChartDrawer = this.$echarts.init(this.$refs.myEchartone);\n let option = {\n tooltip: {\n formatter: \"{b}{c}\"\n },\n series: [{\n tooltip: {\n show: false\n },\n name: '刻度',\n type: 'gauge',\n radius: '80%',\n z: 1,\n min: 0,\n max: 1,\n center: ['50%','60%'],\n splitNumber: 5, //刻度数量\n startAngle: 210,\n endAngle: -30,\n axisLine: {\n show: true,\n lineStyle: {\n width: 5,\n color: [\n [0.12, '#70C27E'],\n [0.35, '#7AD4DF'],\n [0.63, '#FBF76B'],\n [0.8, '#F88168'],\n [1, '#E71A6D'],\n ]\n }\n }, //仪表盘轴线\n axisLabel: {\n show: false\n }, //刻度标签。\n axisTick: {\n show: true,\n lineStyle: {\n color: 'auto',\n width: 0\n },\n length: -15\n }, //刻度样式\n splitLine: {\n show: true,\n length: 0,\n lineStyle: {\n color: 'auto',\n width: 1\n }\n }, //分隔线样式\n detail: {\n show: false\n },\n pointer: {\n show: false\n }\n }, {\n name: '',\n type: 'gauge',\n radius: '80%',\n min: 0,\n max: 1,\n center: ['50%','60%'],\n data: [{\n value: this.temp.temperature/100,\n name: '温度'\n }],\n splitNumber: 10, //刻度数量\n startAngle: 210,\n endAngle: -30,\n z: 5,\n axisLine: {\n show: true,\n lineStyle: {\n width: 0,\n color: [\n [0.12, '#70C27E'],\n [0.35, '#7AD4DF'],\n [0.63, '#FBF76B'],\n [0.8, '#F88168'],\n [1, '#E71A6D'],\n ]\n }\n }, //仪表盘轴线\n axisLabel: {\n show: true,\n color: '#24D8E7',\n fontSize:10,\n distance: -30,\n formatter:function(params){\n var value = params.toFixed(2) \n if(value == 0.00){\n return '0'\n }else if(value == 1.00){\n return '100'\n }else{\n return ''\n }\n }\n }, //刻度标签。\n axisTick: {\n splitNumber: 10,\n show: true,\n lineStyle: {\n color: 'auto',\n width: 2\n },\n length: 6,\n }, //刻度样式\n splitLine: {\n show: true,\n length: 10,\n lineStyle: {\n color: 'auto',\n width: 2\n }\n }, //分隔线样式\n\n \"itemStyle\": {\n \"normal\": {\n \"color\": \"#24D8E7\" //指针颜色\n }\n },\n pointer: {\n width: 4,\n length: '60%'\n },\n detail: {\n formatter: function(params){\n return (params*100).toFixed(0) + '%'\n },\n fontSize: 50,\n color: \"transparent\",\n offsetCenter: ['0%', '-35%']\n },\n title: {\n offsetCenter: ['0', '30%'], \n fontSize: 14,\n color: \"#24D8E7\",\n show: true\n },\n }]\n };\n myChartDrawer.setOption(option);\n },\n draw2() {\n\t\t\t\t// 实例化echarts对象\n\t\t\t\tlet myChartDrawer = this.$echarts.init(this.$refs.myEchart2);\n\t\t\t\tlet option = {\n tooltip: {\n formatter: \"{b}{c}\"\n },\n series: [{\n tooltip: {\n show: false\n },\n name: '刻度',\n type: 'gauge',\n radius: '80%',\n z: 1,\n min: 0,\n max: 1,\n center: ['50%','60%'],\n splitNumber: 5, //刻度数量\n startAngle: 210,\n endAngle: -30,\n axisLine: {\n show: true,\n lineStyle: {\n width: 5,\n color: [\n [0.12, '#70C27E'],\n [0.35, '#7AD4DF'],\n [0.63, '#FBF76B'],\n [0.8, '#F88168'],\n [1, '#E71A6D'],\n ]\n }\n }, //仪表盘轴线\n axisLabel: {\n show: false\n }, //刻度标签。\n axisTick: {\n show: true,\n lineStyle: {\n color: 'auto',\n width: 0\n },\n length: -15\n }, //刻度样式\n splitLine: {\n show: true,\n length: 0,\n lineStyle: {\n color: 'auto',\n width: 1\n }\n }, //分隔线样式\n detail: {\n show: false\n },\n pointer: {\n show: false\n }\n }, {\n name: '',\n type: 'gauge',\n radius: '80%',\n min: 0,\n max: 1,\n center: ['50%','60%'],\n data: [{\n value: this.temp.humidity/100,\n name: '湿度'\n }],\n splitNumber: 10, //刻度数量\n startAngle: 210,\n endAngle: -30,\n z: 5,\n axisLine: {\n show: true,\n lineStyle: {\n width: 0,\n color: [\n [0.12, '#70C27E'],\n [0.35, '#7AD4DF'],\n [0.63, '#FBF76B'],\n [0.8, '#F88168'],\n [1, '#E71A6D'],\n ]\n }\n }, //仪表盘轴线\n axisLabel: {\n show: true,\n color: '#24D8E7',\n fontSize:10,\n distance: -30,\n formatter:function(params){\n var value = params.toFixed(2) \n if(value == 0.00){\n return '0'\n }else if(value == 1.00){\n return '100'\n }else{\n return ''\n }\n }\n }, //刻度标签。\n axisTick: {\n splitNumber: 10,\n show: true,\n lineStyle: {\n color: 'auto',\n width: 2\n },\n length: 6,\n }, //刻度样式\n splitLine: {\n show: true,\n length: 10,\n lineStyle: {\n color: 'auto',\n width: 2\n }\n }, //分隔线样式\n\n \"itemStyle\": {\n \"normal\": {\n \"color\": \"#24D8E7\" //指针颜色\n }\n },\n pointer: {\n width: 4,\n length: '60%'\n },\n detail: {\n formatter: function(params){\n return (params*100).toFixed(0) + '%'\n },\n fontSize: 50,\n color: \"transparent\",\n offsetCenter: ['0%', '-35%']\n },\n title: {\n offsetCenter: ['0', '30%'], \n fontSize: 14,\n color: \"#24D8E7\",\n show: true\n },\n }]\n };\n\t\t\t\tmyChartDrawer.setOption(option);\n },\n draw3() {\n\t\t\t\t// 实例化echarts对象\n\t\t\t\tlet myChartDrawer = this.$echarts.init(this.$refs.myEchart3);\n\t\t\t\tlet option = {\n tooltip: {\n formatter: \"{b}{c}\"\n },\n series: [{\n tooltip: {\n show: false\n },\n name: '刻度',\n type: 'gauge',\n radius: '80%',\n z: 1,\n min: 0,\n max: 3,\n center: ['50%','60%'],\n splitNumber: 5, //刻度数量\n startAngle: 210,\n endAngle: -30,\n axisLine: {\n show: true,\n lineStyle: {\n width: 5,\n color: [\n [0.12, '#70C27E'],\n [0.35, '#7AD4DF'],\n [0.63, '#FBF76B'],\n [0.8, '#F88168'],\n [1, '#E71A6D'],\n ]\n }\n }, //仪表盘轴线\n axisLabel: {\n show: false\n }, //刻度标签。\n axisTick: {\n show: true,\n lineStyle: {\n color: 'auto',\n width: 0\n },\n length: -15\n }, //刻度样式\n splitLine: {\n show: true,\n length: 0,\n lineStyle: {\n color: 'auto',\n width: 1\n }\n }, //分隔线样式\n detail: {\n show: false\n },\n pointer: {\n show: false\n }\n }, {\n name: '',\n type: 'gauge',\n radius: '80%',\n min: 0,\n max: 3,\n center: ['50%','60%'],\n data: [{\n value: this.temp.pm/100,\n name: '颗粒度'\n }],\n splitNumber: 10, //刻度数量\n startAngle: 210,\n endAngle: -30,\n z: 5,\n axisLine: {\n show: true,\n lineStyle: {\n width: 0,\n color: [\n [0.12, '#70C27E'],\n [0.35, '#7AD4DF'],\n [0.63, '#FBF76B'],\n [0.8, '#F88168'],\n [1, '#E71A6D'],\n ]\n }\n }, //仪表盘轴线\n axisLabel: {\n show: true,\n color: '#24D8E7',\n fontSize:10,\n distance: -30,\n formatter:function(params){\n var value = params.toFixed(2) \n if(value == 0.00){\n return '0'\n }else if(value == 3.00){\n return '300'\n }else{\n return ''\n }\n }\n }, //刻度标签。\n axisTick: {\n splitNumber: 10,\n show: true,\n lineStyle: {\n color: 'auto',\n width: 2\n },\n length: 6,\n }, //刻度样式\n splitLine: {\n show: true,\n length: 10,\n lineStyle: {\n color: 'auto',\n width: 2\n }\n }, //分隔线样式\n\n \"itemStyle\": {\n \"normal\": {\n \"color\": \"#24D8E7\" //指针颜色\n }\n },\n pointer: {\n width: 4,\n length: '60%'\n },\n detail: {\n formatter: function(params){\n return (params*100).toFixed(0) + '%'\n },\n fontSize: 50,\n color: \"transparent\",\n offsetCenter: ['0%', '-35%']\n },\n title: {\n offsetCenter: ['0', '30%'], \n fontSize: 14,\n color: \"#24D8E7\",\n show: true\n },\n }]\n };\n\t\t\t\tmyChartDrawer.setOption(option);\n\t\t\t},\n\t\t\t//教学楼总人数进出\n\t\t\taidooreightFun() {\n\t\t\t\tthis.$http.get('/system/index/aidooreight')\n\t\t\t\t\t.then(({\n\t\t\t\t\t\tdata: res\n\t\t\t\t\t}) => {\n\t\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.dormitoryTotalNums = res.data\n\t\t\t\t\t})\n\t\t\t},\n\t\t}\n\t}\n",{"version":3,"sources":["admin-people.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"admin-people.vue","sourceRoot":"src/views/modules/home-cell-components","sourcesContent":["\n\t\n\t\t\n\t\t\t\n\t\t\t\t科研楼今日进入总人次\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t科研楼今日离开总人次\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{dormitoryTotalNums.entrantsCount}}\n\t\t\t\t\n\t\t\t\t人次\n\t\t\t\n\t\t\t\n\t\t\t\t{{dormitoryTotalNums.outCount}}\n\t\t\t\t\n\t\t\t\t人次\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t机房环境\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n \n \n \n \n \n {{(temp.temperature*1).toFixed(2)}}℃\n\t\t\t\t {{(temp.temperature*1).toFixed(2)}}℃\n \n \n \n \n \n \n {{(temp.humidity * 1).toFixed(2)}}%\n\t\t\t\t {{(temp.humidity * 1).toFixed(2)}}%\n \n \n \n \n \n \n {{(temp.pm * 1).toFixed(2)}}ug/m3\n {{(temp.pm * 1).toFixed(2)}}ug/m3\n \n \n \n \n\t\n\n\n\n\n\n"]}]}