[monitor] 提供指标实时数据查询API,初始化监控详情页代码

This commit is contained in:
tomsun28
2021-12-05 18:23:45 +08:00
parent 5b86e9f48e
commit 206408e80e
15 changed files with 352 additions and 7 deletions

View File

@@ -84,6 +84,7 @@ import { RoutesModule } from './routes/routes.module';
import { SharedModule } from './shared/shared.module';
import { STWidgetModule } from './shared/st-widget/st-widget.module';
import { ReactiveFormsModule } from '@angular/forms';
import { NgxEchartsModule } from 'ngx-echarts';
@NgModule({
declarations: [
@@ -103,7 +104,10 @@ import { ReactiveFormsModule } from '@angular/forms';
NzNotificationModule,
...FORM_MODULES,
...GLOBAL_THIRD_MODULES,
ReactiveFormsModule
ReactiveFormsModule,
NgxEchartsModule.forRoot({
echarts: () => import('echarts')
})
],
providers: [
...LANG_PROVIDES,