Jun

添加注释

......@@ -192,6 +192,7 @@ define(['i18n!base/nls/resource', 'cls', 'jquery', '../authz.jsonp?callback=defi
}
})
},
//通用下载方法
download:function(filename,path,url){
if(!url){
url='./download';
......@@ -208,10 +209,12 @@ define(['i18n!base/nls/resource', 'cls', 'jquery', '../authz.jsonp?callback=defi
}, 60*10000);
}
},
//excel错误文件下载
downloadErrorExcel:function(fileName,path){
var url = "./excelImport/downloadError";
this.download(fileName,path,url);
},
//excel模板文件下载
downloadExcelTemplate:function(){
var url = "./excelImport/downloadExcelTemplate";
this.download(filename,null,url);
......