From c292f295c9b516cbb9f7fbf587095f710378dbb0 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Thu, 12 Jul 2018 15:12:17 +0800
Subject: [PATCH] 预报预警

---
 src/app/routes/routes.module.ts                                       |    2 ++
 src/app/routes/forecasting-warning/forecasting-warning.component.html |   13 +++++++++++++
 src/app/routes/forecasting-warning/forecasting-warning.component.ts   |   17 +++++++++++++++++
 src/app/routes/routes-routing.module.ts                               |    2 ++
 src/assets/app-data.json                                              |   17 +----------------
 5 files changed, 35 insertions(+), 16 deletions(-)

diff --git a/src/app/routes/forecasting-warning/forecasting-warning.component.html b/src/app/routes/forecasting-warning/forecasting-warning.component.html
new file mode 100644
index 0000000..5baeb28
--- /dev/null
+++ b/src/app/routes/forecasting-warning/forecasting-warning.component.html
@@ -0,0 +1,13 @@
+<div class="content__title">
+    <h1>������������������������</h1>
+</div>
+<nz-card [nzBordered]="false">
+<div class="sales-type-radio">
+	<nz-radio-group >
+		<label nz-radio-button [nzValue]="'warning'"><span>������</span></label>
+		<label nz-radio-button [nzValue]="'forecasting'"><span>������</span></label>
+	</nz-radio-group>
+</div>
+
+</nz-card>
+<nz-card [nzBordered]="false"></nz-card>
diff --git a/src/app/routes/forecasting-warning/forecasting-warning.component.ts b/src/app/routes/forecasting-warning/forecasting-warning.component.ts
new file mode 100644
index 0000000..1955d13
--- /dev/null
+++ b/src/app/routes/forecasting-warning/forecasting-warning.component.ts
@@ -0,0 +1,17 @@
+import { Component, OnInit } from '@angular/core';
+import { _HttpClient } from '@delon/theme';
+
+@Component({
+  selector: 'app-forecasting-warning',
+  templateUrl: './forecasting-warning.component.html',
+})
+export class ForecastingWarningComponent implements OnInit {
+
+    constructor(
+        private http: _HttpClient
+    ) { }
+
+    ngOnInit() {
+    }
+
+}
diff --git a/src/app/routes/routes-routing.module.ts b/src/app/routes/routes-routing.module.ts
index 21f6cda..436db0f 100644
--- a/src/app/routes/routes-routing.module.ts
+++ b/src/app/routes/routes-routing.module.ts
@@ -13,6 +13,7 @@
 import { ReportComponent } from './report/report.component';
 import { UserLoginComponent } from 'app/routes/passport/login/login.component';
 
+import { ForecastingWarningComponent } from './forecasting-warning/forecasting-warning.component';
 import { PollutionManagementComponent } from 'app/routes/pollution/management/management.component';
 
 const routes: Routes = [
@@ -32,6 +33,7 @@
             { path: 'systems', loadChildren: './systems/systems.module#SystemsModule' },
             { path: 'reports', loadChildren: './reports/reports.module#ReportsModule' },
 
+            { path: 'forecasting-warning', component: ForecastingWarningComponent },
             { path: 'pollution/management', component: PollutionManagementComponent }
         ]
     },    // passport
diff --git a/src/app/routes/routes.module.ts b/src/app/routes/routes.module.ts
index 03a10f8..2653f7a 100644
--- a/src/app/routes/routes.module.ts
+++ b/src/app/routes/routes.module.ts
@@ -12,6 +12,7 @@
 import { DashboardAnalysisComponent } from './dashboard/analysis/analysis.component';
 import { DashboardMonitorComponent } from './dashboard/monitor/monitor.component';
 import { DashboardWorkplaceComponent } from './dashboard/workplace/workplace.component';
+import { ForecastingWarningComponent } from './forecasting-warning/forecasting-warning.component';
 import { ReportComponent } from './report/report.component';
 import { PollutionManagementComponent } from './pollution/management/management.component';
 
@@ -38,6 +39,7 @@
         DashboardWorkplaceComponent,
         UserLoginComponent,
         ReportComponent,
+        ForecastingWarningComponent,
         PollutionManagementComponent
     ],
     providers: [
diff --git a/src/assets/app-data.json b/src/assets/app-data.json
index 519303e..75b4660 100644
--- a/src/assets/app-data.json
+++ b/src/assets/app-data.json
@@ -22,22 +22,7 @@
             {
               "text": "������������",
               "icon": "icon-pie-chart",
-              "children": [
-                  {
-                    "text": "������",
-                    "link": "/"
-                  }
-                  ,
-                  {
-                    "text": "������",
-                    "link": "/"
-                  }
-                  ,
-                  {
-                    "text": "������������",
-                    "link": "/"
-                  }
-              ]
+              "link": "/forecasting-warning"
             },
             {
               "text": "������������",

--
Gitblit v1.8.0