| | |
| | | this.gettimestatus(); |
| | | }, |
| | | next() { |
| | | |
| | | if ((this.current * this.line) < this.total / this.column) { |
| | | this.current = Number(this.current) + 1; |
| | | this.gettimestatus(); |
| | |
| | | if (eventData.data.DeviceStatus) { |
| | | var time = moment(eventData.data.DeviceStatus.t).format('YYYY-MM-DD HH:mm:ss'); |
| | | var preT = moment(eventData.data.DeviceStatus.preT).format('YYYY-MM-DD HH:mm:ss'); |
| | | //console.log('time='+time+",preT="+preT); |
| | | var diffTime = that.changeTime(time,preT); //转换成差值(时分秒) |
| | | var diffTime = diffTime; |
| | | item.time = diffTime; |