Merge branch 'wvp-28181-2.0'
# Conflicts: # src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java # src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/AckRequestProcessor.java # src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java # src/main/java/com/genersoft/iot/vmp/service/impl/MediaServerServiceImpl.java # src/main/java/com/genersoft/iot/vmp/service/impl/MediaServiceImpl.java
This commit is contained in:
@@ -357,7 +357,7 @@ export default {
|
||||
var result = false;
|
||||
var that = this;
|
||||
await that.$axios({
|
||||
method: 'post',
|
||||
method: 'get',
|
||||
url:`/api/platform/exit/${deviceGbId}`
|
||||
}).then(function (res) {
|
||||
result = res.data;
|
||||
|
||||
@@ -263,7 +263,7 @@ export default {
|
||||
var result = false;
|
||||
var that = this;
|
||||
await that.$axios({
|
||||
method: 'post',
|
||||
method: 'get',
|
||||
url:`/api/platform/exit/${deviceGbId}`
|
||||
}).then(function (res) {
|
||||
result = res.data;
|
||||
|
||||
@@ -386,7 +386,7 @@ export default {
|
||||
if (tab.name === "codec") {
|
||||
this.$axios({
|
||||
method: 'get',
|
||||
url: '/zlm/' +this.mediaServerId+ '/index/api/getMediaInfo?vhost=__defaultVhost__&schema=rtmp&app='+ this.app +'&stream='+ this.streamId
|
||||
url: '/zlm/' +this.mediaServerId+ '/index/api/getMediaInfo?vhost=__defaultVhost__&schema=rtsp&app='+ this.app +'&stream='+ this.streamId
|
||||
}).then(function (res) {
|
||||
that.tracksLoading = false;
|
||||
if (res.data.code == 0 && res.data.tracks) {
|
||||
|
||||
@@ -268,30 +268,29 @@ export default {
|
||||
}
|
||||
},
|
||||
saveForm: function (){
|
||||
var that = this;
|
||||
that.$axios({
|
||||
this.$axios({
|
||||
method: 'post',
|
||||
url: this.saveUrl,
|
||||
data: that.platform
|
||||
}).then(function (res) {
|
||||
data: this.platform
|
||||
}).then((res) =>{
|
||||
if (res.data.code === 0) {
|
||||
that.$message({
|
||||
this.$message({
|
||||
showClose: true,
|
||||
message: "保存成功",
|
||||
type: "success",
|
||||
});
|
||||
that.showDialog = false;
|
||||
if (that.listChangeCallback != null) {
|
||||
that.listChangeCallback();
|
||||
this.showDialog = false;
|
||||
if (this.listChangeCallback != null) {
|
||||
this.listChangeCallback();
|
||||
}
|
||||
}else {
|
||||
that.$message({
|
||||
this.$message({
|
||||
showClose: true,
|
||||
message: res.data.msg,
|
||||
type: "error",
|
||||
});
|
||||
}
|
||||
}).catch(function (error) {
|
||||
}).catch((error)=> {
|
||||
console.log(error);
|
||||
});
|
||||
},
|
||||
@@ -328,7 +327,7 @@ export default {
|
||||
var result = false;
|
||||
var that = this;
|
||||
await that.$axios({
|
||||
method: 'post',
|
||||
method: 'get',
|
||||
url:`/api/platform/exit/${deviceGbId}`})
|
||||
.then(function (res) {
|
||||
if (res.data.code === 0) {
|
||||
|
||||
@@ -158,7 +158,7 @@ export default {
|
||||
var result = false;
|
||||
var that = this;
|
||||
await that.$axios({
|
||||
method:"post",
|
||||
method:"get",
|
||||
url:`/api/platform/exit/${deviceGbId}`
|
||||
}).then(function (res) {
|
||||
result = res.data;
|
||||
|
||||
Reference in New Issue
Block a user