|
@@ -40,6 +40,7 @@
|
|
<el-col :span="20" class="right">
|
|
<el-col :span="20" class="right">
|
|
<el-col :span="24" class="rightTop">
|
|
<el-col :span="24" class="rightTop">
|
|
<span @click="liveon"><i class="iconfont iconshexiangtou"></i>直播</span>
|
|
<span @click="liveon"><i class="iconfont iconshexiangtou"></i>直播</span>
|
|
|
|
+ <span @click="livezhuchi"><i class="iconfont iconshexiangtou"></i>主持</span>
|
|
<span @click="liveclose"><i class="el-icon-switch-button"></i>关闭</span>
|
|
<span @click="liveclose"><i class="el-icon-switch-button"></i>关闭</span>
|
|
<span @click="shareon"><i class="iconfont iconfenxiang"></i>屏幕</span>
|
|
<span @click="shareon"><i class="iconfont iconfenxiang"></i>屏幕</span>
|
|
<span><el-switch @change="recordclick" v-model="isrecord" active-text="录制" inactive-text="停录"> </el-switch></span>
|
|
<span><el-switch @change="recordclick" v-model="isrecord" active-text="录制" inactive-text="停录"> </el-switch></span>
|
|
@@ -216,9 +217,22 @@ export default {
|
|
updateanchor: 'updateanchor',
|
|
updateanchor: 'updateanchor',
|
|
updateshmai: 'updateshmai',
|
|
updateshmai: 'updateshmai',
|
|
switchzjr: 'switchzjr',
|
|
switchzjr: 'switchzjr',
|
|
|
|
+ switchzb: 'switchzb',
|
|
}),
|
|
}),
|
|
...lookuser(['lookquery', 'lookupdate']),
|
|
...lookuser(['lookquery', 'lookupdate']),
|
|
...roomuser({ roomuserfetch: 'fetch' }),
|
|
...roomuser({ roomuserfetch: 'fetch' }),
|
|
|
|
+ async livezhuchi() {
|
|
|
|
+ const data = {};
|
|
|
|
+ data.id = this.id;
|
|
|
|
+ const res = await this.switchzb(data);
|
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
|
+ console.log(res.data);
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '操作成功',
|
|
|
|
+ type: 'success',
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ },
|
|
async zjrChange(zjrid) {
|
|
async zjrChange(zjrid) {
|
|
const data = {};
|
|
const data = {};
|
|
data.id = this.id;
|
|
data.id = this.id;
|