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/dashboard/monitor/monitor.component.ts |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/app/routes/dashboard/monitor/monitor.component.ts b/src/app/routes/dashboard/monitor/monitor.component.ts
index 82c4074..7cc09d2 100644
--- a/src/app/routes/dashboard/monitor/monitor.component.ts
+++ b/src/app/routes/dashboard/monitor/monitor.component.ts
@@ -21,19 +21,19 @@
     constructor(private http: _HttpClient, public msg: NzMessageService) {}
 
     ngOnInit() {
-        zip(
-            this.http.get('/chart'),
-            this.http.get('/chart/tags')
-        ).subscribe(([ res, tags ]) => {
-            this.data = res;
-            tags['list'][Math.floor(Math.random() *  tags['list'].length) + 1].value = 1000;
-            this.tags =  tags['list'];
-            this.loading = false;
-        });
+        // zip(
+        //     this.http.get('/chart'),
+        //     this.http.get('/chart/tags')
+        // ).subscribe(([ res, tags ]) => {
+        //     this.data = res;
+        //     tags['list'][Math.floor(Math.random() *  tags['list'].length) + 1].value = 1000;
+        //     this.tags =  tags['list'];
+        //     this.loading = false;
+        // });
 
-        // active chart
-        this.genActiveData();
-        this.activeTime$ = setInterval(() => this.genActiveData(), 1000);
+        // // active chart
+        // this.genActiveData();
+        // this.activeTime$ = setInterval(() => this.genActiveData(), 1000);
     }
 
     // region: active chart

--
Gitblit v1.8.0