|  | @@ -267,6 +267,9 @@
 | 
	
		
			
				|  |  |              <template slot-scope="scope">
 | 
	
		
			
				|  |  |                <div>
 | 
	
		
			
				|  |  |                  <el-button type="text"
 | 
	
		
			
				|  |  | +                  @click="removeCourse(scope.row)"
 | 
	
		
			
				|  |  | +                  v-permission="'courseSchedule/batchDelete'">删除</el-button>
 | 
	
		
			
				|  |  | +                <el-button type="text"
 | 
	
		
			
				|  |  |                             v-if="permission('teamCourseList/details')"
 | 
	
		
			
				|  |  |                             @click="lookDetail(scope.row)">详情</el-button>
 | 
	
		
			
				|  |  |                  <el-button type="text"
 | 
	
	
		
			
				|  | @@ -448,6 +451,7 @@ import {
 | 
	
		
			
				|  |  |    getEmployeeOrgan,
 | 
	
		
			
				|  |  |    cleanAttendance
 | 
	
		
			
				|  |  |  } from "@/api/buildTeam";
 | 
	
		
			
				|  |  | +import { bathDelete } from "@/api/vipSeting"
 | 
	
		
			
				|  |  |  import { workType, mergeCourseType } from '@/constant'
 | 
	
		
			
				|  |  |  import { objectToOptions, getTimes } from '@/utils'
 | 
	
		
			
				|  |  |  import { getTeacherPersonalAttendanceDetail } from "@/api/teacherManager";
 | 
	
	
		
			
				|  | @@ -555,6 +559,20 @@ export default {
 | 
	
		
			
				|  |  |      permission (str, parent) {
 | 
	
		
			
				|  |  |        return permission(str, parent);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    async removeCourse(row) {
 | 
	
		
			
				|  |  | +      console.log({...row})
 | 
	
		
			
				|  |  | +      try {
 | 
	
		
			
				|  |  | +        await this.$confirm('是否确认删除此数据?', '提示', {
 | 
	
		
			
				|  |  | +          type: 'warning'
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +        bathDelete({ courseScheduleIds: row.id }).then(res => {
 | 
	
		
			
				|  |  | +          if (res.code == 200) {
 | 
	
		
			
				|  |  | +            this.$message.success("删除成功");
 | 
	
		
			
				|  |  | +            this.getList();
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +      } catch (error) {}
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      reset() {
 | 
	
		
			
				|  |  |        this.searchForm = {...initSearch}
 | 
	
		
			
				|  |  |        this.search()
 |