|
|
|
@ -312,7 +312,6 @@ export class CriminalRecordsComponent implements OnInit {
|
|
|
|
|
// this.isShowEcharts.getMessage().subscribe((message: any) => {
|
|
|
|
|
// this.isEchartsShow()
|
|
|
|
|
// });
|
|
|
|
|
console.log(1243); |
|
|
|
|
|
|
|
|
|
this.tableScrollHeight = '100px' |
|
|
|
|
// 页面监听
|
|
|
|
@ -358,6 +357,8 @@ export class CriminalRecordsComponent implements OnInit {
|
|
|
|
|
datePicker: [[this.startdate, this.enddate]], |
|
|
|
|
misinformation: ['true'], |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
// 饼图
|
|
|
|
|
this.myChart = echarts.init(document.getElementById('piechart')); |
|
|
|
|
this.myChart.setOption(this.option); |
|
|
|
@ -365,6 +366,9 @@ export class CriminalRecordsComponent implements OnInit {
|
|
|
|
|
this.mybarChart = echarts.init(document.getElementById('barchart')); |
|
|
|
|
this.mybarChart.setOption(this.baroption); |
|
|
|
|
|
|
|
|
|
}, 0); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.warningType() |
|
|
|
|
this.getViolateRecordList() |
|
|
|
|
|
|
|
|
|