fillingDetailIndex.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. <nav class="breadcrumb" th:action="@{/projectFilling/index}" th:method="post">
  20. <i class="Hui-iconfont">&#xe67f;</i>
  21. 首页
  22. <span th:unless="${is_label}" class="c-gray en">&gt; 填报查看</span>
  23. <span th:unless="${is_label}" class="c-gray en">&gt; 列表</span>
  24. <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
  25. href="javascript:location.replace(location.href);" title="刷新">
  26. <i class="Hui-iconfont">&#xe68f;</i>
  27. </a>
  28. </nav>
  29. <form id="myForm" th:action="@{/projectFilling/fillingDetailList}" th:method="post">
  30. <div class="page-container">
  31. <div>
  32. <label class="datelabel" style="width: 80px">服务事项:</label>
  33. <input style="width:200px;" type="text" class="input-text dateform" placeholder="请输入填报项"
  34. id="projectName" name="projectName" th:value="${projectName}"/>
  35. <label>项目来源:</label>
  36. <span class="select-box" style="width:200px; margin-right: 20px;">
  37. <select class="select" th:name="projectSource" id="projectSource" placeholder="请选择项目来源">
  38. <option value="">-- 请选择项目来源 --</option>
  39. <option th:value="1" th:text="国家" th:selected="1==${projectSource}"></option>
  40. <option th:value="2" th:text="江苏省" th:selected="2==${projectSource}"></option>
  41. <option th:value="3" th:text="苏州市" th:selected="3==${projectSource}"></option>
  42. <option th:value="4" th:text="高新区" th:selected="4==${projectSource}"></option>
  43. </select>
  44. </span>
  45. <input type="button" value="搜索" class="btn btn-primary" onclick="$('#myForm').submit();">
  46. </div>
  47. <div class="cl pd-5 bg-1 bk-gray mt-20">
  48. <span class="l">
  49. </span>
  50. <span class="r">共有数据:<strong th:text="${pageInfo.total}" id="total">0</strong> 条</span>
  51. </div>
  52. <!-- 表格 -->
  53. <table id="index" class="table table-border table-bordered table-bg table-hover"
  54. style="table-layout: fixed;width:100%;">
  55. <thead>
  56. <tr class="text-c">
  57. <th style="width:100px;">填报项</th>
  58. <th style="width:100px;">项目来源</th>
  59. <th style="width:100px;">企业填报数</th>
  60. <th style="width:100px;">审核通过企业数</th>
  61. <th style="width:100px;">发布日期</th>
  62. <!--<th style="width:100px;">填报情况</th>-->
  63. <th style="width:100px;">操作</th>
  64. </tr>
  65. </thead>
  66. <tbody>
  67. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  68. <td th:text="*{project_name}" class="text-overflow" th:title="*{project_name}"></td>
  69. <td th:if="*{project_source=='1'}">国家</td>
  70. <td th:if="*{project_source=='2'}">江苏省</td>
  71. <td th:if="*{project_source=='3'}">苏州市</td>
  72. <td th:if="*{project_source=='4'}">高新区</td>
  73. <td th:text="*{total}" class="text-overflow"></td>
  74. <td th:text="*{count}" class="text-overflow"></td>
  75. <td th:text="*{release_date}"></td>
  76. <!--<td th:text="*{count+'/'+total}"></td>-->
  77. <td class="td-manage">
  78. <a title="详情" href="javascript:;" class="ml-5" style="text-decoration:none"
  79. th:onclick="'javascript:projectDetail(\'详情\',\'/projectFilling/detail/'+*{id}+'\');'">详情</a>
  80. <a title="填报情况" href="javascript:;" class="ml-5" style="text-decoration:none"
  81. th:onclick="'javascript:notify_detailInfo(\'填报情况\',\'/projectFilling/fillingDetail/'+*{id}+'\',\'800\',\'500\');'">填报情况</a>
  82. <a th:if="${isGovernment}" title="已推送" href="javascript:;" class="ml-5" style="text-decoration:none"
  83. th:onclick="'javascript:notify_detailInfo(\'已推送\',\'/projectFilling/fillingDetail/'+*{id}+'\',\'800\',\'500\');'">已推送</a>
  84. </td>
  85. </tr>
  86. </tbody>
  87. </table>
  88. <div th:replace="admin/common/page :: page"></div>
  89. </div>
  90. </form>
  91. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  92. <script th:inline="javascript">
  93. /*详情*/
  94. function projectDetail(title, url, w, h) {
  95. var index = layer_show(title, pagePath + url, w, h);
  96. layer.full(index);
  97. }
  98. /*
  99. 参数解释:
  100. title 标题
  101. url 请求的url
  102. id 需要操作的数据id
  103. w 弹出层宽度(缺省调默认值)
  104. h 弹出层高度(缺省调默认值)
  105. */
  106. function notify_detailInfo(title, url, w, h) {
  107. var index = layer_show(title, pagePath + url, w, h);
  108. layer.full(index);
  109. }
  110. </script>
  111. </body>
  112. </html>