|  | @@ -87,6 +87,7 @@
 | 
	
		
			
				|  |  |          <el-form-item>
 | 
	
		
			
				|  |  |            <el-button native-type="submit" type="primary">搜索</el-button>
 | 
	
		
			
				|  |  |            <el-button native-type="reset" type="danger">重置</el-button>
 | 
	
		
			
				|  |  | +          <el-button @click="onExport" type="primary" v-permission="'export/teacherServeInfo'">导出</el-button>
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  |        </save-form>
 | 
	
		
			
				|  |  |        <div class="btnWraps" style="margin-bottom: 20px">
 | 
	
	
		
			
				|  | @@ -225,6 +226,8 @@ import load from "@/utils/loading";
 | 
	
		
			
				|  |  |  import { getTeacherServeInfo, teacherServeRemindPush } from "./api";
 | 
	
		
			
				|  |  |  import { getTimes } from "@/utils";
 | 
	
		
			
				|  |  |  import { getNowDateAndSunday, getNowDateAndMonday } from "@/utils/date";
 | 
	
		
			
				|  |  | +import { Export } from '@/utils/downLoadFile'
 | 
	
		
			
				|  |  | +import qs from 'qs'
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    components: { pagination, serverMask },
 | 
	
		
			
				|  |  |    data() {
 | 
	
	
		
			
				|  | @@ -375,6 +378,15 @@ export default {
 | 
	
		
			
				|  |  |              return time.getTime() >= Date.now();
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    onExport() {
 | 
	
		
			
				|  |  | +      const {orderDate, ...rest} = this.searchForm;
 | 
	
		
			
				|  |  | +      Export(this, {
 | 
	
		
			
				|  |  | +        url: '/api-web/export/teacherServeInfo',
 | 
	
		
			
				|  |  | +        fileName: '退团申请.xlsx',
 | 
	
		
			
				|  |  | +        method: 'post',
 | 
	
		
			
				|  |  | +        params: qs.stringify({ ...rest, ...getTimes(this.orderDate, ["monday", "sunday"]) })
 | 
	
		
			
				|  |  | +      }, '您确定导出退团申请列表?')
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |  };
 |