|
@@ -40,7 +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 v-show="zjrshow" @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 @click="shareclose"><i class="iconfont iconfenxiang"></i>关闭分享</span>
|
|
<span @click="shareclose"><i class="iconfont iconfenxiang"></i>关闭分享</span>
|
|
@@ -221,9 +221,23 @@ export default {
|
|
updateshmai: 'updateshmai',
|
|
updateshmai: 'updateshmai',
|
|
switchzjr: 'switchzjr',
|
|
switchzjr: 'switchzjr',
|
|
switchzb: 'switchzb',
|
|
switchzb: 'switchzb',
|
|
|
|
+ switchzp: 'switchzp',
|
|
}),
|
|
}),
|
|
...lookuser(['lookquery', 'lookupdate']),
|
|
...lookuser(['lookquery', 'lookupdate']),
|
|
...roomuser({ roomuserfetch: 'fetch' }),
|
|
...roomuser({ roomuserfetch: 'fetch' }),
|
|
|
|
+ async livezp() {
|
|
|
|
+ const data = {};
|
|
|
|
+ data.id = this.id;
|
|
|
|
+ data.uid = this.user.uid;
|
|
|
|
+ const res = await this.switchzb(data);
|
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
|
+ console.log(res.data);
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '操作成功',
|
|
|
|
+ type: 'success',
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ },
|
|
async livezhuchi() {
|
|
async livezhuchi() {
|
|
const data = {};
|
|
const data = {};
|
|
data.id = this.id;
|
|
data.id = this.id;
|