mo 5 anni fa
parent
commit
4e8aabffd2

+ 3 - 0
src/views/buildVip/index.vue

@@ -45,6 +45,7 @@
                         prop="courseType">
             <el-select v-model="leftForm.courseType"
                        clearable
+                       filterable
                        :disabled="!leftForm.teacher"
                        @change="changeType">
               <el-option v-for="(item,index) in courseTypeList"
@@ -56,6 +57,7 @@
           <el-form-item label="活动方案"
                         prop="activeType">
             <el-select v-model="leftForm.activeType"
+                       filterable
                        clearable
                        :disabled="!leftForm.courseType"
                        @change="chioseActive">
@@ -68,6 +70,7 @@
           <!-- 11111111111111111111111111111111 -->
           <el-form-item label="教学点">
             <el-select v-model="leftForm.section"
+                       filterable
                        clearable
                        :disabled="!leftForm.teacher">
               <el-option v-for="(item,index) in scetionList"

+ 2 - 3
src/views/teamBuild/teamSeting/components/setClass.vue

@@ -333,12 +333,11 @@ export default {
       if (this.maskList.studentsGroup[index]) {
         this.maskList.checkList[index] = []
         for (let i in val) {
-          // 存储的数组
+          // 存储的数组 activeStudents
           this.maskList.checkList[index].push(val[i].userId);
           this.activeStudents.push(val[i].userId)
-
+          this.activeStudents = Array.from(new Set(this.activeStudents))
           // 并且把所有的学生 添加到勾选的学生列表
-
         }
       } else {
         for (let i in this.activeStudents) {