|
@@ -394,6 +394,7 @@ export default {
|
|
|
// console.log()
|
|
|
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
|
|
|
.split(",")
|
|
@@ -401,7 +402,7 @@ export default {
|
|
|
return item * 1;
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+ this.changeSection(this.form.organIds);
|
|
|
if (this.$route.query.popularizeSchoolIds) {
|
|
|
this.form.schoolIds = this.$route.query.popularizeSchoolIds
|
|
|
.split(",")
|
|
@@ -417,7 +418,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
// this.form.popularizeType = "SCHOOL";
|
|
|
- this.changeSection(this.form.organIds);
|
|
|
+
|
|
|
this.remoteMethod(this.$route.query.speakerName);
|
|
|
|
|
|
this.checkList.push(this.form.preTemplate * 1);
|
|
@@ -549,10 +550,10 @@ export default {
|
|
|
this.$set(this.form, "teamIds", []);
|
|
|
},
|
|
|
async changeSection(val) {
|
|
|
- if (!this.isinit) {
|
|
|
+ // if (!this.isinit) {
|
|
|
this.form.schoolIds = [];
|
|
|
this.form.teamIds = [];
|
|
|
- }
|
|
|
+ // }
|
|
|
if (this.form.popularizeType == "SCHOOL" || (val && val.length > 0)) {
|
|
|
let organId = val.join(",");
|
|
|
try {
|