Commit d726194c authored by agping's avatar agping

客户详情 设置重盘

parent af6d0b7b
...@@ -478,6 +478,18 @@ ...@@ -478,6 +478,18 @@
color: #A4ACCF; color: #A4ACCF;
margin-top: 5px; margin-top: 5px;
} }
.public-box-noleft-33{
display: inline-block;
width: 33px;
height: 26px;
line-height: 26px;
text-align: center;
border: 1px solid #D8DBED;
border-radius: 3px;
font-size: 12px;
color: #A4ACCF;
margin-top: 5px;
}
#edit_add{ #edit_add{
display: inline-block; display: inline-block;
width: 66px; width: 66px;
...@@ -1058,4 +1070,51 @@ ...@@ -1058,4 +1070,51 @@
<!-- /.modal-content --> <!-- /.modal-content -->
</div> </div>
<!-- /.modal --> <!-- /.modal -->
</div>
<!--设置主盘弹窗-->
<div class="modal fade" id="modal-heavyPlates" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title">
主盘/原盘设置
</h4>
</div>
<div class="modal-body" style="padding: 25px;">
<div class="left-phone-liu">
<select class="user_heavyPlates" style="font-size: 14px;font-weight: 500;float: right;margin-top: 8px;">
<option value="1">原盘</option>
<option value="2">重盘</option>
</select>
</div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" class="btn btn-info save-heavyPlates" data-dismiss="modal">保存
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div> </div>
\ No newline at end of file
...@@ -1371,7 +1371,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c ...@@ -1371,7 +1371,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
//关联客户显示 解除关联 //关联客户显示 解除关联
var user_bind_list = ""; var user_bind_list = "";
$.each(data['data']['user_bind_list'], function(i, item) { $.each(data['data']['user_bind_list'], function(i, item) {
user_bind_list += '<div>' + item.user_name + ',ID:' + item.user_id + ',' + hideTel(item.user_phone) + '<span class="public-box-noleft-73 del-relational" data-id="'+ item.user_id +'">解除关联</span>' + '<a class="public-box-noleft-73 user-detail" href="#modal-userDetail" data-toggle="modal" data-id="'+ item.user_id +'">客户详情</a>' + '</div>'; user_bind_list += '<div>' + item.user_name + ',ID:' + item.user_id + ',' + hideTel(item.user_phone) + '<span class="public-box-noleft-73 del-relational" data-id="'+ item.user_id +'">解除关联</span>' + '<a class="public-box-noleft-73 user-detail" href="#modal-userDetail" data-toggle="modal" data-id="'+ item.user_id +'">客户详情</a>' + '<a class="public-box-noleft-33 user-detail" href="#modal-heavyPlates" data-toggle="modal" data-id="'+ item.user_id +'">设置</a>' + '</div>';
}); });
if(user_bind_list){ if(user_bind_list){
$(".user-detail-relational").html(user_bind_list); $(".user-detail-relational").html(user_bind_list);
......
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