From 26332c174e8e62e7e2cd5b17fe8089b9135a8b8a Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Fri, 30 Mar 2018 15:04:04 +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