1 line
3.1 KiB
JSON
1 line
3.1 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\\academic-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\\academic-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\nimport {\n\tmapGetters\n} from 'vuex'\nexport default {\n\tcomputed: {\n\t\t...mapGetters(['environmentList']),\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tstatus: true,\n\t\t}\n\t},\n\twatch: {\n\t\t// 监听环境传感器报警数据改变\n\t\tenvironmentList: {\n\t\t\tdeep: true,\n\t\t\thandler(newData) {\n\t\t\t\tif (newData.length > 0) {\n\t\t\t\t\t// 是否有报警设备 优先显示\n\t\t\t\t\tlet warn = newData.filter(item => item.isSendAlarm == 'true');\n\t\t\t\t\tif (warn.length > 0) {\n\t\t\t\t\t\tthis.status = false\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.status = true\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tmethods: {\n\n\t}\n}\n",{"version":3,"sources":["academic-warning.vue"],"names":[],"mappings":";;;;;;;;;;;;AAYA;AACA;AACA;AACA;AACA;AACA;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","file":"academic-warning.vue","sourceRoot":"src/views/modules/home-cell-components","sourcesContent":["<template>\n\t<div class=\"academic-warning\">\n\t\t<div v-if=\"status\">\n\t\t\t<img src=\"../../../assets/img/shouye/static.png\" alt=\"暂无报警信息\">\n\t\t</div>\n\t\t<div v-else>\n\t\t\t<img src=\"../../../assets/img/shouye/war.gif\" alt=\"存在报警信息\">\n\t\t</div>\n\t</div>\n</template>\n\n<script>\n\timport {\n\t\tmapGetters\n\t} from 'vuex'\n\texport default {\n\t\tcomputed: {\n\t\t\t...mapGetters(['environmentList']),\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tstatus: true,\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\t// 监听环境传感器报警数据改变\n\t\t\tenvironmentList: {\n\t\t\t\tdeep: true,\n\t\t\t\thandler(newData) {\n\t\t\t\t\tif (newData.length > 0) {\n\t\t\t\t\t\t// 是否有报警设备 优先显示\n\t\t\t\t\t\tlet warn = newData.filter(item => item.isSendAlarm == 'true');\n\t\t\t\t\t\tif (warn.length > 0) {\n\t\t\t\t\t\t\tthis.status = false\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.status = true\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\n\t\t}\n\t}\n</script>\n<style scoped lang=\"scss\">\n</style>\n"]}]} |