getParams (){
var url = location.search;
var theRequest = new Object();if(url.indexOf("?")!=-1){
var str = url.substr(1);
var strs = str.split("&");for(var i =0;i < strs.length;i++){
theRequest[ strs[i].split("=")[0]]=(strs[i].split("=")[1]);}}
this.orderNumber=theRequest.orderNumber;},
然后是前台code的获取方式
getQueryString(name){
var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)","i");
var r = window.location.search.substr(