management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/8a17d96e2de7a3ee53e13545a50...

1 line
6.0 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"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\\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//\n\nimport mixinViewModule from '@/mixins/view-module'\nexport default {\n\tmixins: [mixinViewModule],\n\tdata() {\n\t\treturn {\n\t\t\tmixinViewModuleOptions: {\n\t\t\t\tgetDataListURL: 'system/scpmalarm/page',\n\t\t\t\tgetDataListIsPage: true,\n\t\t\t},\n\t\t\tdateTime: null,\n\t\t\tdataForm: {\n\t\t\t\tstartDate: '',\n\t\t\t\tendDate: '',\n\t\t\t\tdevicename: \"\",\n\t\t\t},\n\t\t}\n\t},\n\twatch: {\n\t\tdateTime(val) {\n\t\t\tif (val) {\n\t\t\t\tthis.dataForm.startDate = val[0];\n\t\t\t\tthis.dataForm.endDate = val[1];\n\t\t\t} else {\n\t\t\t\tthis.dataForm.startDate = \"\";\n\t\t\t\tthis.dataForm.endDate = \"\";\n\t\t\t}\n\t\t},\n\t},\n\tmethods: {\n\t\tclickReset() {\n\t\t\tthis.dateTime = null\n\t\t\tthis.dataForm.startDate = \"\";\n\t\t\tthis.dataForm.endDate = \"\";\n\t\t\tthis.dataForm.devicename = \"\"\n\t\t\tthis.getDataList()\n\t\t}\n\t}\n\n}\n",{"version":3,"sources":["pm25.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA","file":"pm25.vue","sourceRoot":"src/views/modules/warningData","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.pmaTemper