fillingDetail.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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="@{/projectFilling/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_type_name}"></p>
  36. </div>
  37. </div>
  38. <div class="row cl">
  39. <label class="form-label col-xs-4 col-sm-1">服务事项:</label>
  40. <div class="formControls col-xs-8 col-sm-9">
  41. <p th:text="${project.project_service_type_name}"></p>
  42. </div>
  43. </div>
  44. <div class="row cl" th:if="${project.project_type=='2'}">
  45. <label class="form-label col-xs-4 col-sm-1">填报情况:</label>
  46. <div class="formControls col-xs-8 col-sm-9">
  47. <p th:text="${project.count+'/'+project.total}"></p>
  48. </div>
  49. </div>
  50. <div class="cl pd-5 bg-1 bk-gray mt-20">
  51. <span class="l">
  52. <a class="btn btn-primary radius" onclick="exportExcel()">导出</a>
  53. </span>
  54. <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">0</strong> 条</span>
  55. </div>
  56. <!-- 表格 -->
  57. <table id="index" class="table table-border table-bordered table-bg table-hover"
  58. style="table-layout: fixed;width:100%;">
  59. <thead>
  60. <tr class="text-c">
  61. <th style="width:100px;">编号</th>
  62. <th style="width:100px;">企业名称</th>
  63. <!--<th style="width:100px;">推送时间</th>-->
  64. <th style="width:100px;">填报时间</th>
  65. <th style="width:100px;">状态</th>
  66. <th style="width:100px;">电子档</th>
  67. </tr>
  68. </thead>
  69. <tbody>
  70. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  71. <td th:text="*{apply_no}" class="text-overflow"></td>
  72. <td th:text="*{company_name}" class="text-overflow"></td>
  73. <!--<td th:text="*{receive_date}"></td>-->
  74. <td th:text="*{apply_date}"></td>
  75. <td th:text="*{approve_status_name}"></td>
  76. <td th:if="*{fileDown.file_url != null}">
  77. <a th:href="${fileUrl} + *{fileDown.file_url}" target="_blank">[[*{fileDown.file_name}]]</a>
  78. </td>
  79. <td th:if="*{fileDown.file_url == null}">
  80. /
  81. </td>
  82. </tr>
  83. </tbody>
  84. </table>
  85. <div th:replace="admin/common/page :: page"></div>
  86. </div>
  87. </form>
  88. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  89. <script th:inline="javascript">
  90. function exportExcel() {
  91. var id = [[${id}]];
  92. var approval_status = [[${approval_status}]];
  93. window.open(pagePath + "/projectFilling/exportExcel?id=" + id + "&approval_status=" + approval_status);
  94. }
  95. function sub() {
  96. $("#myForm").submit();
  97. }
  98. </script>
  99. </body>
  100. </html>