From 7d4045bb727ac6e86939569258cbce1bd2adda58 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Thu, 29 Mar 2018 14:04:46 +0800
Subject: [PATCH] 报表优化

---
 src/app/routes/reports/excel/excel.component.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/routes/reports/excel/excel.component.ts b/src/app/routes/reports/excel/excel.component.ts
index a6fce42..1d499ce 100644
--- a/src/app/routes/reports/excel/excel.component.ts
+++ b/src/app/routes/reports/excel/excel.component.ts
@@ -80,8 +80,8 @@
       if (query.timeb) {
         query.timeb = this.dateSrv.date_format(query.timeb, this.timeType.format);
       }
-      if (query.sensorKey && query.sensorKey.length > 0) {
-        query.sensors = JSON.stringify(query.sensorKey);
+      if (query.sensorKeys && query.sensorKeys.length > 0) {
+        query.sensors = JSON.stringify(query.sensorKeys);
       }
       query.type = this.timeType.value;
       let url = environment.SERVER_BASH_URL + 'report/excel?';

--
Gitblit v1.8.0