|
|
@@ -5,6 +5,7 @@ import { SHARED_IMPORTS } from '@shared'; |
|
|
|
import { AgGridAngular } from 'ag-grid-angular'; |
|
|
|
import { ColDef, GridApi } from 'ag-grid-community'; |
|
|
|
import * as echarts from 'echarts'; |
|
|
|
import { NzCarouselModule } from 'ng-zorro-antd/carousel'; |
|
|
|
import { NzPaginationModule } from 'ng-zorro-antd/pagination'; |
|
|
|
import { MqttService } from 'ngx-mqtt'; |
|
|
|
|
|
|
@@ -22,6 +23,7 @@ import { LjAgGridComponentComponent } from '../workstation/lj-ag-grid-component/ |
|
|
|
templateUrl: './second1.component.html', |
|
|
|
styleUrls: ['./second1.component.less'], |
|
|
|
imports: [ |
|
|
|
NzCarouselModule, |
|
|
|
DataVT1Component, |
|
|
|
DataVLjCarInfoTableComponent, |
|
|
|
AgGridAngular, |
|
|
@@ -43,7 +45,7 @@ export class DataVSecond1Component implements OnInit { |
|
|
|
private readonly modal = inject(ModalHelper); |
|
|
|
private readonly elementRef = inject(ElementRef); |
|
|
|
private readonly titleService = inject(TitleService); |
|
|
|
public items = [1]; |
|
|
|
public items = [1, 2, 3, 4]; |
|
|
|
|
|
|
|
public chartDom = document.getElementById('main')!; |
|
|
|
// public myChart = echarts.init(this.chartDom); |
|
|
@@ -59,7 +61,8 @@ export class DataVSecond1Component implements OnInit { |
|
|
|
//多模拟几行数据出来 |
|
|
|
|
|
|
|
rowData: object[] = []; |
|
|
|
|
|
|
|
array = [1, 2, 3, 4]; |
|
|
|
effect = 'scrollx'; |
|
|
|
colDefs1: ColDef[] = [ |
|
|
|
{ headerName: '任务描述', unSortIcon: true, field: 'rwms', width: 120 }, |
|
|
|
{ headerName: '开始时间', headerClass: 'ag-header-center', unSortIcon: true, field: 'kssj', width: 180 }, |
|
|
|