Commit bfe16505 authored by agping's avatar agping

客户 拨打 修改

parent 9c7ce08e
...@@ -262,6 +262,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart', ...@@ -262,6 +262,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
user.user_id = $(this).attr("data-id"); user.user_id = $(this).attr("data-id");
user.user_phone = $(this).attr("data-phone"); user.user_phone = $(this).attr("data-phone");
user.agent_id_infor = $(this).attr("data-agentId"); user.agent_id_infor = $(this).attr("data-agentId");
$('.call-user-five').html('');
$('.detail-modal-body-sec-2').show();
$('.user_call').show(); $('.user_call').show();
$('#edit_add').show(); $('#edit_add').show();
$('.save-look').show(); $('.save-look').show();
...@@ -1128,11 +1130,14 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart', ...@@ -1128,11 +1130,14 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
if(data.code == 200 || data.code == 201) { if(data.code == 200 || data.code == 201) {
user.user_id=data.data.user_id; user.user_id=data.data.user_id;
if(data.code == 200){ if(data.code == 200){
$('.call-user-five').html('');
$('.detail-modal-body-sec-2').show();
$('.user_call').show(); $('.user_call').show();
$('#edit_add').show(); $('#edit_add').show();
$('.save-look').show(); $('.save-look').show();
}else{ }else{
alert(data.msg) $('.call-user-five').html(data.msg);
$('.detail-modal-body-sec-2').hide();
$('.user_call').hide(); $('.user_call').hide();
$('#edit_add').hide(); $('#edit_add').hide();
$('.save-look').hide(); $('.save-look').hide();
......
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