Commit b8338b1a authored by agping's avatar agping

修改

parent bfe16505
...@@ -216,6 +216,9 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home ...@@ -216,6 +216,9 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
params.pageSize = house.pageSize; params.pageSize = house.pageSize;
params.AuthToken = user_info_obj.AuthToken; params.AuthToken = user_info_obj.AuthToken;
params.agents_id = user_info_obj.id; params.agents_id = user_info_obj.id;
params.from =1;
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: '/broker/getCollectHouseList', //商铺跟进 对接接口 url: '/broker/getCollectHouseList', //商铺跟进 对接接口
...@@ -227,7 +230,7 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home ...@@ -227,7 +230,7 @@ define(['doT', 'text!temp/my_collection_shop_template_tpl.html', 'css!style/home
if(typeof data === 'object') { if(typeof data === 'object') {
if(data.code == 200) { if(data.code == 200) {
var doTtmpl = doT.template(document.getElementById('followHouseUp_list_tpl').innerHTML); var doTtmpl = doT.template(document.getElementById('followHouseUp_list_tpl').innerHTML);
$("#follow_list").html(doTtmpl(data.data)); $("#follow_list").html(doTtmpl(data.data.data));
/*分页代码*/ /*分页代码*/
add_page(data.data.total, pageNo, house.pageSize, house.getList); add_page(data.data.total, pageNo, house.pageSize, house.getList);
} else { } else {
......
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