Commit cf43ae77 authored by agping's avatar agping

1

parent 058250bb
...@@ -272,7 +272,6 @@ ...@@ -272,7 +272,6 @@
<option value="">出租状态</option> <option value="">出租状态</option>
<option value="1">求租</option> <option value="1">求租</option>
<option value="2">已租</option> <option value="2">已租</option>
<option value="3">无效</option>
</select> </select>
<select class="form-control btn2 " id="yetai_id"> <select class="form-control btn2 " id="yetai_id">
......
...@@ -88,6 +88,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin ...@@ -88,6 +88,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
// $('#end_date').val(day_end);//去掉默认时间 // $('#end_date').val(day_end);//去掉默认时间
//初始化城市 区域筛选 //初始化城市 区域筛选
// business.initializationCityFunction(); // business.initializationCityFunction();
// 商铺列表 默认显示求租房源
$('#lease_state').val(1);
business.getList(1); business.getList(1);
business.event(); business.event();
business.resetLoad(); business.resetLoad();
...@@ -1340,6 +1342,8 @@ if(data.code == 200) { ...@@ -1340,6 +1342,8 @@ if(data.code == 200) {
params.price_start = $('#price_start').val(); //月租金开始 params.price_start = $('#price_start').val(); //月租金开始
params.price_end = $('#price_end').val(); //月租金结束 params.price_end = $('#price_end').val(); //月租金结束
params.fit_industry_type = $('#suitable_yetai_input').val(); //适合业态 params.fit_industry_type = $('#suitable_yetai_input').val(); //适合业态
params.residue_type = $('#lease_state').val(); //求租 已租 无效 筛选
$.ajax({ $.ajax({
url: '/index/getHouseList.html', //获取列表 url: '/index/getHouseList.html', //获取列表
type: 'GET', type: 'GET',
......
...@@ -61,7 +61,11 @@ ...@@ -61,7 +61,11 @@
[% } %] [% } %]
</td> </td>
<td> <td>
求租 [%if(it[item]["residue_num"] == 0) { %]
已租
[% }else{ %]
求租
[% } %]
</td> </td>
<td> <td>
[%if(it[item]["is_show"] == 0) { %] [%if(it[item]["is_show"] == 0) { %]
......
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