Commit d4fd721a authored by agping's avatar agping

本人房源

parent 0ad47433
......@@ -256,10 +256,10 @@ define(['doT', 'text!temp/office_building_list_template_tpl.html', 'css!style/ho
$('#persional_shop').unbind('click').bind('click',function(){
if ( business.all_shop ){
$('#persional_shop').html("所有商铺");
$('#persional_shop').html("所有房源");
$('#persional_shop').attr("title","点击切换到所有商铺");
} else {
$('#persional_shop').html("本人商铺");
$('#persional_shop').html("本人房源");
$('#persional_shop').attr("title","点击切换到本人商铺");
}
business.all_shop = !business.all_shop;
......@@ -1315,6 +1315,7 @@ if(data.code == 200) {
params.agent_id = user_info_obj.id;
params.pageNo = business.pageNo;
params.pageSize = business.pageSize;
params.dish_id = business.all_shop ? '' : user_info_obj.id ;//本人房源
if($('#is_show option:selected').val()){
params.is_show = $('#is_show option:selected').val(); //c端显示
}
......
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