Commit bb556c3d authored by agping's avatar agping

客户跟进 列表 修改

parent 6a035f1b
......@@ -1011,14 +1011,14 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
$('#note_look').val('');
$('.look-shop').val('');
$('.look-shop').removeAttr('data-id');
user.isAjaxSaving = false;//请求结束,再改为初始状态
$("#modal-takeLook").modal('hide');//提交成功后 关闭弹窗
$("#modal-takeLook").modal('hide');//提交成功后 关闭弹窗
} else {
alert(data.msg);
}
},
complete: function(xhr, textStatus){
user.isAjaxSaving = false;//请求结束,再改为初始状态
if(textStatus === 'timeout'){
layerTipsX('请求超时');
};
......@@ -1228,7 +1228,6 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
success: function(data) {
if(data.code == 200) {
alert('修改成功');
user.isAjaxSaving = false;//请求结束,再改为初始状态
user.getGenjincon();
$('#genj_text').val('');
// $("#modal-record").modal('hide');
......@@ -1237,6 +1236,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
}
},
complete: function(xhr, textStatus){
user.isAjaxSaving = false;//请求结束,再改为初始状态
if(textStatus === 'timeout'){
layerTipsX('请求超时');
};
......@@ -1517,8 +1517,9 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
alert('error');
},
complete: function(){
$('#main_loading_pic').hide();
user.isAjaxSaving = false;//请求结束,再改为初始状态
$('#main_loading_pic').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