| | |
| | | monitorPoint: null, |
| | | mac: '', |
| | | time: null, |
| | | formatTime: null |
| | | formatTime: null, |
| | | monitorPointName: '', |
| | | deviceName: '' |
| | | }]; |
| | | |
| | | public sensorOptions = []; |
| | |
| | | monitorPoint: null, |
| | | mac: '', |
| | | time: null, |
| | | formatTime: null |
| | | formatTime: null, |
| | | monitorPointName: '', |
| | | deviceName: '' |
| | | }); |
| | | } |
| | | |
| | |
| | | {value: 'hour', label: '时', mode: 'day', xAxisName: '分', format: 'yyyy-MM-dd HH', typeFormat: '%Y-%m-%d %H:%i', timeLength: 60} |
| | | ]; |
| | | |
| | | |
| | | timeType = this.typeOptions[0]; |
| | | |
| | | typeChange(searchText) { |
| | | this.typeOptions.forEach(types => { |
| | | if (types.value === searchText) { |
| | |
| | | |
| | | } |
| | | |
| | | _disabledDate(current: Date): boolean { |
| | | return current && current.getTime() > Date.now() ; |
| | | } |
| | | } |