From 80486936161aa1c5e46bc6da742703c2e25da4a7 Mon Sep 17 00:00:00 2001 From: lin <648540858@qq.com> Date: Tue, 25 Mar 2025 16:44:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=89=8D=E7=AB=AF=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E5=BD=95=E5=83=8F=E5=BC=80=E5=A7=8B=E7=BB=93=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/src/components/channelList.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue index f62535908..f314a5f19 100755 --- a/web_src/src/components/channelList.vue +++ b/web_src/src/components/channelList.vue @@ -355,9 +355,11 @@ export default { startRecord: function (itemData) { this.$axios({ method: 'get', - url: `/api/device/control/record/${this.deviceId}/Record`, + url: `/api/device/control/record`, params: { - channelId: itemData.deviceId + deviceId: this.deviceId, + channelId: itemData.deviceId, + recordCmdStr: "Record" } }).then( (res)=> { if (res.data.code === 0) { @@ -381,9 +383,11 @@ export default { stopRecord: function (itemData) { this.$axios({ method: 'get', - url: `/api/device/control/record/${this.deviceId}/StopRecord`, + url: `/api/device/control/record`, params: { - channelId: itemData.deviceId + deviceId: this.deviceId, + channelId: itemData.deviceId, + recordCmdStr: "StopRecord" } }).then( (res)=> { if (res.data.code === 0) {