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