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 |    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 4f8149a..0d8244e 100644
--- a/src/app/routes/reports/excel/excel.component.ts
+++ b/src/app/routes/reports/excel/excel.component.ts
@@ -175,6 +175,7 @@
         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 (const key in this._sensors) {
@@ -193,7 +194,7 @@
       }
       window.location.href = url + '_token=' + this.tokenService.get().token;
     } else {
-      this.msgSrv.error('������������������������������������������������������������');
+      this.msgSrv.error('���������������������������������������������������������������');
     }
   }
 }

--
Gitblit v1.8.0