|  | @@ -50,6 +50,20 @@
 | 
	
		
			
				|  |  |                           width="150"
 | 
	
		
			
				|  |  |                           prop="endClassTimeStr">
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  | +        <el-table-column label="课程类型"
 | 
	
		
			
				|  |  | +                         width="150"
 | 
	
		
			
				|  |  | +                         align="center">
 | 
	
		
			
				|  |  | +          <template slot-scope="scope">
 | 
	
		
			
				|  |  | +            <div>
 | 
	
		
			
				|  |  | +              {{ scope.row.teachMode | teachMode }}
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +          </template>
 | 
	
		
			
				|  |  | +        </el-table-column>
 | 
	
		
			
				|  |  | +        <el-table-column label="教学点"
 | 
	
		
			
				|  |  | +                         align="center"
 | 
	
		
			
				|  |  | +                         width="300"
 | 
	
		
			
				|  |  | +                         prop="schoolName">
 | 
	
		
			
				|  |  | +        </el-table-column>
 | 
	
		
			
				|  |  |          <el-table-column label="操作">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <div>
 | 
	
	
		
			
				|  | @@ -108,6 +122,15 @@
 | 
	
		
			
				|  |  |                            }">
 | 
	
		
			
				|  |  |            </el-time-select>
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  | +        <el-form-item label="教学地点"
 | 
	
		
			
				|  |  | +                      v-if='maskForm.teachMode == "OFFLINE"'>
 | 
	
		
			
				|  |  | +          <el-select v-model="maskForm.address">
 | 
	
		
			
				|  |  | +            <el-option v-for="(item,index) in schoolList"
 | 
	
		
			
				|  |  | +                       :key="index"
 | 
	
		
			
				|  |  | +                       :value="item.id"
 | 
	
		
			
				|  |  | +                       :label="item.name"></el-option>
 | 
	
		
			
				|  |  | +          </el-select>
 | 
	
		
			
				|  |  | +        </el-form-item>
 | 
	
		
			
				|  |  |        </el-form>
 | 
	
		
			
				|  |  |        <div slot="footer"
 | 
	
		
			
				|  |  |             class="dialog-footer">
 | 
	
	
		
			
				|  | @@ -185,6 +208,7 @@
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |  import { resetCourse } from '@/api/buildTeam'
 | 
	
		
			
				|  |  | +import { getSchool } from '@/api/systemManage'
 | 
	
		
			
				|  |  |  import pagination from '@/components/Pagination/index'
 | 
	
		
			
				|  |  |  import { findVipGroupCourseSchedules, bathDelete, appendVipGroupCourseSchedules } from '@/api/vipSeting'
 | 
	
		
			
				|  |  |  export default {
 | 
	
	
		
			
				|  | @@ -203,7 +227,9 @@ export default {
 | 
	
		
			
				|  |  |          date: '',
 | 
	
		
			
				|  |  |          startTime: '',
 | 
	
		
			
				|  |  |          endTime: '',
 | 
	
		
			
				|  |  | -        id: ''
 | 
	
		
			
				|  |  | +        id: '',
 | 
	
		
			
				|  |  | +        address: '',
 | 
	
		
			
				|  |  | +        teachMode: ''
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        rules: {
 | 
	
		
			
				|  |  |          // 分页规则
 | 
	
	
		
			
				|  | @@ -217,6 +243,7 @@ export default {
 | 
	
		
			
				|  |  |          startTime: [{ required: true, message: '请选择上课开始时间', trigger: 'blur' },],
 | 
	
		
			
				|  |  |          endTime: [{ required: true, message: '请选择上课结束时间', trigger: 'blur' },],
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | +      schoolList: []
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    created () {
 | 
	
	
		
			
				|  | @@ -224,6 +251,11 @@ export default {
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    mounted () {
 | 
	
		
			
				|  |  |      this.getList();
 | 
	
		
			
				|  |  | +    getSchool({ organId: this.$store.getters.organ }).then(res => {
 | 
	
		
			
				|  |  | +      if (res.code == 200) {
 | 
	
		
			
				|  |  | +        this.schoolList = res.data;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  |      getList () {
 | 
	
	
		
			
				|  | @@ -245,6 +277,8 @@ export default {
 | 
	
		
			
				|  |  |        this.maskForm.startTime = row.startClassTimeStr;
 | 
	
		
			
				|  |  |        this.maskForm.endTime = row.endClassTimeStr;
 | 
	
		
			
				|  |  |        this.maskForm.id = row.id;
 | 
	
		
			
				|  |  | +      this.maskForm.address = row.schoolId
 | 
	
		
			
				|  |  | +      this.maskForm.teachMode = row.teachMode
 | 
	
		
			
				|  |  |        // 修改课时
 | 
	
		
			
				|  |  |        this.courseVisible = true;
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -257,7 +291,8 @@ export default {
 | 
	
		
			
				|  |  |          startClassTimeStr: this.maskForm.startTime,
 | 
	
		
			
				|  |  |          endClassTimeStr: this.maskForm.endTime,
 | 
	
		
			
				|  |  |          id: this.maskForm.id,
 | 
	
		
			
				|  |  | -        classDate: this.maskForm.date
 | 
	
		
			
				|  |  | +        classDate: this.maskForm.date,
 | 
	
		
			
				|  |  | +        schoolId: this.maskForm.address || null
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        resetCourse(obj).then(res => {
 | 
	
		
			
				|  |  |          if (res.code == 200) {
 |