Commit 976b15b4 authored by agping's avatar agping

客户列表注释

parent 53839867
......@@ -22,6 +22,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
},
event: function () {
var _doc = $(document);
//二级联动
user.getDistrict(function(){
_doc.on('input', '#district_id, #district_id2', function(){
var _this = $(this);
......@@ -309,7 +310,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
},
//
// 批量修改客方666
// 批量修改客方
//
modify_add : function () {//modify_add批量修改客方
var old_agents_text = $('.old_agents').val();
......@@ -393,14 +394,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
getList: function (pageNo) {
user.pageNo = pageNo;
var params = {};
// if($("#district_id").val()!=0||$("#guest_stores").val()!=''){
// $("#district_id2").val('0');
// $("#guest_stores2").val('');
// };
// if($("#district_id2").val()!=0||$("#guest_stores2").val()!=''){
// $("#district_id1").val('0');
// $("#guest_stores1").val('');
// };
// 输入 name
// params.name = $("input[name='user']").val();
params.phone = $("input[name='phone']").val();
......@@ -530,6 +524,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
}
});
},
//调用部门 和 门店的接口
getDistrict : function (fn) {
$.ajax ({
url: '/index/getDistrict',
......
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