@@ -131,6 +131,9 @@ Ext.define('saas.view.core.base.ImportWindow', {
buttonConfig:{
xtype:'button',
handler:function(b){
+ var caller = b.ownerCt.ownerCt.ownerCt.ownerCt.caller;
+ //获取模版
+ window.location.href = 'http://192.168.253.58:8560/api/commons/excel/import/templet?caller='+caller;
}
},{
@@ -94,7 +94,7 @@ Ext.define('saas.view.viewport.ViewportController', {
getAccountCookie:function(){
var hasValidCookie = false;
Ext.Ajax.request({
- url: 'http://192.168.253.31:8560/api/auth/info',
+ url: '/api/auth/info',
withCredentials: true,
async:false,
dataType: 'json',