| | |
| | | public get sensorUnit() { |
| | | return this.grid.data[this.chartSelectedIndex].sensor.unit; |
| | | } |
| | | // 报表标题暂存 防止联动 |
| | | public _chartTitleTemp: string; |
| | | public get chartTitle(): string { |
| | | const names = ['辖区', '地区', '时间', '项目']; |
| | | switch ( this.dataCondition.areaRange ) { |
| | |
| | | public switchSensor(index: number): void { |
| | | this.chartSelectedIndex = index; |
| | | this.chartLoading = true; |
| | | this._chartTitleTemp = this.chartTitle; |
| | | setTimeout(() => { |
| | | const series = [{type: 'line', data: this.grid.data[index].data}]; |
| | | this.echartsIntance.setOption({ |