2 files added
3 files modified
New file |
| | |
| | | <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>
|
New file |
| | |
| | | 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() {
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | 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 = [ |
| | |
| | | { 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 |
| | |
| | | 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'; |
| | | |
| | |
| | | DashboardWorkplaceComponent, |
| | | UserLoginComponent, |
| | | ReportComponent, |
| | | ForecastingWarningComponent, |
| | | PollutionManagementComponent |
| | | ], |
| | | providers: [ |
| | |
| | | { |
| | | "text": "预报预警", |
| | | "icon": "icon-pie-chart", |
| | | "children": [ |
| | | { |
| | | "text": "预警", |
| | | "link": "/" |
| | | } |
| | | , |
| | | { |
| | | "text": "预报", |
| | | "link": "/" |
| | | } |
| | | , |
| | | { |
| | | "text": "因子数据", |
| | | "link": "/" |
| | | } |
| | | ] |
| | | "link": "/forecasting-warning" |
| | | }, |
| | | { |
| | | "text": "环境管理", |