ggxxmain.jsp 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
  4. <!DOCTYPE html>
  5. <html lang="en">
  6. <head>
  7. <meta charset="utf-8">
  8. <title>江苏省港口建设与经营管理信息系统</title>
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <%@ include file="../../../common.jsp"%>
  11. <script type="text/javascript" src="${app }/static/biz/js/ggfwxxgl/tzgg/ggxx/ggxxmain.js"></script>
  12. <script type="text/javascript">
  13. $(document).ready(function () {
  14. $('.selectpicker').selectpicker({
  15. width:'80%'
  16. });
  17. ggxx.main.initGglx('gglxsel','${gglxid}');
  18. ggxx.main.init();
  19. iFrameHeightIframe('${menuid}');//自适应高度
  20. });
  21. </script>
  22. </head>
  23. <body>
  24. <body>
  25. <div class="box" >
  26. <div class="box-content" >
  27. <form action="${app }/ggxx/main" id="ggxxform" method="post">
  28. <div >
  29. <table class="search_table" cellpadding="0" cellspacing="0">
  30. <tr>
  31. <th width="10%"></th>
  32. <th width="25%"></th>
  33. <th width="10%"></th>
  34. <th width="25%"></th>
  35. <th width="10%"></th>
  36. <th width="20%"></th>
  37. </tr>
  38. <tr>
  39. <tr>
  40. <td class="right">
  41. 发布时间起:&nbsp;
  42. </td>
  43. <td>
  44. <input id="d4311" class="Wdate" style="width:80%;" name="startDate" value="${startDate}" type="text" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd',maxDate: '#F{$dp.$D(\'d4312\',{d:0})}'})">
  45. </td>
  46. <td class="middle">
  47. ~
  48. </td>
  49. <td>
  50. <input id="d4312" class="Wdate" style="width:80%;" name="endDate" value="${endDate}" type="text" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM-dd',minDate: '#F{$dp.$D(\'d4311\',{d:0})}'})">
  51. </td>
  52. <td class="right">
  53. 发布人 :&nbsp;
  54. </td>
  55. <td >
  56. <input type="text" class="form-control" name="fbr" value="${fbr }">
  57. </td>
  58. </tr>
  59. <tr>
  60. <td class="right">
  61. 标题:&nbsp;
  62. </td>
  63. <td>
  64. <input type="text" class="form-control" name="title" value="${title }">
  65. </td>
  66. <td class="right">公告类型:&nbsp;</td>
  67. <td>
  68. <div id="gglxsel"></div>
  69. </td>
  70. <td class="right">状态:&nbsp;</td>
  71. <td>
  72. <select class='selectpicker' name="zt" >
  73. <option value="" <c:if test="${zt=='' }">selected="selected" </c:if>>全部</option>
  74. <option value="0" <c:if test="${zt=='0' }">selected="selected"</c:if>>保存</option>
  75. <option value="1" <c:if test="${zt=='1' }">selected="selected"</c:if>>发布</option>
  76. </select>
  77. </td>
  78. </tr>
  79. <tr>
  80. <td class="right" colspan="6">
  81. <authz:hasPermission name="${appName}:ggxx:main">
  82. <a class="btn btn-default btn-sm" href="#" onclick="ggxx.main.search()">
  83. <i class="glyphicon glyphicon-search"></i>
  84. 查询</a>
  85. </authz:hasPermission>
  86. <authz:hasPermission name="${appName}:ggxx:add">
  87. <a class="btn btn-default btn-sm" href="#" onclick="ggxx.main.add()">
  88. <i class="glyphicon glyphicon-plus"></i>
  89. 新增</a>
  90. </authz:hasPermission>
  91. </td>
  92. </tr>
  93. </table>
  94. </div>
  95. <!-- 列表 -->
  96. <div style="background-color:#f4f4f4;">
  97. <table class="main_table" cellpadding="0" cellspacing="0">
  98. <tr>
  99. <th width="5%">序号</th>
  100. <th width="15%">标题</th>
  101. <th width="10%">公告类型</th>
  102. <th width="20%">相关附件</th>
  103. <th width="10%">已阅读数量</th>
  104. <th width="10%">发布时间</th>
  105. <th width="10%">发布人</th>
  106. <th width="5%">公告状态</th>
  107. <th width="1%" class="operatetd">操作</th>
  108. </tr>
  109. <c:forEach items="${list}" var="ggxx" varStatus="status">
  110. <tr class="tr_bg">
  111. <td>${status.index+1 }</td>
  112. <td>${ggxx.title }</td>
  113. <td>${ggxx.gglxmc }</td>
  114. <td><a class='main_title' href='${app }/accessory/download?id=${ggxx.fjid }'> ${ggxx.fjmc }</a></td>
  115. <td>${ggxx.ydsl }</td>
  116. <td>${fn:substring(ggxx.fbsj,0,10)}</td>
  117. <td>${ggxx.fbr }</td>
  118. <td>
  119. <c:if test="${ ggxx.fbzt == 0}">
  120. 保存
  121. </c:if>
  122. <c:if test="${ ggxx.fbzt == 1}">
  123. 发布
  124. </c:if>
  125. </td>
  126. <td class="operatetd">
  127. <a class="btn btn-default btn-xs" href="#" onclick="ggxx.main.view('${ggxx.id}')" title="查看">
  128. <i class="glyphicon glyphicon-search"></i>
  129. </a>
  130. <c:if test="${ ggxx.fbzt == 1 && ggxx.flag == 1}">
  131. <a class="btn btn-default btn-xs" href="#" onclick="ggxx.main.detail('${ggxx.id}')" title="阅读详情">
  132. <i class="glyphicon glyphicon-search"></i>
  133. </a>
  134. </c:if>
  135. <c:if test="${ ggxx.fbzt == 0 && ggxx.flag == 1}">
  136. <authz:hasPermission name="${appName}:ggxx:edit">
  137. <a class="btn btn-default btn-xs" href="#" onclick="ggxx.main.edit('${ggxx.id}')" title="编辑">
  138. <i class="glyphicon glyphicon-pencil"></i>
  139. </a>
  140. </authz:hasPermission>
  141. <authz:hasPermission name="${appName}:ggxx:delete">
  142. <a class="btn btn-default btn-xs" href="#" onclick="ggxx.main.del('${ggxx.id}')" title="删除">
  143. <i class="glyphicon glyphicon-trash"></i>
  144. </a>
  145. </authz:hasPermission>
  146. </c:if>
  147. </td>
  148. </tr>
  149. </c:forEach>
  150. </table>
  151. </div>
  152. <!-- 分页 -->
  153. <jsp:include page="../../../pageinfo.jsp"></jsp:include>
  154. </div>
  155. </form>
  156. </div>
  157. </body>
  158. </html>