| 
					
				 | 
			
			
				@@ -63,6 +63,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button type="danger" native-type="submit">搜索</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button native-type="reset" type="primary">重置</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button type="primary" @click="onExport" v-permission="'export/teacherCourseStatistics'">导出</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </save-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="tableWrap"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -171,6 +172,8 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   getTeacher, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from "@/api/buildTeam"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import pagination from "@/components/Pagination/index"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { Export } from "@/utils/downLoadFile"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import qs from 'qs' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 let nowDate = new Date(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 let nowMonth = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   nowDate.getFullYear() + 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -243,9 +246,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = this.searchForm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      params.page = this.pageInfo.page 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      params.rows = this.pageInfo.limit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      teacherCourseStatistics(params).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // params.page = this.pageInfo.page 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // params.rows = this.pageInfo.limit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      teacherCourseStatistics({ ...params, page: this.pageInfo.page, rows: this.pageInfo.rows }).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let result = res.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.tableList = result.rows; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -253,6 +256,21 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onExport() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const { ...rest } = this.searchForm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      Export( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          url: "/api-web/export/teacherCourseStatistics", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          fileName: "运营预警.xlsx", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          method: "post", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          params: qs.stringify({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ...rest 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "您确定导出运营预警?" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 |