Commit 342c76c3 authored by agping's avatar agping

客户列表修改

parent 9f2612c2
......@@ -41,6 +41,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
agentbaohu:'',
user_id_new_introduce:'',
user_id_edit_introduce:'',
agent_id_choose:'',//客户列表 客户姓名搜索 经纪人id
customerInfo: {},
all_custom : true , // true :所有客户 ,false :当前客户
main_select : false , // true : 开启高级搜索 ,false :关闭高级搜索
......@@ -490,7 +491,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
});
$(document).on("input", "#user_agent_name", function() { //客户列表 客方员工姓名 下拉式搜索
if($("#user_agent_name").val() == '') {
user.agent_id='';
user.agent_id_choose='';
$(".user-ul-agent").html('');
} else {
user.search_phone_agent();
......@@ -1065,7 +1066,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
var user_ht = $(obj).html();
$("#user_agent_name").val(user_ht);
$(".user-ul-agent").html('');
user.agent_id = $(obj).attr("data-id");
user.agent_id_choose = $(obj).attr("data-id");
},
addUserNewLi: function(obj) {//新增客户 input赋值 搜索客户id
var user_ht = $(obj).html();
......@@ -1712,7 +1713,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
params.pageNo = user.pageNo;
params.pageSize = user.pageSize;
params.user_agent = $.trim($("input[name='user_agent']").val());
params.user_agent_name = $.trim($("#user_agent_name").val());
params.user_agent_name = user.agent_id_choose;
params.invite_agent_phone = $.trim($("input[name='invite_agent_phone']").val());
params.area_type = $.trim($("select[name=area_type]").val());
params.price_type = $.trim($("select[name=price_type]").val());
......
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