修复选择直播通道缺失了通道类型的问题
parent
5b0b17d741
commit
d68f9c8133
|
@ -84,6 +84,7 @@ public class StreamPushServiceImpl implements IStreamPushService {
|
||||||
streamPushItem.setCreateStamp(item.getCreateStamp());
|
streamPushItem.setCreateStamp(item.getCreateStamp());
|
||||||
streamPushItem.setAliveSecond(item.getAliveSecond());
|
streamPushItem.setAliveSecond(item.getAliveSecond());
|
||||||
streamPushItem.setStatus(true);
|
streamPushItem.setStatus(true);
|
||||||
|
streamPushItem.setStreamType("push");
|
||||||
streamPushItem.setVhost(item.getVhost());
|
streamPushItem.setVhost(item.getVhost());
|
||||||
return streamPushItem;
|
return streamPushItem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<el-table-column label="操作" width="360" align="center" fixed="right">
|
<el-table-column label="操作" width="360" align="center" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button-group>
|
<el-button-group>
|
||||||
<el-button size="mini" icon="el-icon-video-play" @click="playPuhsh(scope.row)">播放</el-button>
|
<el-button size="mini" icon="el-icon-video-play" v-if="scope.row.status" @click="playPuhsh(scope.row)">播放</el-button>
|
||||||
<el-button size="mini" icon="el-icon-switch-button" type="danger" @click="stopPuhsh(scope.row)">移除</el-button>
|
<el-button size="mini" icon="el-icon-switch-button" type="danger" @click="stopPuhsh(scope.row)">移除</el-button>
|
||||||
<el-button size="mini" icon="el-icon-position" type="primary" v-if="!!!scope.row.gbId" @click="addToGB(scope.row)">加入国标</el-button>
|
<el-button size="mini" icon="el-icon-position" type="primary" v-if="!!!scope.row.gbId" @click="addToGB(scope.row)">加入国标</el-button>
|
||||||
<el-button size="mini" icon="el-icon-position" type="primary" v-if="!!scope.row.gbId" @click="removeFromGB(scope.row)">移出国标</el-button>
|
<el-button size="mini" icon="el-icon-position" type="primary" v-if="!!scope.row.gbId" @click="removeFromGB(scope.row)">移出国标</el-button>
|
||||||
|
|
Loading…
Reference in New Issue