|  | @@ -368,11 +368,13 @@ export default {
 | 
	
		
			
				|  |  |  			//导入相关
 | 
	
		
			
				|  |  |  			toleadShw: false,
 | 
	
		
			
				|  |  |  			nowIndex: 1,
 | 
	
		
			
				|  |  | -			toleadResult: {}
 | 
	
		
			
				|  |  | +			toleadResult: {},
 | 
	
		
			
				|  |  | +			deriveNum: 0,
 | 
	
		
			
				|  |  |  		};
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  	components: { noData, Steps, toLead },
 | 
	
		
			
				|  |  |  	mounted() {
 | 
	
		
			
				|  |  | +		this.deriveRestrict()
 | 
	
		
			
				|  |  |  		this.getDepartment();
 | 
	
		
			
				|  |  |  		this.get_rule_trees();
 | 
	
		
			
				|  |  |  		this.get_integral_list(this.formData);
 | 
	
	
		
			
				|  | @@ -422,6 +424,15 @@ export default {
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  	methods: {
 | 
	
		
			
				|  |  | +		deriveRestrict(){
 | 
	
		
			
				|  |  | +			this.deriveNum = 0
 | 
	
		
			
				|  |  | +			this.$axios('GET', '/api/site/info')
 | 
	
		
			
				|  |  | +				.then(res => {
 | 
	
		
			
				|  |  | +					if (res.data.code == 1) {
 | 
	
		
			
				|  |  | +						this.deriveNum = Number(res.data.data.export_max_num)
 | 
	
		
			
				|  |  | +					}
 | 
	
		
			
				|  |  | +				})
 | 
	
		
			
				|  |  | +		},
 | 
	
		
			
				|  |  |  		getTypes() {
 | 
	
		
			
				|  |  |  			var arr = this.$getTyps();
 | 
	
		
			
				|  |  |  			return arr.filter(function(item) {
 | 
	
	
		
			
				|  | @@ -531,8 +542,8 @@ export default {
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		exportExcel() {
 | 
	
		
			
				|  |  | -			if(this.total >= 10000){
 | 
	
		
			
				|  |  | -				this.$message.warning('当前数据已超出10000条,请拆分时间段分批导出');
 | 
	
		
			
				|  |  | +			if(this.deriveNum > 0 && this.total >= this.deriveNum){
 | 
	
		
			
				|  |  | +				this.$message.warning('当前数据已超出'+ this.deriveNum +'条,请拆分时间段分批导出');
 | 
	
		
			
				|  |  |  				return
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  			window.open(
 |