Commit 976b15b4 authored by agping's avatar agping

客户列表注释

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