编码:
encodeURI();
如:window.location.href = encodeURI("/Index/Index?stationName=" + stationName);
解码:decodeURI();
如: var stationURL = window.location.href;
var stationName = decodeURI(stationURL.split("=")[1]);
var stationName = decodeURI(stationURL.split("=")[1]);