|
@@ -219,8 +219,9 @@
|
|
filterable
|
|
filterable
|
|
clearable
|
|
clearable
|
|
multiple
|
|
multiple
|
|
- @change="changeSchool"
|
|
|
|
|
|
+
|
|
>
|
|
>
|
|
|
|
+ <!-- @change="changeSchool" -->
|
|
<el-option
|
|
<el-option
|
|
v-for="(item, index) in cooperationList"
|
|
v-for="(item, index) in cooperationList"
|
|
:key="index"
|
|
:key="index"
|
|
@@ -554,7 +555,7 @@ export default {
|
|
this.form.schoolIds = [];
|
|
this.form.schoolIds = [];
|
|
this.form.teamIds = [];
|
|
this.form.teamIds = [];
|
|
// }
|
|
// }
|
|
- if (this.form.popularizeType == "SCHOOL" || (val && val.length > 0)) {
|
|
|
|
|
|
+ if (this.form.popularizeType == "SCHOOL" && val && val.length > 0) {
|
|
let organId = val.join(",");
|
|
let organId = val.join(",");
|
|
try {
|
|
try {
|
|
await queryByOrganId({ organId }).then((res) => {
|
|
await queryByOrganId({ organId }).then((res) => {
|
|
@@ -566,7 +567,7 @@ export default {
|
|
console.log(e);
|
|
console.log(e);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (this.form.popularizeType == "TEAM" || (val && val.length > 0)) {
|
|
|
|
|
|
+ if (this.form.popularizeType == "TEAM" && (val && val.length > 0)) {
|
|
let organId = val.join(",");
|
|
let organId = val.join(",");
|
|
try {
|
|
try {
|
|
await getTeamList({ organId, page: 1, rows: 9999 }).then((res) => {
|
|
await getTeamList({ organId, page: 1, rows: 9999 }).then((res) => {
|