fillingDetail.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  4. layout:decorate="~{admin/common/common}">
  5. <head>
  6. <title>项目填报情况</title>
  7. <style>
  8. .dateform {
  9. float: left;
  10. width: 120px;
  11. }
  12. .datelabel {
  13. float: left;
  14. width: 120px;
  15. }
  16. </style>
  17. </head>
  18. <body layout:fragment="content">
  19. <form id="myForm" th:action="@{/government/projectMatters/fillingDetail}" th:method="post">
  20. <input hidden name="id" th:value="${id}">
  21. <div class="page-container">
  22. <div class="row clearfix" style="padding: 0 15px;">
  23. <span class="select-box" style="width:170px;">
  24. <select class="select" th:name="approval_status" id="approval_status" onchange="sub()">
  25. <option value="">-- 请选择单据状态 --</option>
  26. <option th:each="item : ${statusList}" th:value="${item.value}"
  27. th:text="${item.name}" th:selected="${approval_status}==${item.value}">
  28. </option>
  29. </select>
  30. </span>
  31. </div>
  32. <div class="row cl">
  33. <label class="form-label col-xs-4 col-sm-1">申报项:</label>
  34. <div class="formControls col-xs-8 col-sm-9">
  35. <p th:text="${project.project_service_type_name}"></p>
  36. </div>
  37. </div>
  38. <div class="cl pd-5 bg-1 bk-gray mt-20">
  39. <span class="l">
  40. <a class="btn btn-primary radius" onclick="exportExcel()">导出EXCEL</a>
  41. </span>
  42. <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">0</strong> 条</span>
  43. </div>
  44. <!-- 表格 -->
  45. <table id="index" class="table table-border table-bordered table-bg table-hover"
  46. style="table-layout: fixed;width:100%;">
  47. <thead>
  48. <tr class="text-c">
  49. <th style="width:100px;">申请单号</th>
  50. <th style="width:100px;">企业名称</th>
  51. <th style="width:100px;">填报时间</th>
  52. <th style="width:100px;">状态</th>
  53. <th style="width:100px;">电子档</th>
  54. <th style="width:100px;">单据详情</th>
  55. </tr>
  56. </thead>
  57. <tbody>
  58. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  59. <td th:text="*{apply_no}" class="text-overflow"></td>
  60. <td th:text="*{company_name}" class="text-overflow"></td>
  61. <td th:text="*{apply_date}"></td>
  62. <td th:text="*{apply_status_name}"></td>
  63. <td th:if="*{fileDown.file_url != null}">
  64. <a th:href="${fileUrl} + *{fileDown.file_url}" target="_blank">[[*{fileDown.file_name}]]</a>
  65. </td>
  66. <td th:if="*{fileDown.file_url == null}">
  67. /
  68. </td>
  69. <td class="td-manage">
  70. <a title="详情" href="javascript:;" class="ml-5" style="text-decoration:none"
  71. th:onclick="'javascript:projectDetail(\'详情\',\'/government/projectMatters/check/'+*{id}+'\');'">详情</a>
  72. </td>
  73. </tr>
  74. </tbody>
  75. </table>
  76. <div th:replace="admin/common/page :: page"></div>
  77. </div>
  78. </form>
  79. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  80. <script th:inline="javascript">
  81. function exportExcel() {
  82. var id = [[${id}]];
  83. var approval_status = [[${approval_status}]];
  84. window.open(pagePath + "/government/projectMatters/exportExcel?id=" + id + "&approval_status=" + approval_status);
  85. }
  86. function sub() {
  87. $("#myForm").submit();
  88. }
  89. /*详情*/
  90. function projectDetail(title, url, w, h) {
  91. var index = layer_show(title, pagePath + url, w, h);
  92. layer.full(index);
  93. }
  94. </script>
  95. </body>
  96. </html>