rymain.jsp 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="utf-8">
  7. <title>江苏省港口建设与经营管理信息系统</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <%@ include file="../../../common.jsp"%>
  10. <script type="text/javascript" src="${app }/static/biz/js/gkjygl/gkjyr/ry/rymain.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. ry.main.init();
  14. /* ry.detail.szdDate='${szdlist}'; */
  15. ry.main.rylxData='${rylxlist}';
  16. ry.main.rylx = '${rylxid}';
  17. ry.main.initRylxSel('80%');
  18. initszdSelect('szdsel','${szd}','showgk','79%');
  19. initgkSelect('gksel','${szgk}','${szd}','showgq','79%');
  20. initgqSelect('gqsel','${szgq}','${szd}','${szgk}',null,'79%');
  21. iFrameHeightIframe('${menuid}');
  22. });
  23. function showgk(){
  24. initgqSelect('gqsel','','','',null,'79%');
  25. initgkSelect('gksel','',$('.szdselectpicker').val(),'showgq','79%');
  26. }
  27. function showgq(){
  28. initgqSelect('gqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),null,'79%');
  29. }
  30. function exportExcelAll(data1,data2,data3,data4,data5,data6){
  31. location.href=$.app+"/ry/exportExcelAll?xm="+data1+"&szgkid="+data2+"&szgqid="+data3+"&jyr="+data4+"&szdid="+data5+"&rylxid="+data6;
  32. }
  33. </script>
  34. </head>
  35. <body>
  36. <div class="box" >
  37. <div class="box-content" >
  38. <form action="${app }/ry/main" id="ryform" method="post">
  39. <div >
  40. <table class="search_table" cellpadding="0" cellspacing="0">
  41. <tr>
  42. <th width="10%"></th>
  43. <th width="24%"></th>
  44. <th width="10%"></th>
  45. <th width="24%"></th>
  46. <th width="10%"></th>
  47. <th width="22%"></th>
  48. </tr>
  49. <tr>
  50. <td class="right">
  51. 所在地:&nbsp;
  52. </td>
  53. <td >
  54. <div id="szdsel">
  55. </div>
  56. </td>
  57. <td class="right">
  58. 所在港口:&nbsp;
  59. </td>
  60. <td >
  61. <div id="gksel">
  62. </div>
  63. </td>
  64. <td class="right">
  65. 所在港区:&nbsp;
  66. </td>
  67. <td >
  68. <%-- <input type="text" class="form-control" name="szgq" value="${szgq }"> --%>
  69. <div id="gqsel">
  70. </div>
  71. </td>
  72. </tr>
  73. <tr>
  74. <td class="right">
  75. 港口经营人:&nbsp;
  76. </td>
  77. <td >
  78. <input type="text" class="form-control" name="jyr" value="${jyr }">
  79. </td>
  80. <td class="right">
  81. 姓名:&nbsp;
  82. </td>
  83. <td >
  84. <input type="text" class="form-control" name="xm" value="${xm }">
  85. </td>
  86. <td class="right">
  87. 人员类型:&nbsp;
  88. </td>
  89. <td >
  90. <div id="rylxDiv"></div>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td class="right" colspan="6">
  95. <authz:hasPermission name="${appName}:ryjtzxx:main">
  96. <a class="btn btn-default btn-sm" href="#" onclick="ry.main.search()">
  97. <i class="glyphicon glyphicon-search"></i>
  98. 查询</a>
  99. </authz:hasPermission>
  100. <authz:hasPermission name="${appName}:ryjtzxx:add">
  101. <a class="btn btn-default btn-sm" href="#" onclick="ry.main.add()">
  102. <i class="glyphicon glyphicon-plus"></i>
  103. 新增</a>
  104. </authz:hasPermission>
  105. <a class="btn btn-default btn-sm" href="#" onclick="exportExcelAll('${xm}','${szgk}','${szgq}','${jyr}','${szd}','${rylxid}')">
  106. <i class="glyphicon glyphicon-download-alt"></i>导出
  107. </a>
  108. </td>
  109. </tr>
  110. </table>
  111. </div>
  112. <!-- 列表 -->
  113. <div style="background-color:#f4f4f4;">
  114. <table class="main_table" cellpadding="0" cellspacing="0">
  115. <tr>
  116. <th width="5%">序号</th>
  117. <th width="15%">港口经营人</th>
  118. <th width="15%">姓名</th>
  119. <th width="15%">人员类型</th>
  120. <th width="1%" class="operatetd">操作</th>
  121. </tr>
  122. <c:forEach items="${list}" var="ry" varStatus="status">
  123. <tr class="tr_bg">
  124. <td >${status.index+1}</td>
  125. <td>${ry.ssjyrzw}</td>
  126. <td>${ry.xm}</td>
  127. <td>${ry.rylxzw}</td>
  128. <td class="operatetd">
  129. <authz:hasPermission name="${appName}:ryjtzxx:main">
  130. <a class="btn btn-default btn-xs" href="#" onclick="ry.main.view('${ry.id}')" title="查看">
  131. <i class="glyphicon glyphicon-search"></i>
  132. </a>
  133. </authz:hasPermission>
  134. <c:if test="${ry.xkzid =='' }">
  135. <c:if test="${ry.recordStatus == 1 }">
  136. <authz:hasPermission name="${appName}:ryjtzxx:edit">
  137. <a class="btn btn-default btn-xs" href="#" onclick="ry.main.edit('${ry.id}')" title="编辑">
  138. <i class="glyphicon glyphicon-pencil"></i>
  139. </a>
  140. </authz:hasPermission>
  141. <authz:hasPermission name="${appName}:ryjtzxx:delete">
  142. <a class="btn btn-default btn-xs" href="#" onclick="ry.main.del('${ry.id}')" title="删除">
  143. <i class="glyphicon glyphicon-trash"></i>
  144. </a>
  145. </authz:hasPermission>
  146. </c:if>
  147. </c:if>
  148. </td>
  149. </tr>
  150. </c:forEach>
  151. </table>
  152. </div>
  153. <!-- 分页 -->
  154. <jsp:include page="../../../pageinfo.jsp"></jsp:include>
  155. </div>
  156. </form>
  157. </div>
  158. </body>
  159. </html>