Commit bb556c3d authored by agping's avatar agping

客户跟进 列表 修改

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