diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 441443f..c3c08f1 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -20,14 +20,13 @@ import { TreeService } from'./http-interceptors/tree.service'; import { MTokenK1Component } from './m-token-k1/m-token-k1.component' //K1秘钥 import { CountdownModule } from 'ngx-countdown'; //倒计时插件 import { GISManagementModule } from './gis-management/gis-management.module'; -import { DeleteOneComponent } from './deleteUnit/delete-one/delete-one.component'; + @NgModule({ declarations: [ AppComponent, HomeComponent, - MTokenK1Component, - DeleteOneComponent + MTokenK1Component ], imports: [ BrowserModule, diff --git a/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.html b/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.html new file mode 100644 index 0000000..a6a2a6b --- /dev/null +++ b/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.html @@ -0,0 +1 @@ +

building-type-one works!

diff --git a/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.scss b/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.spec.ts b/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.spec.ts new file mode 100644 index 0000000..1c4d4e3 --- /dev/null +++ b/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BuildingTypeOneComponent } from './building-type-one.component'; + +describe('BuildingTypeOneComponent', () => { + let component: BuildingTypeOneComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ BuildingTypeOneComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(BuildingTypeOneComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.ts b/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.ts new file mode 100644 index 0000000..b475080 --- /dev/null +++ b/src/app/statistic-analysis/buildingType/building-type-one/building-type-one.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-building-type-one', + templateUrl: './building-type-one.component.html', + styleUrls: ['./building-type-one.component.scss'] +}) +export class BuildingTypeOneComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/app/statistic-analysis/statistic-analysis-routing.module.ts b/src/app/statistic-analysis/statistic-analysis-routing.module.ts index c4ce8e0..1bbcbfb 100644 --- a/src/app/statistic-analysis/statistic-analysis-routing.module.ts +++ b/src/app/statistic-analysis/statistic-analysis-routing.module.ts @@ -4,12 +4,20 @@ 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'; import { PageZhongDuiDetailsComponent } from './state/page-zhong-dui-details/page-zhong-dui-details.component'; +import { DeleteOneComponent } from './deleteUnit/delete-one/delete-one.component'; +import { DeleteTwoComponent } from './deleteUnit/delete-two/delete-two.component'; +import { DeleteThereComponent } from './deleteUnit/delete-there/delete-there.component'; +import { DeleteFourComponent } from './deleteUnit/delete-four/delete-four.component'; +import { BuildingTypeOneComponent } from './buildingType/building-type-one/building-type-one.component'; const routes: Routes = [ { path: 'statePageOne', component: PageOneComponent}, { path: 'statePageTwo_time', component: PageTwoTimeComponent}, - { path: 'statePageTwo_name', component: PageTwoNameComponent}, - { path: 'statePageTwo_details', component: PageZhongDuiDetailsComponent} + { path: 'delete_one', component: DeleteOneComponent}, + { path: 'delete_two', component: DeleteTwoComponent}, + { path: 'delete_there', component: DeleteThereComponent}, + { path: 'delete_four', component: DeleteFourComponent}, + { path: 'buildingType_one', component: BuildingTypeOneComponent} ]; @NgModule({ diff --git a/src/app/statistic-analysis/statistic-analysis.module.ts b/src/app/statistic-analysis/statistic-analysis.module.ts index 7045fd0..1b226ed 100644 --- a/src/app/statistic-analysis/statistic-analysis.module.ts +++ b/src/app/statistic-analysis/statistic-analysis.module.ts @@ -51,10 +51,11 @@ import { DeleteOneComponent } from './deleteUnit/delete-one/delete-one.component import { DeleteTwoComponent } from './deleteUnit/delete-two/delete-two.component'; import { DeleteThereComponent } from './deleteUnit/delete-there/delete-there.component'; import { DeleteFourComponent } from './deleteUnit/delete-four/delete-four.component'; +import { BuildingTypeOneComponent } from './buildingType/building-type-one/building-type-one.component'; @NgModule({ - declarations: [PageOneComponent, PageTwoTimeComponent, PageTwoNameComponent, PageZhongDuiDetailsComponent,echartsComponent, DeleteOneComponent, DeleteTwoComponent, DeleteThereComponent, DeleteFourComponent], + declarations: [PageOneComponent, PageTwoTimeComponent, PageTwoNameComponent, PageZhongDuiDetailsComponent,echartsComponent, DeleteOneComponent, DeleteTwoComponent, DeleteThereComponent, DeleteFourComponent, BuildingTypeOneComponent], imports: [ CommonModule, StatisticAnalysisRoutingModule,