From 71371f81071a72eecd7d7a02ae3825943aae50d1 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Wed, 18 Apr 2018 08:57:38 +0800
Subject: [PATCH] 报表展示 饼图功能
---
src/app/routes/reports/excel/excel.component.ts | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/app/routes/reports/excel/excel.component.ts b/src/app/routes/reports/excel/excel.component.ts
index 5d882ba..a78888a 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) {
--
Gitblit v1.8.0