From e03de53bd6db0bb2be9a2a1775dc8dd9d5f49416 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 29 Mar 2018 10:44:58 +0800
Subject: [PATCH] value 为0 置为 横线 bug 修复

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

diff --git a/src/app/routes/reports/excel/excel.component.ts b/src/app/routes/reports/excel/excel.component.ts
index 24d869b..519b820 100644
--- a/src/app/routes/reports/excel/excel.component.ts
+++ b/src/app/routes/reports/excel/excel.component.ts
@@ -104,7 +104,7 @@
 
   reportQuery() {
     const query = this.query;
-    if (query.type && query.monitorPoint && query.time) {
+    if (query.type && query.monitorPointId && query.time) {
       if (query.time) {
         query.time = this.dateSrv.date_format(query.time, this.time.format);
       }

--
Gitblit v1.8.0