|  | @@ -108,7 +108,9 @@
 | 
	
		
			
				|  |  |                  " @click="exportCourse">导出</el-button>
 | 
	
		
			
				|  |  |        </el-form-item>
 | 
	
		
			
				|  |  |      </save-form>
 | 
	
		
			
				|  |  | -    <div class="btnWraps"></div>
 | 
	
		
			
				|  |  | +    <div class="btnWraps" style="margin-bottom:20px;">
 | 
	
		
			
				|  |  | +      <el-button type="primary" @click="transCourse">课程转换</el-button>
 | 
	
		
			
				|  |  | +    </div>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <div style="font-size: 14px; padding-bottom: 10px">
 | 
	
		
			
				|  |  |        总出勤率:<span style="color: #f85043; font-weight: 600">{{
 | 
	
	
		
			
				|  | @@ -128,6 +130,7 @@
 | 
	
		
			
				|  |  |        <el-table
 | 
	
		
			
				|  |  |          :data="tableList"
 | 
	
		
			
				|  |  |          :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
 | 
	
		
			
				|  |  | +        @selection-change="handleSelectionChange"
 | 
	
		
			
				|  |  |        >
 | 
	
		
			
				|  |  |          <el-table-column type="selection"
 | 
	
		
			
				|  |  |                           width="55"
 | 
	
	
		
			
				|  | @@ -831,6 +834,7 @@ export default {
 | 
	
		
			
				|  |  |          if (res.code == 200) {
 | 
	
		
			
				|  |  |            this.tableList = res.data.rows;
 | 
	
		
			
				|  |  |            this.rules.total = res.data.total;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1175,6 +1179,22 @@ export default {
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    transCourse(){
 | 
	
		
			
				|  |  | +      if (this.activeCourseList.length < 1) {
 | 
	
		
			
				|  |  | +        this.$message.error("请至少选择一节课");
 | 
	
		
			
				|  |  | +        return;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +      let arr = [];
 | 
	
		
			
				|  |  | +      this.activeCourseList.forEach(item=>{
 | 
	
		
			
				|  |  | +        arr.push(item.courseScheduleType)
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  | +      arr = [...new Set(arr)]
 | 
	
		
			
				|  |  | +      if(arr.length > 1){
 | 
	
		
			
				|  |  | +        this.$message.error("请选择同一种课程类型");
 | 
	
		
			
				|  |  | +        return;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    filters: {
 | 
	
		
			
				|  |  |      studentCallName: (value) => {
 |