From 75d54bd3087fb5e0284551767bacea4101143280 Mon Sep 17 00:00:00 2001 From: zch Date: Fri, 11 Oct 2024 11:27:08 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E6=9B=B4=E6=94=B9=E9=94=99?= =?UTF-8?q?=E8=AF=AF=EF=BC=8C=E5=8D=95=E6=9C=BA=E6=A0=91=E5=BD=A2=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E8=8A=82=E7=82=B9=E4=BC=A0=E5=8F=82=EF=BC=8C=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8D=E9=9C=80=E8=A6=81seniorID=EF=BC=8C=E8=80=8C?= =?UTF-8?q?=E6=98=AFmonitorId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ems/report/currentSteamCurve/index.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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 = {