Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
25107180
提交
25107180
编写于
6月 21, 2020
作者:
alex.zhang
浏览文件
操作
浏览文件
下载
差异文件
fix conflict
上级
7b0c59e1
1c84f454
变更
3
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
715 行增加
和
749 行删除
+715
-749
create-live.vue
src/views/yqrange/create-live.vue
+687
-726
live-manage.vue
src/views/yqrange/live-manage.vue
+14
-11
yq-range.vue
src/views/yqrange/yq-range.vue
+14
-12
未找到文件。
src/views/yqrange/create-live.vue
浏览文件 @
25107180
此差异已折叠。
点击以展开。
src/views/yqrange/live-manage.vue
浏览文件 @
25107180
...
...
@@ -163,15 +163,15 @@ export default {
}
],
tableData
:
[
{
liveName
:
"浙江医学大会第二场"
,
liveScope
:
1
,
//直播范围 1-非公开 2-公开
liveStatus
:
1
,
//直播状态 1-未开始 2-直播中 3-暂停中 4-已结束 5-回放中目前只能用到1,2,4
createTime
:
""
,
startTime
:
""
,
endTime
:
""
,
rtcId
:
0
}
//
{
//
liveName: "浙江医学大会第二场",
//
liveScope: 1, //直播范围 1-非公开 2-公开
//
liveStatus: 1, //直播状态 1-未开始 2-直播中 3-暂停中 4-已结束 5-回放中目前只能用到1,2,4
//
createTime: "",
//
startTime: "",
//
endTime: "",
//
rtcId: 0
//
}
],
dialogStatisticsData
:
[
{
...
...
@@ -210,7 +210,10 @@ export default {
//新建直播
createLive
()
{
this
.
$router
.
push
({
path
:
"/create-live?circleId="
+
this
.
circleId
,
path
:
"/create-live"
,
query
:
{
circleId
:
this
.
circleId
}
});
},
//弹出直播链接弹窗
...
...
@@ -305,7 +308,7 @@ export default {
query
:
{
// rtcId: "16"
rtcId
:
row
.
id
,
}
});
},
...
...
src/views/yqrange/yq-range.vue
浏览文件 @
25107180
...
...
@@ -49,12 +49,14 @@
</el-table-column>
<el-table-column
label=
"操作"
min-width=
"370"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"publishRange(scope.row)"
v-if=
"scope.row.status == 2"
type=
"text"
size=
"small"
>
上线
</el-button>
<el-button
@
click=
"unPublishRange(scope.row)"
v-if=
"scope.row.status == 1"
type=
"text"
size=
"small"
>
下线
</el-button>
<el-button
@
click=
"liveManage(scope.row)"
type=
"text"
size=
"small"
>
直播管理
</el-button>
<el-button
@
click=
"roleManage(scope.row)"
type=
"text"
size=
"small"
>
成员管理
</el-button>
<el-button
@
click=
"editRange(scope.row)"
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"deleteRange(scope.row)"
type=
"text"
size=
"small"
v-if=
"showAllFlag"
>
解散圈子
</el-button>
<div
v-if=
"scope.row.status != 50"
>
<el-button
@
click=
"publishRange(scope.row)"
v-if=
"scope.row.status != 30"
type=
"text"
size=
"small"
>
上线
</el-button>
<el-button
@
click=
"unPublishRange(scope.row)"
v-if=
"scope.row.status == 30"
type=
"text"
size=
"small"
>
下线
</el-button>
<el-button
@
click=
"liveManage(scope.row)"
type=
"text"
size=
"small"
>
直播管理
</el-button>
<el-button
@
click=
"roleManage(scope.row)"
type=
"text"
size=
"small"
>
成员管理
</el-button>
<el-button
@
click=
"editRange(scope.row)"
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"deleteRange(scope.row)"
type=
"text"
size=
"small"
v-if=
"showAllFlag"
>
解散圈子
</el-button>
</div>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -211,7 +213,7 @@ export default {
customClass
:
'range-make-box'
,
}).
then
(()
=>
{
// confirm
this
.
updateStatus
(
row
.
id
,
"3"
);
this
.
updateStatus
(
row
.
id
,
"3
0
"
);
this
.
$message
.
success
(
"上线成功"
);
}).
catch
(()
=>
{
// cancel
...
...
@@ -226,7 +228,7 @@ export default {
type
:
'warning'
,
customClass
:
'range-make-box'
,
}).
then
(()
=>
{
this
.
updateStatus
(
row
.
id
,
"
1
"
);
this
.
updateStatus
(
row
.
id
,
"
40
"
);
// confirm
}).
catch
(()
=>
{
// cancel
...
...
@@ -239,17 +241,17 @@ export default {
updateRangeStatus
(
params
).
then
((
res
)
=>
{
closeLoading
(
this
);
if
(
res
.
code
==
"000000"
)
{
if
(
status
==
"
1
"
){
if
(
status
==
"
40
"
){
this
.
$message
.
success
(
"下线成功"
);
}
else
if
(
status
==
"
2
"
)
{
else
if
(
status
==
"
30
"
)
{
this
.
$message
.
success
(
"上线成功"
);
}
}
else
{
if
(
status
==
"
1
"
){
if
(
status
==
"
40
"
){
this
.
$message
.
success
(
"下线失败,请重试"
);
}
else
if
(
status
==
"
2
"
)
{
else
if
(
status
==
"
30
"
)
{
this
.
$message
.
success
(
"上线失败,请重试"
);
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录