| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -19,6 +19,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          :with-credentials="true" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          :show-file-list="false" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          :auto-upload="true" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          :on-progress="handleProgress" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          :on-success="handleExcelSuccess" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          :before-upload="beforeExcelUpload" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          :http-request="uploadHttpRequest" | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -371,6 +372,9 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.$message.error(res.msg) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    handleProgress(event, file, fileList) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log('percentage', file.percentage) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    beforeExcelUpload (file) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log('file', file) | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -393,11 +397,13 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.$http | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .post('/epmetuser/icresiuser/importExcel', formData) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .then(({ data: res }) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if(res.code === 0) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // this.$refs.upload.submit() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            // if(res.code === 0) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            //   // this.$refs.upload.submit() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            //   file.onSuccess()  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            //   console.log('res-ooooo---', res) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            // } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          console.log('res-ooooo---', res) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.download(res, 'info.xlsx') | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .catch( err => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            console.log('失败', err) | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |