Browse Source

[新增]建立统计分析文件

master
邵佳豪 4 years ago
parent
commit
6dc43559d0
  1. 1
      src/app/app-routing.module.ts
  2. 1
      src/app/statistic-analysis/state/page-one/page-one.component.html
  3. 0
      src/app/statistic-analysis/state/page-one/page-one.component.scss
  4. 25
      src/app/statistic-analysis/state/page-one/page-one.component.spec.ts
  5. 15
      src/app/statistic-analysis/state/page-one/page-one.component.ts
  6. 1
      src/app/statistic-analysis/state/page-two-name/page-two-name.component.html
  7. 0
      src/app/statistic-analysis/state/page-two-name/page-two-name.component.scss
  8. 25
      src/app/statistic-analysis/state/page-two-name/page-two-name.component.spec.ts
  9. 15
      src/app/statistic-analysis/state/page-two-name/page-two-name.component.ts
  10. 1
      src/app/statistic-analysis/state/page-two-time/page-two-time.component.html
  11. 0
      src/app/statistic-analysis/state/page-two-time/page-two-time.component.scss
  12. 25
      src/app/statistic-analysis/state/page-two-time/page-two-time.component.spec.ts
  13. 15
      src/app/statistic-analysis/state/page-two-time/page-two-time.component.ts
  14. 17
      src/app/statistic-analysis/statistic-analysis-routing.module.ts
  15. 103
      src/app/statistic-analysis/statistic-analysis.module.ts

1
src/app/app-routing.module.ts

