指向url:
url?ViewName=可研
获取js方法: function getQueryString(key) { var reg = new RegExp("(^|&)" + key + "=([^&]*)(&|$)"); var result = window.location.search.substr(1).match(reg); if (result != null) { return decodeURIComponent(result[2]); } else { return ""; } }