| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <!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>归档管理
- <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/contract/listByStatus}" th:method="get">
- <div class="page-container">
- <div class="text-c">
- <input type="text" class="input-text keyword" style="width:330px" 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 onClick="report_export()" class="btn btn-primary radius"><i class="Hui-iconfont"></i> 导出Excel</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 width="25"><input type="checkbox" name="" value=""/></th>-->
- <th>合同编号</th>
- <th>客户名称</th>
- <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="checkbox" th:value="*{id}" th:id="${iterStat.index+1}" name="id"/></td>-->
- <td th:text="*{contract_no}"></td>
- <td th:text="*{company_name}"></td>
- <td> <span th:each="companyContact,iterStat:*{companyContacts}" th:object="${companyContact}">
- [[*{contact}]] <span th:if="${iterStat.last}"></span><span th:unless="${iterStat.last}">,</span>
- </span></td>
- <td> <span th:each="companyContact,iterStat:*{companyContacts}" th:object="${companyContact}">
- [[*{phone}]] <span th:if="${iterStat.last}"></span><span th:unless="${iterStat.last}">,</span>
- </span></td>
- <td th:text="*{area}"></td>
- <td th:text="*{contract_start_date}"></td>
- <td th:text="*{contract_end_date}"></td>
- <td th:text="*{contract_terminate_date}"></td>
- <td class="td-status">
- <span class="label radius label-success" th:if="*{status==0}">使用中</span>
- <span class="label radius" th:if="*{status==1}">终止</span>
- </td>
- <td class="td-manage">
- <!--<a title="编辑" th:onclick="'javascript:contract_dialog(\'合同编辑\',\'/build/contract/edit/'+*{id}+'\',\'950\',\'700\');'" class="ml-5" style="text-decoration:none">编辑</a>-->
- <a title="详情" th:onclick="'javascript:contract_dialog(\'详情\',\'/build/contract/check/'+*{id}+'\',\'950\',\'700\');'" 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/contract/contract_archive_list.js}"></script>
- <script th:inline="javascript">
- function report_export(){
- window.open(pagePath + "/export/contract?is_archive=true&keyword="+$(".keyword").val());
- }
- </script>
- </body>
- </html>
|