修改分页

dev
夜笙歌 1 year ago
parent 6c1f0f5c76
commit e420fff4b8

@ -191,8 +191,8 @@ export default {
"sceneId": this.$store.getters.sceneId, "sceneId": this.$store.getters.sceneId,
"deviceId": this.deviceId, "deviceId": this.deviceId,
deviceModeId: this.deviceModeId, deviceModeId: this.deviceModeId,
"offset": this.currentPage - 1, "offset":this.topData.gpsFlag !== '1'? (this.currentPage - 1) : null,
"limit": 10, "limit": this.topData.gpsFlag !== '1'?10:null,
startTime: this.date, startTime: this.date,
endTime: this.date ? this.date + (1000 * 60 * 60 * 24) : null endTime: this.date ? this.date + (1000 * 60 * 60 * 24) : null
}) })

Loading…
Cancel
Save