Commit e403b707 authored by agping's avatar agping

楼盘字典

parent 66de0b5d
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
<div class="pull-right"> <div class="pull-right">
<ul class="bread_btn"> <ul class="bread_btn">
<li> <li>
<a href="#modal_add_loupan" class="btn btn-default add" data-toggle="modal"><i class="icon-plus"></i>新增楼盘</a> <a class="btn btn-default add" href="#modal_add_loupan" data-toggle="modal" >新增楼盘</a>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -355,10 +355,10 @@ ...@@ -355,10 +355,10 @@
<div class="modal-body"> <div class="modal-body">
<form class="form-horizontal" action="/agents/add_user" id="add_user_form"> <form class="form-horizontal" action="/agents/add_user" id="add_user_form">
<div class="form-group form-group-bottom"> <div class="form-group form-group-bottom">
<div class="col-sm-6"> <div class="col-sm-6 isshowLou">
<label for="inputEmail3" class="col-sm-4 control-label">楼盘编号:</label> <label for="inputEmail3" class="col-sm-4 control-label">楼盘编号:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<span style="margin-top: 6px;display: inline-block;">6666</span> <span class="louceng_num" style="margin-top: 6px;display: inline-block;">6666</span>
<!--<input type="text" class="form-control" name="user_name" id="inputEmail3" placeholder="请输入楼盘编号">--> <!--<input type="text" class="form-control" name="user_name" id="inputEmail3" placeholder="请输入楼盘编号">-->
</div> </div>
</div> </div>
...@@ -484,7 +484,7 @@ ...@@ -484,7 +484,7 @@
</form> </form>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" id="close">关闭 <button type="button" class="btn btn-default" id="close">关闭
</button> </button>
<button type="button" class="btn btn-primary btn-guanbi" id="saveBtn"> <button type="button" class="btn btn-primary btn-guanbi" id="saveBtn">
提交 提交
......
This diff is collapsed.
<script id="building_dictionary_list" type="text/template"> <script id="building_dictionary_list" type="text/template">
[% var sw=function(s){switch(Number(s)){case 2:return"btn-info";case 1:return"btn-default"}}; %]
[% var sw2=function(s){switch(Number(s)){case 0:return"btn-info";case 1:return"btn-default"}}; %]
[% var sw3=function(s){switch(Number(s)){case 0:return"btn-info";case 1:return"btn-default"}}; %]
[% if(it&&it.length!=0) { %] [% if(it&&it.length!=0) { %]
[% for(var item in it){ %] [% for(var item in it){ %]
<tr class="text-center"> <tr class="text-center">
<td>[%= it[item]['id'] %]</td>
<td> <td>
[% if(it[item]["shop_type"] == 0) { %] [% if(it[item]["type"] == 1) { %]
[%= it[item]["shop_area_start"] + '-' + it[item]["shop_area_end"] %] 写字楼
[% }else{ %]
[%= it[item]["shop_area_start"] %]
[% } %]
</td>
<td width="10%">[%= hideStr(it[item]['industry_type']) %]</td>
<td>[%= it[item]['dish_name'] %]</td>
<td width="10%">[%= it[item]['create_time'] %]</td>
<td>
[% if(it[item]["status"] == 0) { %]
审核
[% }else if (it[item]["status"] == 1){ %]
上架
[% }else if (it[item]["status"] == 2){ %] [% }else if (it[item]["status"] == 2){ %]
下架 商住两用
[% }else if (it[item]["status"] == 3){ %] [% }else if (it[item]["status"] == 3){ %]
无效 园区
[% }else if (it[item]["status"] == 4){ %]
洋房
[% }else if(it[item]["status"] == 5){ %]
联合办公
[% }else if(it[item]["status"] == 6){ %]
厂房
[% } %] [% } %]
</td> </td>
<td>[%= it[item]['address'] %]</td>
<td>[%= it[item]['business_name'] %]</td>
<td>[%= it[item]['title'] %]</td>
<td>[%= it[item]['floor_total'] %]</td>
<td>[%= it[item]['intro'] %]</td>
<td> <td>
[%if(it[item]["residue_num"] == 0) { %] <a class="btn1 btn-success edit" href="#modal_add_loupan" data-toggle="modal" data-id='[%= it[item]["id"] %]'>编辑</a>
已租
[% }else{ %]
求租
[% } %]
</td>
<td>
[%if(it[item]["is_show"] == 0) { %]
[% }else if(it[item]["is_show"] == 1 ) { %]
[% } %]
</td>
<td>
<a class="btn1 btn-success" href="#modal_add_loupan" data-toggle="modal">编辑</a>
</td> </td>
</tr> </tr>
[% } %] [% } %]
......
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