1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/7d35cd413b474fa483a289fc759...

1 line
4.9 KiB
JSON

{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!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":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { mapGetters } from 'vuex';\nexport default {\n computed: _objectSpread({}, mapGetters(['environmentList'])),\n data: function data() {\n return {\n status: true\n };\n },\n watch: {\n // 监听环境传感器报警数据改变\n environmentList: {\n deep: true,\n handler: function handler(newData) {\n if (newData.length > 0) {\n // 是否有报警设备 优先显示\n var warn = newData.filter(function (item) {\n return item.isSendAlarm == 'true';\n });\n\n if (warn.length > 0) {\n this.status = false;\n } else {\n this.status = true;\n }\n }\n }\n }\n },\n methods: {}\n};",{"version":3,"sources":["academic-warning.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAYA,SACA,UADA,QAEA,MAFA;AAGA,eAAA;AACA,EAAA,QAAA,oBACA,UAAA,CAAA,CAAA,iBAAA,CAAA,CADA,CADA;AAIA,EAAA,IAJA,kBAIA;AACA,WAAA;AACA,MAAA,MAAA,EAAA;AADA,KAAA;AAGA,GARA;AASA,EAAA,KAAA,EAAA;AACA;AACA,IAAA,eAAA,EAAA;AACA,MAAA,IAAA,EAAA,IADA;AAEA,MAAA,OAFA,mBAEA,OAFA,EAEA;AACA,YAAA,OAAA,CAAA,MAAA,GAAA,CAAA,EAAA;AACA;AACA,cAAA,IAAA,GAAA,OAAA,CAAA,MAAA,CAAA,UAAA,IAAA;AAAA,mBAAA,IAAA,CAAA,WAAA,IAAA,MAAA;AAAA,WAAA,CAAA;;AACA,cAAA,IAAA,CAAA,MAAA,GAAA,CAAA,EAAA;AACA,iBAAA,MAAA,GAAA,KAAA;AACA,WAFA,MAEA;AACA,iBAAA,MAAA,GAAA,IAAA;AACA;AACA;AACA;AAZA;AAFA,GATA;AA0BA,EAAA,OAAA,EAAA;AA1BA,CAAA","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"],"sourceRoot":"src/views/modules/home-cell-components"}]}