From 820cc14842e73c9980b87002eae127af626622fd Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Mon, 14 May 2018 15:59:45 +0800 Subject: [PATCH] 报表展示 增加行业筛选 --- src/app/routes/reports/excel/excel.component.ts | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/routes/reports/excel/excel.component.ts b/src/app/routes/reports/excel/excel.component.ts index 5d882ba..0d8244e 100644 --- a/src/app/routes/reports/excel/excel.component.ts +++ b/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('���������������������������������������������������������������'); } } } -- Gitblit v1.8.0