Merge remote-tracking branch 'origin/wvp-28181-2.0' into wvp-28181-2.0

pull/889/head
648540858 2023-06-10 00:33:00 +08:00
commit 52f9c295f9
1 changed files with 26 additions and 19 deletions

View File

@ -58,25 +58,25 @@
<el-table-column label="音频" min-width="120" >
<template slot-scope="scope">
<div slot="reference" class="name-wrapper">
<el-tag size="medium" v-if="scope.row.enable_audio"></el-tag>
<el-tag size="medium" type="info" v-if="!scope.row.enable_audio"></el-tag>
<el-tag size="medium" v-if="scope.row.enableAudio"></el-tag>
<el-tag size="medium" type="info" v-if="!scope.row.enableAudio"></el-tag>
</div>
</template>
</el-table-column>
<el-table-column label="录制" min-width="120" >
<template slot-scope="scope">
<div slot="reference" class="name-wrapper">
<el-tag size="medium" v-if="scope.row.enable_mp4"></el-tag>
<el-tag size="medium" type="info" v-if="!scope.row.enable_mp4"></el-tag>
<el-tag size="medium" v-if="scope.row.enableMp4"></el-tag>
<el-tag size="medium" type="info" v-if="!scope.row.enableMp4"></el-tag>
</div>
</template>
</el-table-column>
<el-table-column label="无人观看" min-width="160" >
<template slot-scope="scope">
<div slot="reference" class="name-wrapper">
<el-tag size="medium" v-if="scope.row.enable_remove_none_reader"></el-tag>
<el-tag size="medium" v-if="scope.row.enable_disable_none_reader"></el-tag>
<el-tag size="medium" type="info" v-if="!scope.row.enable_remove_none_reader && !scope.row.enable_disable_none_reader"></el-tag>
<el-tag size="medium" v-if="scope.row.enableRemoveNoneReader"></el-tag>
<el-tag size="medium" v-if="scope.row.enableDisableNoneReader"></el-tag>
<el-tag size="medium" type="info" v-if="!scope.row.enableRemoveNoneReader && !scope.row.enableDisableNoneReader"></el-tag>
</div>
</template>
</el-table-column>
@ -245,18 +245,25 @@
},
deleteStreamProxy: function(row){
let that = this;
that.$axios({
method:"delete",
url:"/api/proxy/del",
params:{
app: row.app,
stream: row.stream
}
}).then((res)=>{
that.initData()
}).catch(function (error) {
console.log(error);
});
this.$confirm('确定删除此代理吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
that.$axios({
method:"delete",
url:"/api/proxy/del",
params:{
app: row.app,
stream: row.stream
}
}).then((res)=>{
that.initData()
}).catch(function (error) {
console.log(error);
});
}).catch(() => {
});
},
start: function(row){
this.stopUpdateList()