Commit c5e1e0f4 authored by hujun's avatar hujun

商铺上下架

parent b38806b1
...@@ -307,7 +307,7 @@ class Houses extends Basic ...@@ -307,7 +307,7 @@ class Houses extends Basic
$where['industry_type'] = [ 'LIKE', '%' . $this->params['industry_type'] . '%' ]; $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'; shop_area_start,shop_area_end,industry_type,disc,is_carefully_chosen,is_exclusive_type,is_lock';
/*楼盘编号*/ /*楼盘编号*/
......
...@@ -260,7 +260,7 @@ ...@@ -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> <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> </tr>
......
...@@ -36,10 +36,14 @@ ...@@ -36,10 +36,14 @@
<td width="15%">[%= it[item]['industry_type'] %]</td> <td width="15%">[%= it[item]['industry_type'] %]</td>
<td width="10%">[%= it[item]['create_time'] %]</td> <td width="10%">[%= it[item]['create_time'] %]</td>
<td> <td>
[% if(it[item]["residue_num"] == 0) { %] [% if(it[item]["status"] == 0) { %]
已租 审核
[% }else{ %] [% }else if (it[item]["status"] == 1){ %]
待租 上架
[% }else if (it[item]["status"] == 2){ %]
下架
[% }else if (it[item]["status"] == 3){ %]
回收
[% } %] [% } %]
</td> </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