Commit 8531ead6 authored by agping's avatar agping

盘方修改

parent 7476e3e6
...@@ -286,7 +286,9 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', ' ...@@ -286,7 +286,9 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
modify_add : function () {//modify_add批量修改客方 modify_add : function () {//modify_add批量修改客方
var old_agents_text = $('.old_agents').val(); var old_agents_text = $('.old_agents').val();
var new_agents_text = $('.new_agents').val(); var new_agents_text = $('.new_agents').val();
console.log($('.old_agents').attr('name')); console.log($('.phone_jia:eq(0)').attr('data-id'));
console.log($('.phone_jia:eq(1)').attr('data-id'));
// console.log($('.old_agents').attr('name'));
if (old_agents_text == '') { if (old_agents_text == '') {
alert('请输入经纪人内容为空'); alert('请输入经纪人内容为空');
...@@ -308,9 +310,8 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', ' ...@@ -308,9 +310,8 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
}, },
dataType: 'json', dataType: 'json',
success: function (data) { success: function (data) {
if (data.code != 200) { if (data.code == 200) {
console.log(data); console.log(666);
alert(data.msg);
} }
} }
}); });
...@@ -343,16 +344,6 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', ' ...@@ -343,16 +344,6 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
} }
}); });
}, },
// ================================搜索================================
// 下拉列表
// ================================================================
//筛选 //筛选
getList: function (pageNo) { getList: function (pageNo) {
user.pageNo = pageNo; user.pageNo = pageNo;
......
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