mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-06-29 21:47:50 +08:00
Compare commits
1 Commits
75609ad611
...
c237157d5a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c237157d5a |
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user