Compare commits

..

1 Commits

Author SHA1 Message Date
好青年_GEILIVABLE
8c3a17946d
Pre Merge pull request !38 from 好青年_GEILIVABLE/N/A 2025-03-24 09:27:30 +00:00

View File

@ -355,11 +355,9 @@ export default {
startRecord: function (itemData) { startRecord: function (itemData) {
this.$axios({ this.$axios({
method: 'get', method: 'get',
url: `/api/device/control/record`, url: `/api/device/control/record/${this.deviceId}/Record`,
params: { params: {
deviceId: this.deviceId, channelId: itemData.deviceId
channelId: itemData.deviceId,
recordCmdStr: "Record"
} }
}).then( (res)=> { }).then( (res)=> {
if (res.data.code === 0) { if (res.data.code === 0) {
@ -383,11 +381,9 @@ export default {
stopRecord: function (itemData) { stopRecord: function (itemData) {
this.$axios({ this.$axios({
method: 'get', method: 'get',
url: `/api/device/control/record`, url: `/api/device/control/record/${this.deviceId}/StopRecord`,
params: { params: {
deviceId: this.deviceId, channelId: itemData.deviceId
channelId: itemData.deviceId,
recordCmdStr: "StopRecord"
} }
}).then( (res)=> { }).then( (res)=> {
if (res.data.code === 0) { if (res.data.code === 0) {