Authored by chenchao

en/decodeURIComponent

... ... @@ -10,7 +10,7 @@ var GetRequestParams = function() {
strs = str.split("&");
for(var i = 0; i < strs.length; i ++) {
var paramNameVal = strs[i].split("=");
theRequest[paramNameVal[0]] = unescape(paramNameVal[1]);
theRequest[paramNameVal[0]] = decodeURIComponent(paramNameVal[1]);
}
}
return theRequest;
... ...
... ... @@ -104,7 +104,7 @@ $('tbody').on('click', '.param-val', function() {
var standardName = item.standardName;
var url = "/erpproduct/standardVal/index"+"?"
+ "standardId=" + standardId
+"&" + "standardName=" + standardName ;
+"&" + "standardName=" + encodeURIComponent(standardName) ;
window.location.href= url;
});
... ...