Commit be5b931c authored by agping's avatar agping

后台 经纪人 搜索 多传一字段 站点id

parent 54f990e7
define (['doT', 'text!temp/district_template_tpl.html', 'css!style/home.css','pagination','bootstrapJs'], function (doT, template) {
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
district = {
pageNo: 1, /*第几页*/
pageSize: 15, /*每页显示多少条*/
......@@ -162,7 +163,9 @@ define (['doT', 'text!temp/district_template_tpl.html', 'css!style/home.css','pa
url: '/index/getBroker_new' ,
data: {
'phone': phone,
"level":"10,20"
"level":"10,20",
"site_id":user_info_obj.site_id
},
timeout: 10000,
dataType: "json",
......
define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function(doT) {
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
var user = {
del_value_panfang : '' ,
del_value_anchang : '' ,
......@@ -734,7 +735,8 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
type: 'GET',
url: '/index/getBroker_new',
data: {
'phone': $.trim(_this.val())
'phone': $.trim(_this.val()),
"site_id":user_info_obj.site_id
},
timeout: 30000,
dataType: 'json',
......
......@@ -3,6 +3,7 @@
*/
define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'pagination', 'bootstrapJs'], function(doT, template) {
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
store = {
pageNo: 1,
/*第几页*/
......@@ -343,7 +344,9 @@ define(['doT', 'text!temp/store_template_tpl.html', 'css!style/home.css', 'ckfin
async: true,
data: {
"phone":$("#set_father_id3").val(),
"level": "10,30,40"
"level": "10,30,40",
"site_id":user_info_obj.site_id
},
dataType: 'json',
success: function (data) {
......
......@@ -573,6 +573,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
url: '/index/getBroker_new',
data: {
'phone': $.trim(_this.val())
},
timeout: 30000,
dataType: 'json',
......@@ -1195,7 +1196,9 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
type: 'GET',
async: true,
data: {
"phone": $("#set_father_id3").val()
"phone": $("#set_father_id3").val(),
"site_id":user_info_obj.site_id
},
dataType: 'json',
success: function(data) {
......@@ -1299,7 +1302,9 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
type: 'GET',
async: true,
data: {
"phone": $(".cus_fang").val()
"phone": $(".cus_fang").val(),
"site_id":user_info_obj.site_id
},
dataType: 'json',
success: function(data) {
......
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