提交 9797d80d 编写于 作者: alex.zhang's avatar alex.zhang

非公开直播的结束状态不需要显示直播链接

上级 f8dff5de
...@@ -58,7 +58,12 @@ ...@@ -58,7 +58,12 @@
<el-table-column label="操作" min-width="300" align="center"> <el-table-column label="操作" min-width="300" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <el-button @click="reviewLive(scope.row)" type="text" size="small">设置回放</el-button> --> <!-- <el-button @click="reviewLive(scope.row)" type="text" size="small">设置回放</el-button> -->
<el-button @click="liveLink(scope.row)" type="text" size="small">直播链接</el-button> <el-button
@click="liveLink(scope.row)"
type="text"
size="small"
v-if="!(scope.row.liveStatus==4 && scope.row.liveScope==1)"
>直播链接</el-button>
<el-button <el-button
@click="countLive(scope.row)" @click="countLive(scope.row)"
type="text" type="text"
...@@ -202,7 +207,20 @@ export default { ...@@ -202,7 +207,20 @@ export default {
methods: { methods: {
searchList() { searchList() {
console.log("查询"); console.log("查询");
this.getLiveList(this.searchForm.liveName, this.searchForm.liveStatus); var searchStatusString;
var searchStatusInt;
searchStatusString = this.searchForm.liveStatus;
if (searchStatusString == "预告") {
searchStatusInt = 1;
} else if (searchStatusString == "直播中") {
searchStatusInt = 2;
} else if (searchStatusString == "已结束") {
searchStatusInt = 4;
} else {
searchStatusInt = null;
}
console.log("searchList() : searchStatusInt = " + searchStatusInt);
this.getLiveList(this.searchForm.liveName, searchStatusInt);
}, },
resetForm() { resetForm() {
console.log("重置alex"); console.log("重置alex");
...@@ -440,6 +458,10 @@ export default { ...@@ -440,6 +458,10 @@ export default {
width: 1000px; width: 1000px;
background-color: #d8d8d8; background-color: #d8d8d8;
margin-left: -15px; margin-left: -15px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.href_button_style { .href_button_style {
margin-left: 35px; margin-left: 35px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册