1 line
5.2 KiB
JSON
1 line
5.2 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=script&lang=js&","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\\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\nimport electricWebsocket from '@/websocket/system'\nimport {\n\tmapGetters\n} from \"vuex\";\nexport default {\n\tmixins: [electricWebsocket],\n\tdata() {\n\t\treturn {\n\n\t\t}\n\t},\n\tcomputed: {\n\t\t...mapGetters(['isFullScreen']),\n\t},\n\tactivated() {\n\t\tif (localStorage.getItem(\"electricData\")) {\n\t\t\tthis.electricArr = JSON.parse(localStorage.getItem(\"electricData\"))\n\t\t}\n\t\tthis.electricArr = this.electricArr\n\n\t},\n\tmethods: {}\n}\n",{"version":3,"sources":["dormitory-electricity-warning.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;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;
|