| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <!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}
- .detail{
- color:blue;
- text-decoration: underline;
- }
- </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:method="get"><!-- th:action="@{/stockLand/approveList/{isPendingAudit}(isPendingAudit=${isPendingAudit})}" -->
- <div class="page-container">
- <!-- <div class="text-c">
- <span class="select-box" style="width:250px">
- <select id="searchApplyType" class="select" name="apply_type">
- <option value="">--全部--</option>
- <option value="" th:each="item : ${itemList}" th:value="${item.value}" th:text="${item.name}"
- th:selected = "${apply_type == item.value}">
- </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="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 j-theadtr" >
- <th width="100">属地名称</th>
- <th th:each="model,iterStat:${itemList}" th:object="${model}"
- th:text="*{name}" th:value="*{value}" class="headerVal"></th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-cc j-tbody" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
- <input type="hidden" name="street_id" th:value="*{street_id}" class="inputValue" />
- <td th:text="*{street_name}"></td>
- <td><a th:text="*{amount_one}" class="detail"></a> 条</td>
- <td><a th:text="*{amount_two}" class="detail"></a> 条</td>
- <td><a th:text="*{amount_three}" class="detail"></a> 条</td>
- <td><a th:text="*{amount_four}" class="detail"></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/company/stock_land/approve_pass_list.js}"></script>
- <script th:inline="javascript">
- $(function(){
- $(document).on("click",".detail", function () {
- var index = $(this).parents("tr").find("td").index($(this).parent());//获取当前td在tr种得索引
- var thAry = $('.j-theadtr th');//获取thead tr th,也就是头标的th
- var itemId = $(thAry[index]).attr("value");//因为头标与body都一样的索引,因此可以取到
- var street_id = $(this).parents("tr").find(".inputValue").attr("value");
- if(!street_id){
- //for ie8
- street_id = $(this).parents("tr").children().find(".inputValue").attr("value");
- }
- //window.open(pagePath + "/stockLand/passList?" +"itemId="+itemId+"&street_id="+street_id);
- window.location.href= pagePath + "/stockLand/selectList?" +"itemId="+itemId+"&street_id="+street_id;
- })
- })
-
- </script>
- </body>
- </html>
|