From 032ca75e238cc2f2a96b3bf27532b5a243d9a24a Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Tue, 13 Mar 2018 16:00:41 +0800
Subject: [PATCH] 工作台数据统计页面

---
 src/app/routes/report/report.component.ts |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/app/routes/report/report.component.ts b/src/app/routes/report/report.component.ts
index c6d70ac..8b4f516 100644
--- a/src/app/routes/report/report.component.ts
+++ b/src/app/routes/report/report.component.ts
@@ -14,6 +14,7 @@
 export class ReportComponent implements OnInit {
   [x: string]: any;
 
+  spinning: boolean = true;
   constructor(
     public injector: Injector,
     public http: HttpClient,
@@ -82,6 +83,7 @@
   sensorArr: any = [];
   
   ngOnInit() {
+    
     this.activeRoute.queryParams.subscribe(params => {
       const items = JSON.parse(params.items);
       const query = params;
@@ -123,7 +125,9 @@
               $('#mydiv' + i).remove();
             }
           });
+          $('#content').attr({style:"display: inline;"});
         }
+        this.spinning = false;
       });
     });
   }

--
Gitblit v1.8.0