Commit 7ad1d1a8 authored by agping's avatar agping

bug

parent 6ccd48ae
<script src='/resource/lib/js/require.min.js' data-main='/resource/js/main?version=201906886280' charset='utf-8'></script>
<script src='/resource/lib/js/require.min.js' data-main='/resource/js/main?version=201906886286' charset='utf-8'></script>
......@@ -389,7 +389,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
//客户列表操作
$(document).delegate(".genj_ure", "click", function() { //点击操作跟进详情
var _$this = $(this);
$('#modal-record iframe').attr('src', '/index/userModalList?data=' + $.trim(_$this.next().html()) + '&idindex=' + _$this.attr('data-index') + '&id=' + _$this.attr('data-id'));
$('#modal-record iframe').attr('src', '/index/userModalList?data=' + $.trim(_$this.next().html().replace(/[&\|\\\*^%$#@\-]/g,"")) + '&idindex=' + _$this.attr('data-index') + '&id=' + _$this.attr('data-id'));
});
//查看弹出框里的tab点击事件,客户动态 带看动态
......
......@@ -165,7 +165,8 @@ if(~ServerHost.indexOf('api.tonglianjituan.com')){
};
function getUrlParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = decodeURI(window.location.search).substr(1).match(reg);
// var r = decodeURI(window.location.search).substr(1).match(reg);
var r = decodeURI((window.location.search).replace(/%/g, '%25')).substr(1).match(reg);
if(r != null) return unescape(r[2]);
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment