Commit c5e1e0f4 authored by hujun's avatar hujun

商铺上下架

parent b38806b1
......@@ -307,7 +307,7 @@ class Houses extends Basic
$where['industry_type'] = [ 'LIKE', '%' . $this->params['industry_type'] . '%' ];
}
$fields = 'id,shop_type,internal_title,rent_price,is_show,create_time,residue_num,rent_type,
$fields = 'id,shop_type,internal_title,rent_price,is_show,create_time,residue_num,rent_type,status,
shop_area_start,shop_area_end,industry_type,disc,is_carefully_chosen,is_exclusive_type,is_lock';
/*楼盘编号*/
......
......@@ -260,7 +260,7 @@
<th class="text-center">面积</th>
<th class="text-center">业态</th>
<th class="text-center">创建时间</th>
<th class="text-center">状态</th>
<th class="text-center">上下架</th>
<!--<th class="text-center">盘方</th>-->
<th class="text-center">操作</th>
</tr>
......
......@@ -36,10 +36,14 @@
<td width="15%">[%= it[item]['industry_type'] %]</td>
<td width="10%">[%= it[item]['create_time'] %]</td>
<td>
[% if(it[item]["residue_num"] == 0) { %]
已租
[% }else{ %]
待租
[% if(it[item]["status"] == 0) { %]
审核
[% }else if (it[item]["status"] == 1){ %]
上架
[% }else if (it[item]["status"] == 2){ %]
下架
[% }else if (it[item]["status"] == 3){ %]
回收
[% } %]
</td>
......
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