Compare commits

..

2 Commits

Author SHA1 Message Date
WangXuewen
cb96eaa598
Pre Merge pull request !34 from WangXuewen/master 2025-03-25 08:44:44 +00:00
lin
8048693616 修复前端调用录像开始结束 2025-03-25 16:44:27 +08:00

View File

@ -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) {