|  | @@ -180,24 +180,6 @@
 | 
											
												
													
														|  |              }"
 |  |              }"
 | 
											
												
													
														|  |            ></el-date-picker>
 |  |            ></el-date-picker>
 | 
											
												
													
														|  |          </el-form-item>
 |  |          </el-form-item>
 | 
											
												
													
														|  | -        <el-form-item>
 |  | 
 | 
											
												
													
														|  | -          <el-time-picker
 |  | 
 | 
											
												
													
														|  | -            is-range
 |  | 
 | 
											
												
													
														|  | -            :picker-options="{
 |  | 
 | 
											
												
													
														|  | -              selectableRange: '04:00:00 - 23:59:59',
 |  | 
 | 
											
												
													
														|  | -            }"
 |  | 
 | 
											
												
													
														|  | -            style="width: 375px !important"
 |  | 
 | 
											
												
													
														|  | -            v-model="searchForm.courseTime"
 |  | 
 | 
											
												
													
														|  | -            range-separator="-"
 |  | 
 | 
											
												
													
														|  | -            start-placeholder="上课开始时间"
 |  | 
 | 
											
												
													
														|  | -            end-placeholder="上课结束时间"
 |  | 
 | 
											
												
													
														|  | -            placeholder="选择时间范围"
 |  | 
 | 
											
												
													
														|  | -            value-format="HH:mm:ss"
 |  | 
 | 
											
												
													
														|  | -            format="HH:mm"
 |  | 
 | 
											
												
													
														|  | -            @change="changeCourseTime"
 |  | 
 | 
											
												
													
														|  | -          >
 |  | 
 | 
											
												
													
														|  | -          </el-time-picker>
 |  | 
 | 
											
												
													
														|  | -        </el-form-item>
 |  | 
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          <el-form-item>
 |  |          <el-form-item>
 | 
											
												
													
														|  |            <el-button
 |  |            <el-button
 | 
											
										
											
												
													
														|  | @@ -815,6 +797,24 @@
 | 
											
												
													
														|  |              }"
 |  |              }"
 | 
											
												
													
														|  |            ></el-date-picker>
 |  |            ></el-date-picker>
 | 
											
												
													
														|  |          </el-form-item>
 |  |          </el-form-item>
 | 
											
												
													
														|  | 
 |  | +        <el-form-item label="课程时间" prop="courseTime">
 | 
											
												
													
														|  | 
 |  | +          <el-time-picker
 | 
											
												
													
														|  | 
 |  | +            is-range
 | 
											
												
													
														|  | 
 |  | +            :picker-options="{
 | 
											
												
													
														|  | 
 |  | +              selectableRange: '04:00:00 - 23:59:59',
 | 
											
												
													
														|  | 
 |  | +            }"
 | 
											
												
													
														|  | 
 |  | +            style="width: 350px !important"
 | 
											
												
													
														|  | 
 |  | +            v-model="searchForm.courseTime"
 | 
											
												
													
														|  | 
 |  | +            range-separator="-"
 | 
											
												
													
														|  | 
 |  | +            start-placeholder="上课开始时间"
 | 
											
												
													
														|  | 
 |  | +            end-placeholder="上课结束时间"
 | 
											
												
													
														|  | 
 |  | +            placeholder="选择时间范围"
 | 
											
												
													
														|  | 
 |  | +            value-format="HH:mm:ss"
 | 
											
												
													
														|  | 
 |  | +            format="HH:mm"
 | 
											
												
													
														|  | 
 |  | +            @change="changeCourseTime"
 | 
											
												
													
														|  | 
 |  | +          >
 | 
											
												
													
														|  | 
 |  | +          </el-time-picker>
 | 
											
												
													
														|  | 
 |  | +        </el-form-item>
 | 
											
												
													
														|  |        </el-form>
 |  |        </el-form>
 | 
											
												
													
														|  |        <span slot="footer" class="dialog-footer">
 |  |        <span slot="footer" class="dialog-footer">
 | 
											
												
													
														|  |          <el-button @click="cancleMore">取 消</el-button>
 |  |          <el-button @click="cancleMore">取 消</el-button>
 | 
											
										
											
												
													
														|  | @@ -885,7 +885,7 @@ const initSearch = {
 | 
											
												
													
														|  |    creatTimer: [],
 |  |    creatTimer: [],
 | 
											
												
													
														|  |    courseIdSearch: null,
 |  |    courseIdSearch: null,
 | 
											
												
													
														|  |    memberFlag: null,
 |  |    memberFlag: null,
 | 
											
												
													
														|  | -  courseTime: ['00:00:00','23:59:59'],
 |  | 
 | 
											
												
													
														|  | 
 |  | +  courseTime: ["", ""],
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    name: "teamCourseList",
 |  |    name: "teamCourseList",
 | 
											
										
											
												
													
														|  | @@ -955,7 +955,7 @@ export default {
 | 
											
												
													
														|  |          this.searchForm.teachType ||
 |  |          this.searchForm.teachType ||
 | 
											
												
													
														|  |          this.searchForm.isCallNames ||
 |  |          this.searchForm.isCallNames ||
 | 
											
												
													
														|  |          this.searchForm.memberFlag ||
 |  |          this.searchForm.memberFlag ||
 | 
											
												
													
														|  | -        this.searchForm.creatTimer?.length > 0
 |  | 
 | 
											
												
													
														|  | 
 |  | +        this.searchForm.creatTimer?.length > 0 || (this.searchForm.courseTime?.length > 0&&this.searchForm.courseTime[0])
 | 
											
												
													
														|  |        );
 |  |        );
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
										
											
												
													
														|  | @@ -971,7 +971,7 @@ export default {
 | 
											
												
													
														|  |        for (let item in this.searchForm) {
 |  |        for (let item in this.searchForm) {
 | 
											
												
													
														|  |          if (typeof this.searchForm[item] == "object") {
 |  |          if (typeof this.searchForm[item] == "object") {
 | 
											
												
													
														|  |            // 对象或者数组
 |  |            // 对象或者数组
 | 
											
												
													
														|  | -          if (this.searchForm[item]?.length > 0) {
 |  | 
 | 
											
												
													
														|  | 
 |  | +          if (this.searchForm[item]?.length > 0 && this.searchForm[item][0]) {
 | 
											
												
													
														|  |              flag = true;
 |  |              flag = true;
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  |          } else {
 |  |          } else {
 | 
											
										
											
												
													
														|  | @@ -995,7 +995,7 @@ export default {
 | 
											
												
													
														|  |        this.searchForm.organIdList = Number(query.organId);
 |  |        this.searchForm.organIdList = Number(query.organId);
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    console.log(this.searchForm)
 |  | 
 | 
											
												
													
														|  | 
 |  | +    console.log(this.searchForm);
 | 
											
												
													
														|  |      this.$store.dispatch("setBranchs");
 |  |      this.$store.dispatch("setBranchs");
 | 
											
												
													
														|  |      this.$store.dispatch("setTeachers");
 |  |      this.$store.dispatch("setTeachers");
 | 
											
												
													
														|  |      this.$store.dispatch("setSchools");
 |  |      this.$store.dispatch("setSchools");
 | 
											
										
											
												
													
														|  | @@ -1003,8 +1003,8 @@ export default {
 | 
											
												
													
														|  |      this.init();
 |  |      this.init();
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    methods: {
 |  |    methods: {
 | 
											
												
													
														|  | -    changeCourseTime(val){
 |  | 
 | 
											
												
													
														|  | -      console.log(val)
 |  | 
 | 
											
												
													
														|  | 
 |  | +    changeCourseTime(val) {
 | 
											
												
													
														|  | 
 |  | +      console.log(val);
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      init() {
 |  |      init() {
 | 
											
												
													
														|  |        this.getList();
 |  |        this.getList();
 | 
											
										
											
												
													
														|  | @@ -1111,14 +1111,14 @@ export default {
 | 
											
												
													
														|  |        //   this.$message.error("请至少选择一个搜索条件");
 |  |        //   this.$message.error("请至少选择一个搜索条件");
 | 
											
												
													
														|  |        //   return false;
 |  |        //   return false;
 | 
											
												
													
														|  |        // }
 |  |        // }
 | 
											
												
													
														|  | -      if(searchForm.courseTime?.length>0){
 |  | 
 | 
											
												
													
														|  | -      searchForm.startClassTimeStr = searchForm.courseTime[0]
 |  | 
 | 
											
												
													
														|  | -       searchForm.endClassTimeStr = searchForm.courseTime[1]
 |  | 
 | 
											
												
													
														|  | -      }else{
 |  | 
 | 
											
												
													
														|  | -        searchForm.startClassTimeStr = null
 |  | 
 | 
											
												
													
														|  | -        searchForm.endClassTimeStr = null
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (searchForm.courseTime?.length > 0) {
 | 
											
												
													
														|  | 
 |  | +        searchForm.startClassTimeStr = searchForm.courseTime[0];
 | 
											
												
													
														|  | 
 |  | +        searchForm.endClassTimeStr = searchForm.courseTime[1];
 | 
											
												
													
														|  | 
 |  | +      } else {
 | 
											
												
													
														|  | 
 |  | +        searchForm.startClassTimeStr = null;
 | 
											
												
													
														|  | 
 |  | +        searchForm.endClassTimeStr = null;
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -      const { creatTimer, timer,courseTime, ...rest } = searchForm;
 |  | 
 | 
											
												
													
														|  | 
 |  | +      const { creatTimer, timer, courseTime, ...rest } = searchForm;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |        return {
 |  |        return {
 | 
											
												
													
														|  |          ...rest,
 |  |          ...rest,
 |