|
|
|
@ -13,14 +13,23 @@ export class PageZhongDuiDetailsComponent implements OnInit {
|
|
|
|
|
title:String |
|
|
|
|
zhongNameData = ["浦东中队","黄埔中队","徐汇中队","长宁中队","静安中队","普陀中队","虹口中队","杨浦中队","闵行中队","宝山中队","嘉定中队"] |
|
|
|
|
zhongNumData = [200,190,180,170,160,150,140,130,120,110,100] |
|
|
|
|
|
|
|
|
|
setTitle (title:String) { |
|
|
|
|
this.title = title |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ngOnInit(): void { |
|
|
|
|
this.route.queryParams.subscribe(params => { |
|
|
|
|
this.title = params.name |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
// this.route.queryParams.subscribe(params => {
|
|
|
|
|
// this.title = params.name
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
this.detailEcharts() |
|
|
|
|
}, 0); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
detailEcharts(){ |
|
|
|
|
var detailPlanEchart = echarts.init(document.getElementById('detailBox'));
|
|
|
|
|
var option = { |
|
|
|
|