src/app/routes/reports/excel/excel.component.ts
@@ -175,9 +175,10 @@ query.timeb = this.dateSrv.date_format(query.timeb, this.timeType.format); } query.type = this.timeType.value; delete query.sensors; if (this._sensors) { const sensors = []; for (var key in this._sensors) { for (const key in this._sensors) { sensors.push(this._sensors[key]); } if (sensors.length > 0) { @@ -193,7 +194,7 @@ } window.location.href = url + '_token=' + this.tokenService.get().token; } else { this.msgSrv.error('开始时间为空或者所选区域没有监控点数据!'); this.msgSrv.error('开始时间为空或者所选区域没有监控站点数据!'); } } }