From 76cbed01cef406f686c2349e8fc8c01de00a4868 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Tue, 31 Jul 2018 11:09:57 +0800 Subject: [PATCH] 添加返回按钮 --- src/app/routes/reports/query2/query2.component.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/app/routes/reports/query2/query2.component.ts b/src/app/routes/reports/query2/query2.component.ts index 738bf9e..190a68d 100644 --- a/src/app/routes/reports/query2/query2.component.ts +++ b/src/app/routes/reports/query2/query2.component.ts @@ -220,7 +220,7 @@ this._dataSet = this.sensorData[sensorKey]; } else { this.loading = true; - const params = {sensorKey: sensorKey, dimension: 'monitorPoint', regionCode: '320583', accountId: '1', timeType: 'month'}; + const params = {sensorKey: sensorKey, dimension: 'monitorPoint', regionCode: '320583', accountId: '1', timeType: 'day'}; this.http2.get(environment.SERVER_BASH_URL + 'screen/region_ranking_data', {params: params}).subscribe((res: any) => { this._dataSet = this.sensorData[sensorKey] = res.data; this.loading = false; -- Gitblit v1.8.0