| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <!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>
- <style>
- .textColor{background-color: transparent;color: #333;font-size:12px;font-weight: initial}
- </style>
- </head>
- <body layout:fragment="content">
- <nav class="breadcrumb">
- <i class="Hui-iconfont"></i>
- 首页
- <span class="c-gray en">></span>基础设施
- <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="@{/build/electric/list}" th:method="get">
- <div class="page-container">
- <div class="text-c">
- <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 th:onclick="'javascript:dialog(\'新增\',\'/build/electric/add\');'"
- 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 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 th:text="${iterStat.index+1}"></td>
- <td th:text="*{name}"></td>
- <td><span th:if="*{is_peak}">峰平谷值电表</span><span th:unless="*{is_peak}">通用电表</span></td>
- <td th:text="*{ratio}"></td>
- <td th:text="*{remarks}"></td>
- <td><a title="详情" th:onclick="'javascript:dialog(\'当前使用客户\',\'/build/electric/electricDetailList/'+*{id}+'\',\'950\',\'600\');'" class="ml-5" style="text-decoration:none">详情</a>
- </td>
- <td><a title="详情"
- th:onclick="'javascript:dialog(\'当前使用客户\',\'/build/electric/electricCompanyList/'+*{id}+'\',\'950\',\'600\');'"
- class="ml-5" style="text-decoration:none">详情</a>
- </td>
- <td class="td-manage">
- <a title="编辑"
- th:onclick="'javascript:dialog(\'编辑\',\'/build/electric/edit/'+*{id}+'\');'"
- 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/build/electric/electric_list.js}"></script>
- </body>
- </html>
|