management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/055f0db24402c8ea8c71fb64f79...

1 line
8.5 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=style&index=0&id=d790b908&scoped=true&lang=scss&","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\\css-loader\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\sass-loader\\lib\\loader.js","mtime":1533139052000},{"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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.academic-building {\n\tcolor: #FFF;\n\n\t&__title1 {\n\t\tmargin-bottom: 22px;\n\t}\n\n\t&__title1 {\n\t\tdisplay: flex;\n\t\t// justify-content: space-between;\n\t\tfont-size: 18px;\n\n\t\t.title {\n\t\t\theight: 36px;\n\t\t\tline-height: 36px;\n\t\t\tbackground-color: #133C6F;\n\t\t\ttext-align: center;\n\t\t\tposition: relative;\n\t\t\tcolor: #fff;\n\n\t\t\t.angle-border {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: 12px;\n\t\t\t\theight: 12px;\n\t\t\t}\n\n\t\t\t.left-top-border {\n\t\t\t\ttop: -6px;\n\t\t\t\tleft: -6px;\n\t\t\t\tborder-left: 1px solid #01FFFF;\n\t\t\t\tborder-top: 1px solid #01FFFF;\n\t\t\t}\n\n\t\t\t.right-top-border {\n\t\t\t\ttop: -6px;\n\t\t\t\tright: -6px;\n\t\t\t\tborder-right: 1px solid #01FFFF;\n\t\t\t\tborder-top: 1px solid #01FFFF;\n\t\t\t}\n\n\t\t\t.left-bottom-border {\n\t\t\t\tbottom: -6px;\n\t\t\t\tleft: -6px;\n\t\t\t\tborder-left: 1px solid #01FFFF;\n\t\t\t\tborder-bottom: 1px solid #01FFFF;\n\t\t\t}\n\n\t\t\t.right-bottom-border {\n\t\t\t\tbottom: -6px;\n\t\t\t\tright: -6px;\n\t\t\t\tborder-right: 1px solid #01FFFF;\n\t\t\t\tborder-bottom: 1px solid #01FFFF;\n\t\t\t}\n\t\t}\n\t}\n\n\t.temparr {\n\t\tmargin-bottom: 15px;\n\t\theight: 100%;\n\n\t\t.box {\n\t\t\tdisplay: flex;\n\t\t\theight: 18px;\n\t\t\tcursor: pointer;\n\t\t}\n\n\n\t\t.bigbox {\n\t\t\tdisplay: flex;\n\t\t\tmargin-bottom: 26px;\n\t\t\tcursor: pointer;\n\t\t}\n\n\t\t.dex {\n\t\t\twidth: 50px;\n\n\t\t}\n\n\t\t.dex1 {\n\t\t\tcolor: #CF2D1D;\n\t\t}\n\n\t\t.dex2 {\n\t\t\tcolor: #F46208;\n\t\t}\n\n\t\t.temp {\n\t\t\twidth: 240px;\n\t\t\theight: 18px;\n\t\t\tbackground-color: #0B5970;\n\t\t}\n\n\t\t.temp1 {\n\t\t\tbackground-color: #CF2D1D;\n\t\t}\n\n\t\t.temp2 {\n\t\t\tbackground-color: #F46208;\n\t\t}\n\t}\n\n\t.temparr:last-child {\n\t\tmargin-bottom: 0px;\n\t}\n\n\n}\n",{"version":3,"sources":["admin-temperature.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuFA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA","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}}&emsp;&nbsp;&emsp;&nbsp;</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>&emsp;&emsp;&nbsp;\n\t\t\t\t<span v-if=\"item.temperature ==''\">0&#8451;</span>\n\t\t\t\t<span v-else>{{(item.temperature*1).toFixed(2)}}&#8451;</span>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\n\timport tempWebsocket from '@/websocket/system'\n\timport {\n\t\tmapGetters\n\t} from \"vuex\";\n\texport default {\n\t\tmixins: [tempWebsocket],\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\tcomputed: {\n\t\t\t...mapGetters(['isFullScreen']),\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\titemStyle: {},\n\t\t\t\ttempArr: []\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.getDataList()\n\t\t},\n\t\tactivated() {\n\t\t\tconst timer = setInterval(() => {\n\t\t\t\tthis.getDataList();\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\t//访客信息\n\t\t\tgetDataList() {\n\t\t\t\tthis.$http.get('/system/index/thermalTop')\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.tempArr = res.data.sort((a, b) => b.temperature - a.temperature)\n\t\t\t\t\t})\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t.academic-building {\n\t\tcolor: #FFF;\n\n\t\t&__title1 {\n\t\t\tmargin-bottom: 22px;\n\t\t}\n\n\t\t&__title1 {\n\t\t\tdisplay: flex;\n\t\t\t// justify-content: space-between;\n\t\t\tfont-size: 18px;\n\n\t\t\t.title {\n\t\t\t\theight: 36px;\n\t\t\t\tline-height: 36px;\n\t\t\t\tbackground-color: #133C6F;\n\t\t\t\ttext-align: center;\n\t\t\t\tposition: relative;\n\t\t\t\tcolor: #fff;\n\n\t\t\t\t.angle-border {\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\twidth: 12px;\n\t\t\t\t\theight: 12px;\n\t\t\t\t}\n\n\t\t\t\t.left-top-border {\n\t\t\t\t\ttop: -6px;\n\t\t\t\t\tleft: -6px;\n\t\t\t\t\tborder-left: 1px solid #01FFFF;\n\t\t\t\t\tborder-top: 1px solid #01FFFF;\n\t\t\t\t}\n\n\t\t\t\t.right-top-border {\n\t\t\t\t\ttop: -6px;\n\t\t\t\t\tright: -6px;\n\t\t\t\t\tborder-right: 1px solid #01FFFF;\n\t\t\t\t\tborder-top: 1px solid #01FFFF;\n\t\t\t\t}\n\n\t\t\t\t.left-bottom-border {\n\t\t\t\t\tbottom: -6px;\n\t\t\t\t\tleft: -6px;\n\t\t\t\t\tborder-left: 1px solid #01FFFF;\n\t\t\t\t\tborder-bottom: 1px solid #01FFFF;\n\t\t\t\t}\n\n\t\t\t\t.right-bottom-border {\n\t\t\t\t\tbottom: -6px;\n\t\t\t\t\tright: -6px;\n\t\t\t\t\tborder-right: 1px solid #01FFFF;\n\t\t\t\t\tborder-bottom: 1px solid #01FFFF;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.temparr {\n\t\t\tmargin-bottom: 15px;\n\t\t\theight: 100%;\n\n\t\t\t.box {\n\t\t\t\tdisplay: flex;\n\t\t\t\theight: 18px;\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\n\n\t\t\t.bigbox {\n\t\t\t\tdisplay: flex;\n\t\t\t\tmargin-bottom: 26px;\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\n\t\t\t.dex {\n\t\t\t\twidth: 50px;\n\n\t\t\t}\n\n\t\t\t.dex1 {\n\t\t\t\tcolor: #CF2D1D;\n\t\t\t}\n\n\t\t\t.dex2 {\n\t\t\t\tcolor: #F46208;\n\t\t\t}\n\n\t\t\t.temp {\n\t\t\t\twidth: 240px;\n\t\t\t\theight: 18px;\n\t\t\t\tbackground-color: #0B5970;\n\t\t\t}\n\n\t\t\t.temp1 {\n\t\t\t\tbackground-color: #CF2D1D;\n\t\t\t}\n\n\t\t\t.temp2 {\n\t\t\t\tbackground-color: #F46208;\n\t\t\t}\n\t\t}\n\n\t\t.temparr:last-child {\n\t\t\tmargin-bottom: 0px;\n\t\t}\n\n\n\t}\n</style>\n"]}]}