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