From 1a30ba4211462589698d26688ec24319e48b740c Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Wed, 11 Jul 2018 15:08:40 +0800
Subject: [PATCH] 提交

---
 src/app/routes/dashboard/v1/v1.component.ts |   62 +++++++++++++++++++++++++++++++
 1 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/src/app/routes/dashboard/v1/v1.component.ts b/src/app/routes/dashboard/v1/v1.component.ts
new file mode 100644
index 0000000..ccf0158
--- /dev/null
+++ b/src/app/routes/dashboard/v1/v1.component.ts
@@ -0,0 +1,62 @@
+import { NzMessageService } from 'ng-zorro-antd';
+import { Component, OnInit } from '@angular/core';
+import { _HttpClient } from '@delon/theme';
+
+@Component({
+  selector: 'app-dashboard-v1',
+  templateUrl: './v1.component.html',
+})
+export class DashboardV1Component implements OnInit {
+  constructor(private http: _HttpClient, public msg: NzMessageService) {}
+
+  todoData: any[] = [
+    {
+      completed: true,
+      avatar: '1',
+      name: '���������',
+      content: `������������������������������������������`,
+    },
+    {
+      completed: false,
+      avatar: '2',
+      name: '������������',
+      content: `���������������������������������������`,
+    },
+    {
+      completed: false,
+      avatar: '3',
+      name: 'cipchk',
+      content: `this world was never meant for one as beautiful as you.`,
+    },
+    {
+      completed: false,
+      avatar: '4',
+      name: 'Kent',
+      content: `my heart is beating with hers`,
+    },
+    {
+      completed: false,
+      avatar: '5',
+      name: 'Are you',
+      content: `They always said that I love beautiful girl than my friends`,
+    },
+    {
+      completed: false,
+      avatar: '6',
+      name: 'Forever',
+      content: `Walking through green fields ���sunshine in my eyes.`,
+    },
+  ];
+
+  webSite: any[] = [];
+  salesData: any[] = [];
+  offlineChartData: any[] = [];
+
+  ngOnInit() {
+    this.http.get('/chart').subscribe((res: any) => {
+      this.webSite = res.visitData.slice(0, 10);
+      this.salesData = res.salesData;
+      this.offlineChartData = res.offlineChartData;
+    });
+  }
+}

--
Gitblit v1.8.0