@ -33,7 +35,7 @@ export class CriminalRecordsAdminComponent implements OnInit {
type:'pie',
type:'pie',
radius:[88,116],//内半径外,外半径
radius:[88,116],//内半径外,外半径
left:'0',
left:'0',
top:'8%',
top:'8%',
avoidLabelOverlap: false,//防止标签重叠策略
avoidLabelOverlap: false,//防止标签重叠策略
label:{//每一个标签外网延伸的引导说明
label:{//每一个标签外网延伸的引导说明
show: false,
show: false,
@ -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 滚动事件
@ -29,7 +31,7 @@ export class CriminalRecordsComponent implements OnInit {
type:'pie',
type:'pie',
radius:[88,116],//内半径外,外半径
radius:[88,116],//内半径外,外半径
left:'0',
left:'0',
top:'8%',
top:'8%',
avoidLabelOverlap: false,//防止标签重叠策略
avoidLabelOverlap: false,//防止标签重叠策略
label:{//每一个标签外网延伸的引导说明
label:{//每一个标签外网延伸的引导说明
show: false,
show: false,
@ -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 滚动事件