| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <!DOCTYPE HTML>
- <html xmlns:th="http://www.thymeleaf.org"
- xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
- layout:decorate="~{admin/common/common}">
- <head>
- <title>园区列表</title>
- </head>
- <body layout:fragment="content">
- <nav class="breadcrumb">
- <i class="Hui-iconfont"></i>
- 首页
- <span class="c-gray en">></span>园区
- <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
- <i class="Hui-iconfont"></i>
- </a>
- </nav>
- <form id="myForm" th:action="@{/super/buildList}" th:method="get">
- <div class="page-container">
- <div class="text-c">所属街道:
- <span class="select-box width-180">
- <select th:id="street_id" class="select" th:name="street_id" >
- <option value="">--全部--</option>
- <option value="" th:selected="${street_id==item.id}" th:each="item : ${streeList}" th:value="${item.id}" th:text="${item.name}">
- </option>
- </select>
- </span>
- 园区类型:
- <span class="select-box width-180">
- <select th:id="type" class="select" th:name="type" >
- <option value="">--全部--</option>
- <option value="" th:selected="${type==item.id}" th:each="item : ${buildTypeList}" th:value="${item.id}" th:text="${item.type}">
- </option>
- </select>
- </span>
- <input type="text" class="input-text" style="width:250px" placeholder="输入园区名称" name="keyword" th:value="${keyword}"/>
- <button type="submit" class="btn btn-primary">
- 搜索
- </button>
- </div>
- <div class="cl pd-5 bg-1 bk-gray mt-20">
- <span class="l">
- <a href="javascript:;" th:onclick="'javascript:slides_add(\'新增园区\',\'/super/build/add\',\'800\',\'500\');'" class="btn btn-primary radius"><i class="Hui-iconfont"></i>新增</a>
- </span>
- <span class="r">共有数据:<strong th:text="${pageInfo?.total}" id="total">54</strong> 条</span>
- </div>
- <table id="slidesTb" class="table table-border table-bordered table-bg table-hover">
- <thead>
- <tr class="text-c">
- <th>编号</th>
- <th>所属街道 </th>
- <th>园区名称</th>
- <th>园区位置</th>
- <th>园区类型</th>
- <th>状态</th>
- <th>创建时间</th>
- <th width="100">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
- <td><input type="hidden" th:id="*{id}" value="" name=""/><span th:text="${iterStat.index+1}" ></span></td>
- <td th:text="*{street_name}"></td>
- <td th:text="*{name}"></td>
- <td th:text="*{location}"></td>
- <td th:text="*{type_name}"></td>
- <td class="td-status">
- <span class="label radius" th:if="*{is_start==false}">禁用</span>
- <span class="label radius label-success" th:unless="*{is_start==false}">启用</span>
- </td>
- <td th:text="*{create_time}"></td>
- <td class="td-manage">
- <a title="编辑" href="javascript:;" th:onclick="'javascript:slides_edit(\'编辑园区\',\'/super/build/edit/'+*{id}+'\',\'800\',\'500\');'" class="ml-5" style="text-decoration:none">编辑</a>
- <!--<a title="删除" href="javascript:;" th:onclick="'javascript:slides_del(this);'" class="ml-5" style="text-decoration:none">删除</a>-->
- <a title="启用" th:if="*{is_start==false}" th:onclick="'javascript:slides_status(\'/build/buildInfo/status/'+*{id}+'\',true,this);'" class="ml-5" style="text-decoration:none">启用</a>
- <a title="禁用" th:unless="*{is_start==false}" th:onclick="'javascript:slides_status(\'/build/buildInfo/status/'+*{id}+'\',false,this);'" class="ml-5" style="text-decoration:none">禁用</a>
- </td>
- </tr>
- </tbody>
- </table>
- <div th:replace="admin/common/page :: page"></div>
- </div>
- </form>
- <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
- <script type="text/javascript" th:src="@{/js/super/build_list.js}"></script>
- <script th:inline="javascript">
- </script>
- <style>
- .width-180 {
- width: 180px
- }
- </style>
- </body>
- </html>
|