mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-25 14:37:53 +08:00
调整报警视频回放时间范围至前后各10秒
This commit is contained in:
parent
7d6ba802a7
commit
b89344c939
@ -298,10 +298,10 @@ export default {
|
|||||||
this.playbackVideoUrl = null
|
this.playbackVideoUrl = null
|
||||||
this.currentPlaybackChannelId = row.channelId
|
this.currentPlaybackChannelId = row.channelId
|
||||||
|
|
||||||
// 开始时间:报警时间前30秒,结束时间:报警时间后30秒(共1分钟)
|
// 开始时间:报警时间前10秒,结束时间:报警时间后10秒(共20秒)
|
||||||
const alarmTs = row.alarmTime
|
const alarmTs = row.alarmTime
|
||||||
const startTime = formatDatetime(alarmTs - 30 * 1000)
|
const startTime = formatDatetime(alarmTs - 10 * 1000)
|
||||||
const endTime = formatDatetime(alarmTs + 30 * 1000)
|
const endTime = formatDatetime(alarmTs + 10 * 1000)
|
||||||
|
|
||||||
this.$store.dispatch('commonChanel/playback', {
|
this.$store.dispatch('commonChanel/playback', {
|
||||||
channelId: row.channelId,
|
channelId: row.channelId,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user