1 line
7.4 KiB
JSON
1 line
7.4 KiB
JSON
|
{"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-temperature.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-temperature.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\nimport tempWebsocket from '@/websocket/system'\nimport {\n\tmapGetters\n} from \"vuex\";\nexport default {\n\tmixins: [tempWebsocket],\n\tprops: {\n\t\t//进\n\t\tenterTitle: {\n\t\t\ttype: String,\n\t\t\tdefault: () => {}\n\t\t},\n\t\t//出\n\t\tgooutTitle: {\n\t\t\ttype: String,\n\t\t\tdefault: () => {}\n\t\t},\n\t},\n\tcomputed: {\n\t\t...mapGetters(['isFullScreen']),\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tdormitoryTotalNums: {\n\t\t\t\tentrantsCount: 0,\n\t\t\t\toutCount: 0\n\t\t\t},\n\t\t\titemStyle: {},\n\t\t\ttempArr: []\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.getDataList()\n\t},\n\tactivated() {\n\t\tconst timer = setInterval(() => {\n\t\t\tthis.getDataList();\n\t\t}, 5000);\n\t\tthis.$once(\"hook:deactivated\", () => {\n\t\t\tclearInterval(timer)\n\t\t})\n\t\tthis.$once(\"hook:destroyed\", () => {\n\t\t\tclearInterval(timer)\n\t\t})\n\t},\n\tmethods: {\n\t\t//访客信息\n\t\tgetDataList() {\n\t\t\tthis.$http.get('/system/index/thermalTop')\n\t\t\t\t.then(({\n\t\t\t\t\tdata: res\n\t\t\t\t}) => {\n\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t}\n\t\t\t\t\tthis.tempArr = res.data.sort((a, b) => b.temperature - a.temperature)\n\t\t\t\t})\n\t\t},\n\t}\n}\n",{"version":3,"sources":["admin-temperature.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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-temperature.vue","sourceRoot":"src/views/modules/home-cell-components","sourcesContent":["<template>\n\t<div class=\"academic-building\">\n\t\t<div class=\"academic-building__title1\">\n\t\t\t<div class=\"title\" style=\"width:240px;\">\n\t\t\t\t科研楼强弱电井温度TOP10\n\t\t\t\t<div class=\"angle-border left-top-border\"></div>\n\t\t\t\t<div class=\"angle-border right-top-border\"></div>\n\t\t\t\t<div class=\"angle-border left-bottom-border\"></div>\n\t\t\t\t<div class=\"angle-border right-bottom-border\"></div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"temparr\" v-for=\"(item,index) in tempArr\" :key=\"index\">\n\t\t\t<div :class=\"isFullScreen?'bigbox':'box'\" @click=\"$router.push({name:'warningData-therma-imaging',params:{tfDevicename:item.name}})\">\n\t\t\t\t<span :class=\"item.temperature*1 >= $getDictLabel('thermalImaging','0' )?'dex dex1':item.temperature*1 < $getDictLabel('thermalImaging','1' )?'dex':'dex dex2'\">N0.{{index+1}}</span>\n\t\t\t\t<span>{{item.name}}    </span>\n\t\t\t\t<div :class=\"item.temperature*1 >= $getDictLabel('thermalImaging','0' )?'temp temp1':item.temperature*1 < $getDictLabel('thermalImaging','1' )?'temp':'temp temp2'\"></div>   \n\t\t\t\t<span v-if=\"item.temperature ==''\">0℃</span>\n\t\t\t\t<span v-else>{{(item.temperature*1).toFixed(2)}}℃</
|