Commit 768504b3 authored by agping's avatar agping

点击关闭

parent bbd54c3a
......@@ -1029,7 +1029,7 @@
<div class="modal-dialog" style="width: 850px;">
<div class="modal-content">
<!--<p style="position: absolute;font-size: 16px;margin-left: 20px;" class="text-danger">关联客户详情</p>-->
<button type="button" data-dismiss="modal" aria-hidden="true" style="margin-left: 791px;font-size: 26px;height: 20px;line-height: 20px;background: #fff;border: 0;position: relative;z-index: 666666;outline: none;">
<button type="button" class="guanbi-guanlian" data-dismiss="modal" aria-hidden="true" style="margin-left: 791px;font-size: 26px;height: 20px;line-height: 20px;background: #fff;border: 0;position: relative;z-index: 666666;outline: none;">
&times;
</button>
<div class="modal-body" style="margin-top: -20px;">
......
......@@ -99,7 +99,14 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
_doc.on('click', '.close, .btn-guanbi', function(e){
e.preventDefault();
e.stopPropagation();
window.parent.document.querySelector('#modal-record .close').click();
if(iframeType == 1){//关联客户详情
window.parent.document.querySelector('#modal-userDetail .guanbi-guanlian').click();
}else{
window.parent.document.querySelector('#modal-record .close').click();
}
});
if(iframeType){
user.user_id = getUrlParam('data');
......
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