提交 f0fd22d3 编写于 作者: yi.li's avatar yi.li

新建编辑直播修改

上级 0f84f5ec
......@@ -277,10 +277,11 @@
curmbFirst: '云鹊小圈',
curmbSecond: '直播管理',
curmbThird: '新建直播',
circleId: null,
//页面展示位置
isCollectShow: false,
formData: {
circleId: "1",// 圈子ID
circleId: "",// 圈子ID
name: '',// 直播名称
scope: "1",// 直播范围 1-非公开 2-公开
infoCollect: "0",// 是否采集用户信息 0-否 1-是
......@@ -400,6 +401,9 @@
},
mounted() {
const rtcId = this.$route.query.rtcId;
const circleId = this.$route.query.circleId;
this.circleId = circleId;
this.formData.circleId = circleId;
// if(rtcId){
// this.curmbThird = "编辑直播";
// }
......@@ -424,6 +428,7 @@
}).then((data) => {
if(data.code == "000000") {
this.formData = data.data;
this.formData.circleId = this.circleId;
this.initFormData();
console.log(this.formData);
}
......
......@@ -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"
path: "/create-live",
query: {
circleId: this.circleId
}
});
},
//弹出直播链接弹窗
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册