@ -427,6 +429,7 @@ export class CriminalRecordsAdminComponent implements OnInit {
this.totalCount=data.result.totalCount
this.totalCount=data.result.totalCount
console.log('违规记录列表',data)
console.log('违规记录列表',data)
this.getAggregations()
this.getAggregations()
console.log(this.list.length)
})
})
}
}
@ -435,10 +438,12 @@ export class CriminalRecordsAdminComponent implements OnInit {
ngAfterViewInit():void{
ngAfterViewInit():void{
fromEvent(this.element.nativeElement.querySelector(`#tbody`)asHTMLCanvasElement,'scroll').pipe(debounceTime(100)).subscribe((event: any)=>{//监听 DOM 滚动事件
fromEvent(this.element.nativeElement.querySelector(`#tbody`)asHTMLCanvasElement,'scroll').pipe(debounceTime(100)).subscribe((event: any)=>{//监听 DOM 滚动事件
@ -440,10 +442,12 @@ export class CriminalRecordsComponent implements OnInit {
ngAfterViewInit():void{
ngAfterViewInit():void{
fromEvent(this.element.nativeElement.querySelector(`#tbody`)asHTMLCanvasElement,'scroll').pipe(debounceTime(100)).subscribe((event: any)=>{//监听 DOM 滚动事件
fromEvent(this.element.nativeElement.querySelector(`#tbody`)asHTMLCanvasElement,'scroll').pipe(debounceTime(100)).subscribe((event: any)=>{//监听 DOM 滚动事件
@ -574,10 +574,13 @@ export class OilUnloadingProcessListComponent implements OnInit {
ngAfterViewInit():void{
ngAfterViewInit():void{
fromEvent(this.element.nativeElement.querySelector(`#tbody`)asHTMLCanvasElement,'scroll').pipe(debounceTime(100)).subscribe((event: any)=>{//监听 DOM 滚动事件
fromEvent(this.element.nativeElement.querySelector(`#tbody`)asHTMLCanvasElement,'scroll').pipe(debounceTime(100)).subscribe((event: any)=>{//监听 DOM 滚动事件