| | |
| | | <el-button icon="el-icon-delete" size="mini" style="margin-right: 1rem;" |
| | | :disabled="multipleSelection.length === 0" type="danger" @click="batchDel">批量移除 |
| | | </el-button> |
| | | <el-button icon="el-icon-plus" size="mini" style="margin-right: 1rem;" type="primary" @click="addStream">添加通道 |
| | | </el-button> |
| | | <el-button icon="el-icon-refresh-right" circle size="mini" @click="refresh()"></el-button> |
| | | </div> |
| | | </div> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="正在推流" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | {{scope.row.status ? '是' : '否' }} |
| | | {{scope.row.pushIng ? '是' : '否' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="本平台推流" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | {{scope.row.pushIng && !!!scope.row.serverId ? '是' : '否' }} |
| | | </template> |
| | | </el-table-column> |
| | | |
| | |
| | | <script> |
| | | import streamProxyEdit from './dialog/StreamProxyEdit.vue' |
| | | import devicePlayer from './dialog/devicePlayer.vue' |
| | | import addStreamTOGB from './dialog/addStreamTOGB.vue' |
| | | import addStreamTOGB from './dialog/pushStreamEdit.vue' |
| | | import uiHeader from '../layout/UiHeader.vue' |
| | | import importChannel from './dialog/importChannel.vue' |
| | | import MediaServer from './service/MediaServer' |
| | |
| | | |
| | | }) |
| | | }, |
| | | addStream: function (){ |
| | | this.$refs.addStreamTOGB.openDialog(null, this.initData); |
| | | }, |
| | | batchDel: function () { |
| | | this.$confirm(`确定删除选中的${this.multipleSelection.length}个通道?`, '提示', { |
| | | confirmButtonText: '确定', |