@ -25,6 +25,7 @@ const routes: Routes = [
{path:'home',loadChildren:() => import('./pages/pages.module').then(m => m.PagesModule)},
{path:'visualization',component: HomeComponent},
{path:'gis',loadChildren:() => import('./gis-management/gis-management.module').then(m => m.GISManagementModule)},
{path:'statisticanalysis',loadChildren:() => import('./statistic-analysis/statistic-analysis.module').then(m => m.StatisticAnalysisModule)},
]},
{path:'login',

1
src/app/statistic-analysis/state/page-one/page-one.component.html

@ -0,0 +1 @@
<p>page-one works!</p>

0
src/app/statistic-analysis/state/page-one/page-one.component.scss

25
src/app/statistic-analysis/state/page-one/page-one.component.spec.ts

@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { PageOneComponent } from './page-one.component';
describe('PageOneComponent', () => {
let component: PageOneComponent;
let fixture: ComponentFixture<PageOneComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ PageOneComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(PageOneComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

15
src/app/statistic-analysis/state/page-one/page-one.component.ts

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-page-one',
templateUrl: './page-one.component.html',
styleUrls: ['./page-one.component.scss']
})
export class PageOneComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

1
src/app/statistic-analysis/state/page-two-name/page-two-name.component.html

@ -0,0 +1 @@
<p>page-two-name works!</p>

0
src/app/statistic-analysis/state/page-two-name/page-two-name.component.scss

25
src/app/statistic-analysis/state/page-two-name/page-two-name.component.spec.ts

@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { PageTwoNameComponent } from './page-two-name.component';
describe('PageTwoNameComponent', () => {
let component: PageTwoNameComponent;
let fixture: ComponentFixture<PageTwoNameComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ PageTwoNameComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(PageTwoNameComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

15
src/app/statistic-analysis/state/page-two-name/page-two-name.component.ts

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-page-two-name',
templateUrl: './page-two-name.component.html',
styleUrls: ['./page-two-name.component.scss']
})
export class PageTwoNameComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

1
src/app/statistic-analysis/state/page-two-time/page-two-time.component.html

@ -0,0 +1 @@
<p>page-two-time works!</p>

0
src/app/statistic-analysis/state/page-two-time/page-two-time.component.scss

25
src/app/statistic-analysis/state/page-two-time/page-two-time.component.spec.ts

@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { PageTwoTimeComponent } from './page-two-time.component';
describe('PageTwoTimeComponent', () => {
let component: PageTwoTimeComponent;
let fixture: ComponentFixture<PageTwoTimeComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ PageTwoTimeComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(PageTwoTimeComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

15
src/app/statistic-analysis/state/page-two-time/page-two-time.component.ts

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-page-two-time',
templateUrl: './page-two-time.component.html',
styleUrls: ['./page-two-time.component.scss']
})
export class PageTwoTimeComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

17
src/app/statistic-analysis/statistic-analysis-routing.module.ts

@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { PageOneComponent } from './state/page-one/page-one.component';
import { PageTwoNameComponent } from './state/page-two-name/page-two-name.component';
import { PageTwoTimeComponent } from './state/page-two-time/page-two-time.component';
const routes: Routes = [
{ path: 'statePageOne', component: PageOneComponent},
{ path: 'statePageTwo_name', component: PageTwoNameComponent},
{ path: 'statePageTwo_time', component: PageTwoTimeComponent}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class StatisticAnalysisRoutingModule { }

103
src/app/statistic-analysis/statistic-analysis.module.ts

@ -0,0 +1,103 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { PageOneComponent } from './state/page-one/page-one.component';
import { PageTwoTimeComponent } from './state/page-two-time/page-two-time.component';
import { PageTwoNameComponent } from './state/page-two-name/page-two-name.component';
import { StatisticAnalysisRoutingModule } from './statistic-analysis-routing.module';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import {A11yModule} from '@angular/cdk/a11y';
import {DragDropModule} from '@angular/cdk/drag-drop';
import {PortalModule} from '@angular/cdk/portal';
import {ScrollingModule} from '@angular/cdk/scrolling';
import {CdkStepperModule} from '@angular/cdk/stepper';
import {CdkTableModule} from '@angular/cdk/table';
import {CdkTreeModule} from '@angular/cdk/tree';
import {MatAutocompleteModule} from '@angular/material/autocomplete';
import {MatBadgeModule} from '@angular/material/badge';
import {MatBottomSheetModule} from '@angular/material/bottom-sheet';
import {MatButtonModule} from '@angular/material/button';
import {MatButtonToggleModule} from '@angular/material/button-toggle';
import {MatCardModule} from '@angular/material/card';
import {MatCheckboxModule} from '@angular/material/checkbox';
import {MatChipsModule} from '@angular/material/chips';
import {MatStepperModule} from '@angular/material/stepper';
import {MatDatepickerModule} from '@angular/material/datepicker';
import {MatDialogModule} from '@angular/material/dialog';
import {MatDividerModule} from '@angular/material/divider';
import {MatExpansionModule} from '@angular/material/expansion';
import {MatGridListModule} from '@angular/material/grid-list';
import {MatIconModule} from '@angular/material/icon';
import {MatInputModule} from '@angular/material/input';
import {MatListModule} from '@angular/material/list';
import {MatMenuModule} from '@angular/material/menu';
import {MatNativeDateModule, MatRippleModule} from '@angular/material/core';
import {MatPaginatorModule} from '@angular/material/paginator';
import {MatProgressBarModule} from '@angular/material/progress-bar';
import {MatProgressSpinnerModule} from '@angular/material/progress-spinner';
import {MatRadioModule} from '@angular/material/radio';
import {MatSelectModule} from '@angular/material/select';
import {MatSidenavModule} from '@angular/material/sidenav';
import {MatSliderModule} from '@angular/material/slider';
import {MatSlideToggleModule} from '@angular/material/slide-toggle';
import {MatSnackBarModule} from '@angular/material/snack-bar';
import {MatSortModule} from '@angular/material/sort';
import {MatTableModule} from '@angular/material/table';
import {MatTabsModule} from '@angular/material/tabs';
import {MatToolbarModule} from '@angular/material/toolbar';
import {MatTooltipModule} from '@angular/material/tooltip';
import {MatTreeModule} from '@angular/material/tree';
@NgModule({
declarations: [PageOneComponent, PageTwoTimeComponent, PageTwoNameComponent],
imports: [
CommonModule,
StatisticAnalysisRoutingModule,
CommonModule,
ReactiveFormsModule,
FormsModule,
A11yModule,
DragDropModule,
PortalModule,
ScrollingModule,
CdkStepperModule,
CdkTableModule,
CdkTreeModule,
MatAutocompleteModule,
MatBadgeModule,
MatBottomSheetModule,
MatButtonModule,
MatButtonToggleModule,
MatCardModule,
MatCheckboxModule,
MatChipsModule,
MatStepperModule,
MatDatepickerModule,
MatDialogModule,
MatDividerModule,
MatExpansionModule,
MatGridListModule,
MatIconModule,
MatInputModule,
MatListModule,
MatMenuModule,
MatNativeDateModule,
MatRippleModule,
MatPaginatorModule,
MatProgressBarModule,
MatProgressSpinnerModule,
MatRadioModule,
MatSelectModule,
MatSidenavModule,
MatSliderModule,
MatSlideToggleModule,
MatSnackBarModule,
MatSortModule,
MatTableModule,
MatTabsModule,
MatToolbarModule,
MatTooltipModule,
MatTreeModule
]
})
export class StatisticAnalysisModule { }
Loading…
Cancel
Save