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

新建编辑直播修改

上级 0f84f5ec
...@@ -277,10 +277,11 @@ ...@@ -277,10 +277,11 @@
curmbFirst: '云鹊小圈', curmbFirst: '云鹊小圈',
curmbSecond: '直播管理', curmbSecond: '直播管理',
curmbThird: '新建直播', curmbThird: '新建直播',
circleId: null,
//页面展示位置 //页面展示位置
isCollectShow: false, isCollectShow: false,
formData: { formData: {
circleId: "1",// 圈子ID circleId: "",// 圈子ID
name: '',// 直播名称 name: '',// 直播名称
scope: "1",// 直播范围 1-非公开 2-公开 scope: "1",// 直播范围 1-非公开 2-公开
infoCollect: "0",// 是否采集用户信息 0-否 1-是 infoCollect: "0",// 是否采集用户信息 0-否 1-是
...@@ -400,6 +401,9 @@ ...@@ -400,6 +401,9 @@
}, },
mounted() { mounted() {
const rtcId = this.$route.query.rtcId; const rtcId = this.$route.query.rtcId;
const circleId = this.$route.query.circleId;
this.circleId = circleId;
this.formData.circleId = circleId;
// if(rtcId){ // if(rtcId){
// this.curmbThird = "编辑直播"; // this.curmbThird = "编辑直播";
// } // }
...@@ -424,6 +428,7 @@ ...@@ -424,6 +428,7 @@
}).then((data) => { }).then((data) => {
if(data.code == "000000") { if(data.code == "000000") {
this.formData = data.data; this.formData = data.data;
this.formData.circleId = this.circleId;
this.initFormData(); this.initFormData();
console.log(this.formData); console.log(this.formData);
} }
......
...@@ -163,15 +163,15 @@ export default { ...@@ -163,15 +163,15 @@ export default {
} }
], ],
tableData: [ tableData: [
{ // {
liveName: "浙江医学大会第二场", // liveName: "浙江医学大会第二场",
liveScope: 1, //直播范围 1-非公开 2-公开 // liveScope: 1, //直播范围 1-非公开 2-公开
liveStatus: 1, //直播状态 1-未开始 2-直播中 3-暂停中 4-已结束 5-回放中目前只能用到1,2,4 // liveStatus: 1, //直播状态 1-未开始 2-直播中 3-暂停中 4-已结束 5-回放中目前只能用到1,2,4
createTime: "", // createTime: "",
startTime: "", // startTime: "",
endTime: "", // endTime: "",
rtcId: 0 // rtcId: 0
} // }
], ],
dialogStatisticsData: [ dialogStatisticsData: [
{ {
...@@ -210,7 +210,10 @@ export default { ...@@ -210,7 +210,10 @@ export default {
//新建直播 //新建直播
createLive() { createLive() {
this.$router.push({ this.$router.push({
path: "/create-live" path: "/create-live",
query: {
circleId: this.circleId
}
}); });
}, },
//弹出直播链接弹窗 //弹出直播链接弹窗
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册