Browse Source

[修改]综合分析区间查询弹窗隐藏

zhuzhou
chenjingyu 4 years ago
parent
commit
75478ac259
  1. 4
      src/app/statistic-analysis/addUnit/add-unit-three-line-details/add-unit-three-line-details.component.ts
  2. 4
      src/app/statistic-analysis/addUnit/add-unit-two-time/add-unit-two-time.component.ts

4
src/app/statistic-analysis/addUnit/add-unit-three-line-details/add-unit-three-line-details.component.ts

@ -134,13 +134,13 @@ export class AddUnitThreeLineDetailsComponent implements OnInit {
//提示框 //提示框
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
formatter: (params)=>{ /* formatter: (params)=>{
if(params[0].seriesName == "year"){ if(params[0].seriesName == "year"){
return this.serviceData.tableTooltip(this.serviceData.monthTooltip,params[0].name) return this.serviceData.tableTooltip(this.serviceData.monthTooltip,params[0].name)
}else{ }else{
return this.serviceData.tableTooltip(this.serviceData.tableDataZhi,params[0].name) return this.serviceData.tableTooltip(this.serviceData.tableDataZhi,params[0].name)
} }
}, }, */
position:this.serviceData.tableTooltipNoShow2 position:this.serviceData.tableTooltipNoShow2
}, },
// x轴 // x轴

4
src/app/statistic-analysis/addUnit/add-unit-two-time/add-unit-two-time.component.ts

@ -340,13 +340,13 @@ export class AddUnitTwoTimeComponent implements OnInit {
//提示框 //提示框
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
formatter: (params)=>{ /* formatter: (params)=>{
if(params[0].seriesName == "year"){ if(params[0].seriesName == "year"){
return this.serviceData.tableTooltip(this.serviceData.monthTooltip,params[0].name) return this.serviceData.tableTooltip(this.serviceData.monthTooltip,params[0].name)
}else{ }else{
return this.serviceData.tableTooltip(this.serviceData.tableDataZhi,params[0].name) return this.serviceData.tableTooltip(this.serviceData.tableDataZhi,params[0].name)
} }
}, }, */
position: this.serviceData.tableTooltipNoShow2 position: this.serviceData.tableTooltipNoShow2
}, },
// x轴 // x轴

Loading…
Cancel
Save