diff --git a/src/views/ems/report/currentSteamCurve/index.vue b/src/views/ems/report/currentSteamCurve/index.vue index 5750463..bab043a 100644 --- a/src/views/ems/report/currentSteamCurve/index.vue +++ b/src/views/ems/report/currentSteamCurve/index.vue @@ -186,10 +186,6 @@ export default { this.queryParams.params['beginCollectTime'] = this.daterangeCollectTime[0] this.queryParams.params['endCollectTime'] = this.daterangeCollectTime[1] } - // 将monitorCode改为sensorId - if (this.queryParams.sensorId !== null) { - this.queryParams.params['sensorId'] = this.queryParams.sensorId; - } this.getChart() }, @@ -252,17 +248,13 @@ export default { /** 节点单击事件 */ handleNodeClick(data) { - /* this.queryParams.monitorCode = data.code*/ - this.queryParams.sensorId = data.code + this.queryParams.monitorCode = data.code this.selectMonitorName = data.label this.handleQuery() }, /** 曲线 */ async getChart() { - if (this.queryParams.sensorId == null) { - return - } let query = JSON.parse(JSON.stringify(this.queryParams)) const {data} = await pointSteamInstantList(query) let option1 = {