forked from zhurui/management
1 line
6.8 KiB
JSON
1 line
6.8 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\\warningData\\pm25.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\warningData\\pm25.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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport mixinViewModule from '@/mixins/view-module';\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: 'system/scpmalarm/page',\n getDataListIsPage: true\n },\n dateTime: null,\n dataForm: {\n startDate: '',\n endDate: '',\n devicename: \"\"\n }\n };\n },\n watch: {\n dateTime: function dateTime(val) {\n if (val) {\n this.dataForm.startDate = val[0];\n this.dataForm.endDate = val[1];\n } else {\n this.dataForm.startDate = \"\";\n this.dataForm.endDate = \"\";\n }\n }\n },\n methods: {\n clickReset: function clickReset() {\n this.dateTime = null;\n this.dataForm.startDate = \"\";\n this.dataForm.endDate = \"\";\n this.dataForm.devicename = \"\";\n this.getDataList();\n }\n }\n};",{"version":3,"sources":["pm25.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,OAAA,eAAA,MAAA,sBAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,uBADA;AAEA,QAAA,iBAAA,EAAA;AAFA,OADA;AAKA,MAAA,QAAA,EAAA,IALA;AAMA,MAAA,QAAA,EAAA;AACA,QAAA,SAAA,EAAA,EADA;AAEA,QAAA,OAAA,EAAA,EAFA;AAGA,QAAA,UAAA,EAAA;AAHA;AANA,KAAA;AAYA,GAfA;AAgBA,EAAA,KAAA,EAAA;AACA,IAAA,QADA,oBACA,GADA,EACA;AACA,UAAA,GAAA,EAAA;AACA,aAAA,QAAA,CAAA,SAAA,GAAA,GAAA,CAAA,CAAA,CAAA;AACA,aAAA,QAAA,CAAA,OAAA,GAAA,GAAA,CAAA,CAAA,CAAA;AACA,OAHA,MAGA;AACA,aAAA,QAAA,CAAA,SAAA,GAAA,EAAA;AACA,aAAA,QAAA,CAAA,OAAA,GAAA,EAAA;AACA;AACA;AATA,GAhBA;AA2BA,EAAA,OAAA,EAAA;AACA,IAAA,UADA,wBACA;AACA,WAAA,QAAA,GAAA,IAAA;AACA,WAAA,QAAA,CAAA,SAAA,GAAA,EAAA;AACA,WAAA,QAAA,CAAA,OAAA,GAAA,EAAA;AACA,WAAA,QAAA,CAAA,UAAA,GAAA,EAAA;AACA,WAAA,WAAA;AACA;AAPA;AA3BA,CAAA","sourcesContent":["<template>\n\t<el-card shadow=\"never\" class=\"aui-card--fill\">\n\t\t<el-form :model=\"dataForm\" :inline=\"true\" @keyup.enter.native=\"getDataList()\">\n\t\t\t<el-form-item label=\"设备名称\" prop=\"devicename\">\n\t\t\t\t<el-input v-model=\"dataForm.devicename\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"报警时间\">\n\t\t\t\t<el-date-picker v-model=\"dateTime\" type=\"daterange\" value-format=\"yyyy-MM-dd\" range-separator=\"至\" start-placeholder=\"开始日期\"\n\t\t\t\t end-placeholder=\"结束日期\">\n\t\t\t\t</el-date-picker>\n\t\t\t</el-form-item>\n\n\t\t\t<el-form-item>\n\t\t\t\t<el-button @click=\"getDataList\">查询</el-button>\n\t\t\t\t<el-button type=\"warning\" @click=\"clickReset\">重置</el-button>\n\t\t\t</el-form-item>\n\t\t</el-form>\n\t\t<el-table v-loading=\"dataListLoading\" :data=\"dataList\" style=\"width: 100%\">\n\t\t\t<el-table-column type=\"index\" label=\"序号\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"devicename\" label=\"设备名称\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column label=\"PM2.5(ug/m³)\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<span v-if=\"scope.row.pmaValue*1< $getDictLabel('envirthreshold','pm' )\">{{scope.row.pmaValue}}</span>\n\t\t\t\t\t<span v-else style=\"color: red\">{{scope.row.pmaValue}}</span>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column label=\"温度(℃)\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<span v-if=\"scope.row.pmaTemperature< $getDictLabel('envirthreshold','temperatureH' )\">{{(scope.row.pmaTemperature*1).toFixed(2)}}</span>\n\t\t\t\t\t<span v-else style=\"color: red\">{{(scope.row.pmaTemperature*1).toFixed(2)}}</span>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"pmaHumidity\" label=\"湿度(%RH)\" align=\"center\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<span v-if=\"scope.row.pmaHumidity%100< $getDictLabel('envirthreshold','humidityH' )\">{{(scope.row.pmaHumidity * 1).toFixed(2)}}</span>\n\t\t\t\t\t<span v-else style=\"color: red\">{{(scope.row.pmaHumidity * 1).toFixed(2)}}</span>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"pmaAlarmtime\" label=\"报警时间\" align=\"center\"></el-table-column>\n\t\t</el-table>\n\t\t<el-pagination @size-change=\"pageSizeChangeHandle\" @current-change=\"pageCurrentChangeHandle\" :current-page=\"page\"\n\t\t :page-sizes=\"[10, 20, 30, 40]\" :page-size=\"limit\" layout=\"total, sizes, prev, pager, next, jumper\" :total=\"total\">\n\t\t</el-pagination>\n\n\t</el-card>\n</template>\n\n<script>\n\timport mixinViewModule from '@/mixins/view-module'\n\texport default {\n\t\tmixins: [mixinViewModule],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tmixinViewModuleOptions: {\n\t\t\t\t\tgetDataListURL: 'system/scpmalarm/page',\n\t\t\t\t\tgetDataListIsPage: true,\n\t\t\t\t},\n\t\t\t\tdateTime: null,\n\t\t\t\tdataForm: {\n\t\t\t\t\tstartDate: '',\n\t\t\t\t\tendDate: '',\n\t\t\t\t\tdevicename: \"\",\n\t\t\t\t},\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\tdateTime(val) {\n\t\t\t\tif (val) {\n\t\t\t\t\tthis.dataForm.startDate = val[0];\n\t\t\t\t\tthis.dataForm.endDate = val[1];\n\t\t\t\t} else {\n\t\t\t\t\tthis.dataForm.startDate = \"\";\n\t\t\t\t\tthis.dataForm.endDate = \"\";\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t\tmethods: {\n\t\t\tclickReset() {\n\t\t\t\tthis.dateTime = null\n\t\t\t\tthis.dataForm.startDate = \"\";\n\t\t\t\tthis.dataForm.endDate = \"\";\n\t\t\t\tthis.dataForm.devicename = \"\"\n\t\t\t\tthis.getDataList()\n\t\t\t}\n\t\t}\n\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\n</style>\n"],"sourceRoot":"src/views/modules/warningData"}]} |