window.location.href = "__MODULE__/Index/goods/is_tanke/" + that.tanke + '/is_crm_ids/' + that.ids
//获取链接后的参数
function GetQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);//search,查询?后面的参数,并匹配正则
if (r != null) return unescape(r[2]); return null;
}
console.log("p_id", GetQueryString("p_id"))
that.p_id = GetQueryString("p_id")
if (that.p_id == null && that.p_id == undefined) {
that.p_id = ""
}