{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\dangerousDevice\\RealTimeMonitor.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\dangerousDevice\\RealTimeMonitor.vue","mtime":1695626572314},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\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 {\n\tTableMixin\n} from '@/mixins/tableMixin'\nimport dangerousDevice from '@/api/device/dangerousDevice.js'\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nimport RealTimeMonitorDialog from '@/components/detailsDialog/RealTimeMonitorDialog.vue'\nexport default {\n\tname: 'RealTimeMonitor',\n\tcomponents: {\n\t\tRealTimeMonitorDialog,\n\t},\n\tmixins: [TableMixin],\n\tdata() {\n\t\treturn {\n\t\t\tquerys: [{\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'BETWEEN',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'b.coll_time_',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: '',\n\t\t\t}, ],\n\t\t\tsorter: [{\n\t\t\t\tdirection: 'DESC',\n\t\t\t\tproperty: 'createTime',\n\t\t\t}, ],\n\t\t}\n\t},\n\tcreated() {\n\t\tif (this.$route.query.code) {\n\t\t\tthis.querys.push({\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'EQUAL',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'b.device_code_',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: this.$route.query.code,\n\t\t\t})\n\t\t}\n\t},\n\tmounted() {},\n\tmethods: {\n\t\thandleUpdate(row) {\n\t\t\tconsole.log(row)\n\t\t},\n\t\ttoDialog(name) {\n\t\t\tthis.$refs.RealTimeMonitorDialog.add(name)\n\t\t},\n\t\tclearQuerys() {\n\t\t\tthis.querys[0].value = ''\n\t\t},\n\t\tloadData(page) {\n\t\t\tif (page) {\n\t\t\t\tthis.queryParam.pageBean.page = page\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\tthis.tableData = []\n\t\t\tthis.queryParam.querys = []\n\t\t\tthis.queryParam = Object.assign(this.queryParam, {\n\t\t\t\tsorter: this.sorter,\n\t\t\t})\n\t\t\tif (this.querys[0].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[0])\n\t\t\t}\n\t\t\tif (this.$route.query.code) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[1])\n\t\t\t}\n\t\t\tconsole.log(this.queryParam.querys)\n\t\t\tdangerousDevice.loadQuery(this.queryParam, (res) => {\n\t\t\t\t// console.log(res, 'ppppppp')\n\t\t\t\tthis.tableData = res.rows\n\t\t\t\tthis.total = res.total\n\t\t\t\tthis.$set(this.tableData)\n\t\t\t\tthis.loading = false\n\t\t\t})\n\t\t},\n\t},\n}\n",null]}