Commit 0c7985c9 authored by agping's avatar agping

经纪人转勤 修改

parent 224172ba
......@@ -398,8 +398,11 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
dataType: "json",
success: function(data) {
if(data.code == 200) {
alert('提交成功');
$("#modal-edit").modal('hide');
}else if(data.code == 101){
if(data.msg == '转勤'){
layer.open({
layer.open({
content: '改账号已经有相同账号,请问是否转勤?(转勤 即人员调配另外一个城市)转勤后,所有商铺和客户也都会转到新建的相同手机号里,请确定是否转勤。',
btn: ['确定转勤', '取消转勤'],
yes: function(_index){
......@@ -409,11 +412,8 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
}
});
}else{
alert('提交成功');
$("#modal-edit").modal('hide');
alert(data.msg);
}
}else if(data.code == 101){
alert(data.msg);
} else {
}
......
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