| | |
| | | value: '小时报', |
| | | }, |
| | | { |
| | | label: '五分钟报', |
| | | value: '五分钟报', |
| | | }, |
| | | { |
| | | label: '日报', |
| | | value: '日报', |
| | | }, |
| | |
| | | } else if (nv === '小时报') { |
| | | this.dataType = 'HourPicker1' |
| | | this.unit = 'hour' |
| | | } else if (nv === '五分钟报') { |
| | | this.dataType = 'HourPicker1' |
| | | this.unit = 'FiveMinute' |
| | | } else { |
| | | this.dataType = 'CustomPicker' |
| | | this.unit = 'hour' |
| | |
| | | if (lockLength < data[i].deviceData.length) { |
| | | newLineChartData.series.push({ |
| | | data: [], |
| | | // large: true, |
| | | name: '', |
| | | type: 'line', |
| | | label: { |
| | |
| | | newLineChartData.series.push({ |
| | | data: [], |
| | | name: '', |
| | | // large: true, |
| | | type: 'line', |
| | | }) |
| | | } |
| | |
| | | }, |
| | | // 通过设备号获得因子数据 |
| | | getSensor() { |
| | | this.newSensor = [] |
| | | // stringMacs.su |
| | | // var newMac = this.newMac[this.newMac.length - 1][this.newMac[this.newMac.length - 1].length - 1] |
| | | // this.newMac1 = this.newMac[this.newMac.length - 1][this.newMac[this.newMac.length - 1].length - 1] |