mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	v3.8.0 新增通用方法简化下载使用
This commit is contained in:
		@@ -297,7 +297,7 @@ export default {
 | 
			
		||||
          this.exportLoading = true;
 | 
			
		||||
          return exportData(queryParams);
 | 
			
		||||
        }).then(response => {
 | 
			
		||||
          this.downloadExcel(response, '字典数据.xls');
 | 
			
		||||
          this.$download.excel(response, '字典数据.xls');
 | 
			
		||||
          this.exportLoading = false;
 | 
			
		||||
      }).catch(() => {});
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -250,7 +250,7 @@ export default {
 | 
			
		||||
        this.exportLoading = true;
 | 
			
		||||
        return exportType(params);
 | 
			
		||||
      }).then(response => {
 | 
			
		||||
        this.downloadExcel(response, '字典类型.xls');
 | 
			
		||||
        this.$download.excel(response, '字典类型.xls');
 | 
			
		||||
        this.exportLoading = false;
 | 
			
		||||
      }).catch(() => {});
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user