|
|
|
@ -517,7 +517,7 @@ export class verifiedComponent implements OnInit {
|
|
|
|
|
tishiData |
|
|
|
|
res |
|
|
|
|
tableTooltip(datas){ |
|
|
|
|
this.tishiData=this.tabledata[0].items[0].organizations |
|
|
|
|
this.tishiData=this.echartsData.zhiorBuinding=='zhi'? this.tabledata[0].items[0].organizations:this.tabledata[0].items[0].buildingTypes |
|
|
|
|
var countall=0//总计
|
|
|
|
|
var countbi=0//站比
|
|
|
|
|
var allCountbi=0//总站比
|
|
|
|
@ -655,11 +655,11 @@ export class verifiedComponent implements OnInit {
|
|
|
|
|
this.echartsData.findShow=false |
|
|
|
|
//this.echartsData.scheduledUpdatesToggle = -2
|
|
|
|
|
|
|
|
|
|
if(this.echartsData.level=='0'&&this.tabledata[0].items[xIndex].organizations.length>=1){ |
|
|
|
|
if(this.echartsData.level=='0'&&this.tabledata[0].items[xIndex].buildingTypes.length>=1){ |
|
|
|
|
this.echartsData.scheduledUpdatesToggle = 2 |
|
|
|
|
//this.echartsData.time=xIndex
|
|
|
|
|
//this.router.navigateByUrl(`/statisticanalysis/scheduledUpdates/PublicEcharts?type=${this.route.snapshot.queryParams.type}&TimeType=${this.TimeType}`);
|
|
|
|
|
}else if(this.echartsData.level=='1' &&this.tabledata[0].items[xIndex].organizations.length>=1){ |
|
|
|
|
}else if(this.echartsData.level=='1' &&this.tabledata[0].items[xIndex].buildingTypes.length>=1){ |
|
|
|
|
this.echartsData.scheduledUpdatesToggle = 2//原来是3
|
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
@ -865,12 +865,22 @@ export class yueDateComponent implements OnInit {
|
|
|
|
|
this.zhiNameData=[] |
|
|
|
|
this.ynum=[] |
|
|
|
|
this.organizationId=[] |
|
|
|
|
if(this.echartsData.zhiorBuinding=='zhi'){ |
|
|
|
|
this.tabledata[0].items[0].organizations.forEach(element => { |
|
|
|
|
this.zhiNameData.push(this.echartsData.zhiorBuinding=='zhi'? element.organizationName:element.buildingTypeName) |
|
|
|
|
this.ynum.push(element.count) |
|
|
|
|
this.organizationId.push(this.echartsData.zhiorBuinding=='zhi'? element.organizationId:element.buildingTypeId) |
|
|
|
|
//this.ydatayue.push(element.count)
|
|
|
|
|
}); |
|
|
|
|
}else{ |
|
|
|
|
this.tabledata[0].items[0].buildingTypes.forEach(element => { |
|
|
|
|
this.zhiNameData.push(this.echartsData.zhiorBuinding=='zhi'? element.organizationName:element.buildingTypeName) |
|
|
|
|
this.ynum.push(element.count) |
|
|
|
|
this.organizationId.push(this.echartsData.zhiorBuinding=='zhi'? element.organizationId:element.buildingTypeId) |
|
|
|
|
//this.ydatayue.push(element.count)
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.tiaoshiPao=this.echartsData.qipao(this.tiaoshiPao,this.ynum,this.zhiNameData) |
|
|
|
|
this.twoInit() |
|
|
|
|
}else{ |
|
|
|
@ -932,7 +942,7 @@ export class yueDateComponent implements OnInit {
|
|
|
|
|
this.oneEcharts = echarts.init(document.getElementById("center"), 'skinUpp'); |
|
|
|
|
var option = { |
|
|
|
|
title: { |
|
|
|
|
text:this.router.snapshot.queryParams.pieid=='pieTwo'?'': this.echartsData.scheduledUpdatesXName+`已核查总数:(${this.tabledata[0].totalCount})`, |
|
|
|
|
text:this.router.snapshot.queryParams.pieid=='pieTwo'?`已核查总数:(${this.tabledata[0].totalCount})`: this.echartsData.scheduledUpdatesXName+`已核查总数:(${this.tabledata[0].totalCount})`, |
|
|
|
|
top: -4, |
|
|
|
|
left: '35%', |
|
|
|
|
textStyle:{ |
|
|
|
|