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/analysis/analysis.component.ts | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/routes/dashboard/analysis/analysis.component.ts b/src/app/routes/dashboard/analysis/analysis.component.ts index 8a196fb..0bc230f 100644 --- a/src/app/routes/dashboard/analysis/analysis.component.ts +++ b/src/app/routes/dashboard/analysis/analysis.component.ts @@ -31,14 +31,14 @@ private http2: HttpClient) {} ngOnInit() { - this.http.get('/chart').subscribe((res: any) => { - res.offlineData.forEach((item: any) => { - item.chart = Object.assign([], res.offlineChartData); - }); - this.data = res; - this.loading = false; - this.changeSaleType(); - }); + // this.http.get('/chart').subscribe((res: any) => { + // res.offlineData.forEach((item: any) => { + // item.chart = Object.assign([], res.offlineChartData); + // }); + // this.data = res; + // this.loading = false; + // this.changeSaleType(); + // }); } setDate(type: any) { -- Gitblit v1.8.0