|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
|
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
|
|
import { NavigationModule } from './navigation/navigation.module';
|
|
|
|
import { HomeComponent } from './home/home.component';
|
|
|
|
import { TabbarComponent } from './tabbar/tabbar.component';
|
|
|
|
import { PagesModule } from './pages/pages.module';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { UiModule } from './ui/ui.module';
|
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
|
|
import { httpInterceptorProviders } from './http-interceptors/index'
|
|
|
|
import {CacheTokenService} from './http-interceptors/cache-token.service'
|
|
|
|
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 { DataCollectionModule } from './data-collection/data-collection.module';
|
|
|
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
|
|
import { TestComponent } from './test/test.component';
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
HomeComponent,
|
|
|
|
MTokenK1Component,
|
|
|
|
TestComponent
|
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
BrowserAnimationsModule,
|
|
|
|
MatButtonModule,
|
|
|
|
MatCheckboxModule,
|
|
|
|
MatSidenavModule,
|
|
|
|
NavigationModule,
|
|
|
|
MatIconModule,
|
|
|
|
PagesModule,
|
|
|
|
FormsModule,
|
|
|
|
HttpClientModule,
|
|
|
|
CountdownModule,
|
|
|
|
GISManagementModule,
|
|
|
|
DataCollectionModule,
|
|
|
|
MatProgressSpinnerModule
|
|
|
|
],
|
|
|
|
providers: [httpInterceptorProviders, CacheTokenService,TreeService],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|