fillingDetail.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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/projectIntelligent/fillingDetail/{id}(id=${id})}" th:method="post">
  20. <div class="page-container">
  21. <div class="row cl">
  22. <label class="form-label col-xs-4 col-sm-1">申报项:</label>
  23. <div class="formControls col-xs-8 col-sm-9">
  24. <p th:text="${project.project_service_type_name}"></p>
  25. </div>
  26. </div>
  27. <div class="row cl">
  28. <label class="form-label col-xs-4 col-sm-1">对应年份:</label>
  29. <div class="formControls col-xs-8 col-sm-9">
  30. <p>[[${project.year}]]年</p>
  31. </div>
  32. </div>
  33. <div class="row cl">
  34. <label class="form-label col-xs-4 col-sm-1">对应季月:</label>
  35. <div class="formControls col-xs-8 col-sm-9">
  36. <p th:if="${project.season_or_month == 'Y'}">[[${project.month}]]月</p>
  37. <p th:if="${project.season_or_month == 'J'}">第[[${project.season}]]季度</p>
  38. </div>
  39. </div>
  40. <div class="cl pd-5 bg-1 bk-gray mt-20">
  41. <span class="l">
  42. <a class="btn btn-primary radius" onclick="exportExcel()">导出EXCEL</a>
  43. </span>
  44. <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">0</strong> 条</span>
  45. </div>
  46. <!-- 表格 -->
  47. <table id="index" class="table table-border table-bordered table-bg table-hover"
  48. style="table-layout: fixed;width:100%;">
  49. <thead>
  50. <tr class="text-c">
  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. <th style="width:100px;">状态</th>
  56. <th style="width:100px;">电子档</th>
  57. <th style="width:100px;">单据详情</th>
  58. </tr>
  59. </thead>
  60. <tbody>
  61. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  62. <td th:text="*{apply_no}" class="text-overflow"></td>
  63. <td th:text="*{company_name}" class="text-overflow"></td>
  64. <td th:text="*{receive_date}"></td>
  65. <td th:text="*{apply_date}"></td>
  66. <td th:text="*{apply_status_name}"></td>
  67. <td th:if="*{fileDown.file_url != null}">
  68. <a th:href="${fileUrl} + *{fileDown.file_url}" target="_blank">[[*{fileDown.file_name}]]</a>
  69. </td>
  70. <td th:if="*{fileDown.file_url == null}">
  71. /
  72. </td>
  73. <td class="td-manage">
  74. <a title="详情" href="javascript:;" class="ml-5" style="text-decoration:none"
  75. th:onclick="'javascript:projectDetail(\'详情\',\'/government/projectIntelligent/check/'+*{id}+'\');'">详情</a>
  76. </td>
  77. </tr>
  78. </tbody>
  79. </table>
  80. <div th:replace="admin/common/page :: page"></div>
  81. </div>
  82. </form>
  83. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  84. <script th:inline="javascript">
  85. function exportExcel() {
  86. var id = [[${id}]];
  87. window.open(pagePath + "/government/projectIntelligent/exportExcel?id=" + id);
  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>