| | |
| | | /* if (!(items[i].monitorPointId)) { |
| | | items[i].monitorPointName = items[i].areaName; |
| | | } */ |
| | | const showName = items[i].showName = items[i].mac ? '设备:' + items[i].deviceName : (items[i].monitorPointId ? '监测点:' + items[i].monitorPointName : items[i].areaName) + items[i].professionName; |
| | | const showName = this.items[i].showName = |
| | | items[i].mac ? ('设备:' + items[i].deviceName) : |
| | | ((items[i].monitorPointId ? '监测点:' + items[i].monitorPointName : items[i].areaName) + (items[i].professionName ? items[i].professionName : '')); |
| | | const legendName = items[i].formatTime + label + showName; |
| | | items[i].legendName = option.legend.data[i] = legendName; |
| | | if (res.data.datas[i][sensorKey]) { |