Browse Source

[修改]建筑类型统计第一层传参修改

zhuzhou
chenjingyu 4 years ago
parent
commit
3e99e0e634
  1. 2
      src/app/statistic-analysis/buildingType/building-type-three-details/building-type-three-details.component.ts
  2. 2
      src/app/statistic-analysis/buildingType/building-type-two-reverse/building-type-two-reverse.component.ts

2
src/app/statistic-analysis/buildingType/building-type-three-details/building-type-three-details.component.ts

@ -37,7 +37,7 @@ export class BuildingTypeThreeDetailsComponent implements OnInit {
this.buildingTypeId=params['buildId']; this.buildingTypeId=params['buildId'];
}); });
let paramsdata={ let paramsdata={
id:this.buildingTypeId, //id:this.buildingTypeId,
organizationId:this.listorganizationId organizationId:this.listorganizationId
} }
this.echartsData.getData(paramsdata,`/api/StatisticsAnalysis/Companies/BuildingTypes/${this.buildingTypeId}`) this.echartsData.getData(paramsdata,`/api/StatisticsAnalysis/Companies/BuildingTypes/${this.buildingTypeId}`)

2
src/app/statistic-analysis/buildingType/building-type-two-reverse/building-type-two-reverse.component.ts

@ -29,7 +29,7 @@ export class BuildingTypeTwoReverseComponent implements OnInit {
id:this.buildId, id:this.buildId,
//organizationId:'1' //organizationId:'1'
} }
this.data.getData(paramsdata,`/api/StatisticsAnalysis/Companies/BuildingTypes/${this.buildId}`) this.data.getData(null,`/api/StatisticsAnalysis/Companies/BuildingTypes/${this.buildId}`)
window.setTimeout(()=>{ window.setTimeout(()=>{
this.tabledata=JSON.parse(JSON.stringify(this.data.allDate)) this.tabledata=JSON.parse(JSON.stringify(this.data.allDate))
for(var i=0;i<this.tabledata[0].organizations.length;i++){ for(var i=0;i<this.tabledata[0].organizations.length;i++){

Loading…
Cancel
Save