1 line
6.6 KiB
JSON
1 line
6.6 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\\dormitory-electricity-warning.vue?vue&type=style&index=0&id=1f4d5d9e&scoped=true&lang=scss&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\home-cell-components\\dormitory-electricity-warning.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.dormitory-electricity-warning {\n\tcolor: #FFF;\n\n\t.title {\n\t\tcursor: pointer;\n\t\tfont-size: 18px;\n\t\tline-height: 36px;\n\t\tbackground-color: #133C6F;\n\t\twidth: 156px;\n\t\ttext-align: center;\n\t\tposition: relative;\n\t\tcolor: #fff;\n\t\tmargin-bottom: 20px;\n\n\t\t.angle-border {\n\t\t\tposition: absolute;\n\t\t\twidth: 12px;\n\t\t\theight: 12px;\n\t\t}\n\n\t\t.left-top-border {\n\t\t\ttop: -6px;\n\t\t\tleft: -6px;\n\t\t\tborder-left: 1px solid #01FFFF;\n\t\t\tborder-top: 1px solid #01FFFF;\n\t\t}\n\n\t\t.right-top-border {\n\t\t\ttop: -6px;\n\t\t\tright: -6px;\n\t\t\tborder-right: 1px solid #01FFFF;\n\t\t\tborder-top: 1px solid #01FFFF;\n\t\t}\n\n\t\t.left-bottom-border {\n\t\t\tbottom: -6px;\n\t\t\tleft: -6px;\n\t\t\tborder-left: 1px solid #01FFFF;\n\t\t\tborder-bottom: 1px solid #01FFFF;\n\t\t}\n\n\t\t.right-bottom-border {\n\t\t\tbottom: -6px;\n\t\t\tright: -6px;\n\t\t\tborder-right: 1px solid #01FFFF;\n\t\t\tborder-bottom: 1px solid #01FFFF;\n\t\t}\n\t}\n\n\t/deep/ .el-table {\n\t\tbackground: transparent;\n\t}\n\n\n\t/deep/ .el-table__body-wrapper::-webkit-scrollbar {\n\t\twidth: 6px; // 横向滚动条\n\t\theight: 6px; // 纵向滚动条 必写\n\t}\n\n\t// 滚动条的滑块\n\t/deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {\n\t\tbackground-color: #555;\n\t\tborder-radius: 3px;\n\t}\n}\n",{"version":3,"sources":["dormitory-electricity-warning.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDA;AACA;;AAEA;AACA;AACA;AACA;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;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA","file":"dormitory-electricity-warning.vue","sourceRoot":"src/views/modules/home-cell-components","sourcesContent":["<template>\n\t<div class=\"dormitory-electricity-warning\">\n\t\t<div class=\"title\" @click=\"$router.push({path:'warningData-electric'})\">\n\t\t\t宿舍楼环境预警\n\t\t\t<div class=\"angle-border left-top-border\"></div>\n\t\t\t<div class=\"angle-border right-top-border\"></div>\n\t\t\t<div class=\"angle-border left-bottom-border\"></div>\n\t\t\t<div class=\"angle-border right-bottom-border\"></div>\n\t\t</div>\n\t\t<div class=\"tables\">\n\t\t\t<el-table :data=\"electricArr\" style=\"width: 95%\" :height=\"isFullScreen?'440':'300'\">\n\t\t\t\t<el-table-column prop=\"drNum\" label=\"预警位置\" align=\"center\"></el-table-column>\n\t\t\t\t<el-table-column label=\"预警值\" align=\"center\">\n\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t<span v-if=\"scope.row.tfDevicetype\">\n\t\t\t\t\t\t\t<span style=\"color:red\" v-if=\"scope.row.tfaEcurrent >= $getDictLabel('thermalImaging','0' )\">{{(scope.row.tfaEcurrent*1).toFixed(2)}}℃</span>\n\t\t\t\t\t\t\t<span style=\"color:orange\" v-else>{{(scope.row.tfaEcurrent*1).toFixed(2)}}℃</span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span style=\"color:red\" v-else>{{scope.row.tfaEcurrent}}A</span>\n\t\t\t\t\t</template>\n\t\t\t\t</el-table-column>\n\t\t\t\t<el-table-column prop=\"tfaAlarmtime\" label=\"预警时间\" align=\"center\">\n\t\t\t\t</el-table-column>\n\t\t\t</el-table>\n\t\t</div>\n\t</div>\n</template>\n<script>\n\timport electricWebsocket from '@/websocket/system'\n\timport {\n\t\tmapGetters\n\t} from \"vuex\";\n\texport default {\n\t\tmixins: [electricWebsocket],\n\t\tdata() {\n\t\t\treturn {\n\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t...mapGetters(['isFullScreen']),\n\t\t},\n\t\tactivated() {\n\t\t\tif (localStorage.getItem(\"electricData\")) {\n\t\t\t\tthis.electricArr = JSON.parse(localStorage.getItem(\"electricData\"))\n\t\t\t}\n\t\t\tthis.electricArr = this.electricArr\n\n\t\t},\n\t\tmethods: {}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t.dormitory-electricity-warning {\n\t\tcolor: #FFF;\n\n\t\t.title {\n\t\t\tcursor: pointer;\n\t\t\tfont-size: 18px;\n\t\t\tline-height: 36px;\n\t\t\tbackground-color: #133C6F;\n\t\t\twidth: 156px;\n\t\t\ttext-align: center;\n\t\t\tposition: relative;\n\t\t\tcolor: #fff;\n\t\t\tmargin-bottom: 20px;\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\n\t\t/deep/ .el-table {\n\t\t\tbackground: transparent;\n\t\t}\n\n\n\t\t/deep/ .el-table__body-wrapper::-webkit-scrollbar {\n\t\t\twidth: 6px; // 横向滚动条\n\t\t\theight: 6px; // 纵向滚动条 必写\n\t\t}\n\n\t\t// 滚动条的滑块\n\t\t/deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {\n\t\t\tbackground-color: #555;\n\t\t\tborder-radius: 3px;\n\t\t}\n\t}\n</style>\n"]}]} |