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
提交
1c84f454
提交
1c84f454
编写于
6月 21, 2020
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新建直播和小圈上下线
上级
f0fd22d3
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
17 行增加
和
12 行删除
+17
-12
create-live.vue
src/views/yqrange/create-live.vue
+3
-0
yq-range.vue
src/views/yqrange/yq-range.vue
+14
-12
未找到文件。
src/views/yqrange/create-live.vue
浏览文件 @
1c84f454
...
@@ -754,6 +754,9 @@
...
@@ -754,6 +754,9 @@
this.$message.success("
操作成功
");
this.$message.success("
操作成功
");
this.$router.push({
this.$router.push({
path: '/live-manage',
path: '/live-manage',
query: {
id: this.circleId
}
})
})
}
}
else {
else {
...
...
src/views/yqrange/yq-range.vue
浏览文件 @
1c84f454
...
@@ -49,12 +49,14 @@
...
@@ -49,12 +49,14 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
min-width=
"370"
align=
"center"
>
<el-table-column
label=
"操作"
min-width=
"370"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"publishRange(scope.row)"
v-if=
"scope.row.status == 2"
type=
"text"
size=
"small"
>
上线
</el-button>
<div
v-if=
"scope.row.status != 50"
>
<el-button
@
click=
"unPublishRange(scope.row)"
v-if=
"scope.row.status == 1"
type=
"text"
size=
"small"
>
下线
</el-button>
<el-button
@
click=
"publishRange(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=
"unPublishRange(scope.row)"
v-if=
"scope.row.status == 30"
type=
"text"
size=
"small"
>
下线
</el-button>
<el-button
@
click=
"roleManage(scope.row)"
type=
"text"
size=
"small"
>
成员管理
</el-button>
<el-button
@
click=
"liveManage(scope.row)"
type=
"text"
size=
"small"
>
直播管理
</el-button>
<el-button
@
click=
"editRange(scope.row)"
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"roleManage(scope.row)"
type=
"text"
size=
"small"
>
成员管理
</el-button>
<el-button
@
click=
"deleteRange(scope.row)"
type=
"text"
size=
"small"
v-if=
"showAllFlag"
>
解散圈子
</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
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -211,7 +213,7 @@ export default {
...
@@ -211,7 +213,7 @@ export default {
customClass
:
'range-make-box'
,
customClass
:
'range-make-box'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
// confirm
// confirm
this
.
updateStatus
(
row
.
id
,
"3"
);
this
.
updateStatus
(
row
.
id
,
"3
0
"
);
this
.
$message
.
success
(
"上线成功"
);
this
.
$message
.
success
(
"上线成功"
);
}).
catch
(()
=>
{
}).
catch
(()
=>
{
// cancel
// cancel
...
@@ -226,7 +228,7 @@ export default {
...
@@ -226,7 +228,7 @@ export default {
type
:
'warning'
,
type
:
'warning'
,
customClass
:
'range-make-box'
,
customClass
:
'range-make-box'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
updateStatus
(
row
.
id
,
"
1
"
);
this
.
updateStatus
(
row
.
id
,
"
40
"
);
// confirm
// confirm
}).
catch
(()
=>
{
}).
catch
(()
=>
{
// cancel
// cancel
...
@@ -239,17 +241,17 @@ export default {
...
@@ -239,17 +241,17 @@ export default {
updateRangeStatus
(
params
).
then
((
res
)
=>
{
updateRangeStatus
(
params
).
then
((
res
)
=>
{
closeLoading
(
this
);
closeLoading
(
this
);
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
if
(
status
==
"
1
"
){
if
(
status
==
"
40
"
){
this
.
$message
.
success
(
"下线成功"
);
this
.
$message
.
success
(
"下线成功"
);
}
}
else
if
(
status
==
"
2
"
)
{
else
if
(
status
==
"
30
"
)
{
this
.
$message
.
success
(
"上线成功"
);
this
.
$message
.
success
(
"上线成功"
);
}
}
}
else
{
}
else
{
if
(
status
==
"
1
"
){
if
(
status
==
"
40
"
){
this
.
$message
.
success
(
"下线失败,请重试"
);
this
.
$message
.
success
(
"下线失败,请重试"
);
}
}
else
if
(
status
==
"
2
"
)
{
else
if
(
status
==
"
30
"
)
{
this
.
$message
.
success
(
"上线失败,请重试"
);
this
.
$message
.
success
(
"上线失败,请重试"
);
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录