mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-27 15:37:50 +08:00
增加拉流代理删除确认功能。
This commit is contained in:
parent
c38aa291dd
commit
fc81854830
@ -240,24 +240,31 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
deleteStreamProxy: function(row){
|
deleteStreamProxy: function(row){
|
||||||
let that = this;
|
this.$confirm('确认删除此路数据?', '提示', {
|
||||||
this.getListLoading = true;
|
confirmButtonText: '确定',
|
||||||
that.$axios({
|
cancelButtonText: '取消',
|
||||||
method:"delete",
|
type: 'warning'
|
||||||
url:"/api/proxy/del",
|
}).then(() => {
|
||||||
params:{
|
let that = this;
|
||||||
app: row.app,
|
this.getListLoading = true;
|
||||||
stream: row.stream
|
that.$axios({
|
||||||
}
|
method:"delete",
|
||||||
}).then((res)=>{
|
url:"/api/proxy/del",
|
||||||
that.getListLoading = false;
|
params:{
|
||||||
that.initData()
|
app: row.app,
|
||||||
}).catch(function (error) {
|
stream: row.stream
|
||||||
console.log(error);
|
}
|
||||||
that.getListLoading = false;
|
}).then((res)=>{
|
||||||
});
|
that.getListLoading = false;
|
||||||
},
|
that.initData()
|
||||||
|
}).catch(function (error) {
|
||||||
|
console.log(error);
|
||||||
|
that.getListLoading = false;
|
||||||
|
});
|
||||||
|
}).catch(() => {
|
||||||
|
});
|
||||||
|
},
|
||||||
start: function(row){
|
start: function(row){
|
||||||
let that = this;
|
let that = this;
|
||||||
this.getListLoading = true;
|
this.getListLoading = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user