mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-06-29 13:37:49 +08:00
Compare commits
2 Commits
8c3a17946d
...
0f368af049
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f368af049 | ||
|
|
8048693616 |
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user