调整报警视频回放时间范围至前后各10秒

This commit is contained in:
lin
2026-04-08 14:36:05 +08:00
parent 7d6ba802a7
commit b89344c939

View File

@@ -298,10 +298,10 @@ export default {
this.playbackVideoUrl = null
this.currentPlaybackChannelId = row.channelId
// 开始时间:报警时间前30秒结束时间报警时间后30秒1分钟
// 开始时间:报警时间前10秒结束时间报警时间后10秒20秒
const alarmTs = row.alarmTime
const startTime = formatDatetime(alarmTs - 30 * 1000)
const endTime = formatDatetime(alarmTs + 30 * 1000)
const startTime = formatDatetime(alarmTs - 10 * 1000)
const endTime = formatDatetime(alarmTs + 10 * 1000)
this.$store.dispatch('commonChanel/playback', {
channelId: row.channelId,