|
@@ -166,7 +166,8 @@ Ext.define('saas.view.core.base.ImportWindow', {
|
|
|
handler:function(b){
|
|
handler:function(b){
|
|
|
var caller = b.ownerCt.ownerCt.ownerCt.ownerCt.caller;
|
|
var caller = b.ownerCt.ownerCt.ownerCt.ownerCt.caller;
|
|
|
//获取模版
|
|
//获取模版
|
|
|
- window.location.href = '/api/commons/excel/import/templet?caller='+caller;
|
|
|
|
|
|
|
+ var serverOptions = Ext.manifest.server;
|
|
|
|
|
+ window.location.href = (serverOptions.basePath.http?serverOptions.basePath.http:serverOptions.basePath) + '/api/commons/excel/import/templet?caller='+caller;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},{
|
|
},{
|