From 3abac5ff1ba1daf31ca35373c256f94beac68a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Wed, 8 Oct 2025 13:53:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=8A=A5=E8=AD=A6?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rtsp-vue/src/api/video/alarm.js | 6 ++--- rtsp-vue/src/views/video/alarm/index.vue | 28 ++++-------------------- 2 files changed, 7 insertions(+), 27 deletions(-) diff --git a/rtsp-vue/src/api/video/alarm.js b/rtsp-vue/src/api/video/alarm.js index fbb1da7..58508a3 100644 --- a/rtsp-vue/src/api/video/alarm.js +++ b/rtsp-vue/src/api/video/alarm.js @@ -21,8 +21,8 @@ export function getAlarm(alarmId) { export function handleAlarm(data) { return request({ url: '/video/alarm/handle', - method: 'put', - data: data + method: 'post', + params: data }) } @@ -30,7 +30,7 @@ export function handleAlarm(data) { export function batchHandleAlarm(data) { return request({ url: '/video/alarm/batchHandle', - method: 'put', + method: 'post', data: data }) } diff --git a/rtsp-vue/src/views/video/alarm/index.vue b/rtsp-vue/src/views/video/alarm/index.vue index 2196923..3a51d7e 100644 --- a/rtsp-vue/src/views/video/alarm/index.vue +++ b/rtsp-vue/src/views/video/alarm/index.vue @@ -84,10 +84,9 @@ - - + - - -