| | |
| | | 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; |