1 line
5.6 KiB
JSON
1 line
5.6 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\\academicManage\\therma-imaging.vue.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\academicManage\\therma-imaging.vue.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//\nimport mixinViewModule from '@/mixins/view-module';\nimport { getDictLabel } from '@/utils';\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/scthermalimaging/thermalList/2',\n getDataListIsPage: false\n },\n dataForm: {\n tfIpgateway: \"\",\n tfDevicename: \"\"\n }\n };\n },\n activated: function activated() {\n var _this = this;\n\n var timer = setInterval(function () {\n _this.getDataList();\n }, 5000);\n this.$once(\"hook:deactivated\", function () {\n clearInterval(timer);\n });\n this.$once(\"hook:destroyed\", function () {\n clearInterval(timer);\n });\n }\n};",{"version":3,"sources":["therma-imaging.vue.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,OAAA,eAAA,MAAA,sBAAA;AACA,SACA,YADA,QAEA,SAFA;AAGA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,wCADA;AAEA,QAAA,iBAAA,EAAA;AAFA,OADA;AAKA,MAAA,QAAA,EAAA;AACA,QAAA,WAAA,EAAA,EADA;AAEA,QAAA,YAAA,EAAA;AAFA;AALA,KAAA;AAUA,GAbA;AAcA,EAAA,SAdA,uBAcA;AAAA;;AACA,QAAA,KAAA,GAAA,WAAA,CAAA,YAAA;AACA,MAAA,KAAA,CAAA,WAAA;AACA,KAFA,EAEA,IAFA,CAAA;AAGA,SAAA,KAAA,CAAA,kBAAA,EAAA,YAAA;AACA,MAAA,aAAA,CAAA,KAAA,CAAA;AACA,KAFA;AAGA,SAAA,KAAA,CAAA,gBAAA,EAAA,YAAA;AACA,MAAA,aAAA,CAAA,KAAA,CAAA;AACA,KAFA;AAGA;AAxBA,CAAA","sourcesContent":["<template>\n\t<el-card shadow=\"always\" class=\"aui-card--fill\">\n\t\t<el-form inline :model=\"dataForm\" ref=\"ruleForm\" @keyup.enter.native=\"getDataList\">\n\t\t\t<el-form-item label=\"检测位置\" prop=\"tfDevicename\">\n\t\t\t\t<el-input v-model=\"dataForm.tfDevicename\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item label=\"IP地址\" prop=\"tfIpgateway\">\n\t\t\t\t<el-input v-model=\"dataForm.tfIpgateway\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\n\t\t\t</el-form-item>\n\t\t\t<el-form-item>\n\t\t\t\t<el-button type=\"warning\" @click=\"resetForm('ruleForm')\">重置</el-button>\n\t\t\t</el-form-item>\n\t\t</el-form>\n\t\t<el-table :data=\"dataList\">\n\t\t\t<el-table-column align=\"center\" type=\"index\" label=\"序号\"> </el-table-column>\n\n\t\t\t<el-table-column align=\"center\" prop=\"name\" label=\"检测位置\">\n\n\t\t\t</el-table-column>\n\t\t\t<el-table-column align=\"center\" prop=\"ip\" label=\"IP地址\">\n\n\t\t\t</el-table-column>\n\t\t\t<el-table-column align=\"center\" label=\"安装场景\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t{{$getDictLabel('sceneType',scope.row.type)}}\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column align=\"center\" prop=\"temperature\" label=\"温度值℃\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<span style=\"color:red\" v-if=\"scope.row.temperature *1>= $getDictLabel('thermalImaging','0' )\">{{(scope.row.temperature*1).toFixed(2)}}</span>\n\t\t\t\t\t<span v-else-if=\"scope.row.temperature*1 < $getDictLabel('thermalImaging','1' )\">{{(scope.row.temperature*1).toFixed(2)}}</span>\n\t\t\t\t\t<span style=\"color:orange\" v-else>{{(scope.row.temperature*1).toFixed(2)}}</span>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column align=\"center\" prop=\"date\" label=\"采集时间\">\n\t\t\t</el-table-column>\n\t\t</el-table>\n\t</el-card>\n</template>\n\n<script>\n\timport mixinViewModule from '@/mixins/view-module'\n\timport {\n\t\tgetDictLabel\n\t} from '@/utils'\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/scthermalimaging/thermalList/2',\n\t\t\t\t\tgetDataListIsPage: false,\n\t\t\t\t},\n\t\t\t\tdataForm: {\n\t\t\t\t\ttfIpgateway: \"\",\n\t\t\t\t\ttfDevicename: \"\",\n\t\t\t\t},\n\t\t\t}\n\t\t},\n\t\tactivated() {\n\t\t\tconst timer = setInterval(() => {\n\t\t\t\tthis.getDataList();\n\t\t\t}, 5000);\n\t\t\tthis.$once(\"hook:deactivated\", () => {\n\t\t\t\tclearInterval(timer)\n\t\t\t})\n\t\t\tthis.$once(\"hook:destroyed\", () => {\n\t\t\t\tclearInterval(timer)\n\t\t\t})\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n</style>\n"],"sourceRoot":"src/views/modules/academicManage"}]} |