|
@@ -363,7 +363,7 @@ export default {
|
|
|
form: {
|
|
|
organIds: [],
|
|
|
schoolIds: [],
|
|
|
- teamIds:[],
|
|
|
+ teamIds: [],
|
|
|
roomTitle: "",
|
|
|
speakerId: "",
|
|
|
liveStartTime: "",
|
|
@@ -392,7 +392,7 @@ export default {
|
|
|
if (this.$route.query.id) {
|
|
|
this.name = "修改直播间";
|
|
|
// console.log()
|
|
|
- this.form = { ...this.$route.query, organIds: [], schoolIds: [] };
|
|
|
+ this.form = { ...this.$route.query, organIds: [], schoolIds: [],teamIds:[] };
|
|
|
this.form.roomConfig = JSON.parse(this.$route.query.roomConfig);
|
|
|
if (this.$route.query.popularizeOrgIds) {
|
|
|
this.form.organIds = this.$route.query.popularizeOrgIds
|
|
@@ -411,9 +411,9 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (this.$route.query.popularizeTeamIds) {
|
|
|
- let arr = this.$route.query.popularizeTeamIds.split(",");
|
|
|
- this.$set(this.form,'teamIds',arr)
|
|
|
- console.log(this.form.teamIds)
|
|
|
+ let arr = this.$route.query.popularizeTeamIds.split(",");
|
|
|
+ this.$set(this.form, "teamIds", arr);
|
|
|
+ console.log(this.form.teamIds);
|
|
|
}
|
|
|
|
|
|
// this.form.popularizeType = "SCHOOL";
|
|
@@ -520,6 +520,7 @@ export default {
|
|
|
this.form.popularizeOrgIds = this.form.organIds.join(",");
|
|
|
this.form.popularizeSchoolIds = this.form.schoolIds.join(",");
|
|
|
this.form.popularizeTeamIds = this.form.teamIds.join(",");
|
|
|
+
|
|
|
if (this.$route.query.id) {
|
|
|
// 修改
|
|
|
try {
|