Index: ssts-web/src/main/webapp/js/common.js =================================================================== diff -u -r27384 -r27391 --- ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 27384) +++ ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 27391) @@ -122,22 +122,32 @@ params.goodsSearch = s1+'#'+s2; } } - console.log(params) + var str = ''; + + for(var item in params){ + str += item + '=' + params[item] + '&' + } + + window.open(encodeURI(url+'?'+str),'thisIframe','_self'); + /* Ext.Ajax.request({ url : url, params : params, + method: 'GET', success : function(response, options) { + console.log(response) if(response.statusText == 'OK'){ successCallback(response.responseText); }else { errorCallback('查询失败,请稍后再查!'); } }, failure : function(response, options) { + console.log(response) errorCallback('查询失败,请稍后再查!'); } - }); + });*/ } /**