bwmain.jsp 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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/jyrbw/bwmain.js" ></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. bw.main.init();
  14. initszdSelect('szdsel','${szd}','showgk','80%');
  15. initgkSelect('szgksel','${szgk}','${szd}','showgq','80%');
  16. initgqSelect('szgqsel','${szgq}','${szd}','${szgk}',null,'80%');
  17. bw.main.initSfwxpbw('sfwxpbwsel', '${sfwxpbw}');
  18. /* bw.main.initBwsx('bwsxsel', '${bwsx }'); */
  19. bw.main.initSfdwkf('sfdwkfsel','${sfdwkfbw}');
  20. bw.main.initFwlx('fwlxsel', '${fwlx }');
  21. bw.main.initBwyt('bwytsel', '${bwyt}');
  22. /* initszdSelect('szdsel', '${szd}', 'showgk', '80%');
  23. initgkSelect('szgksel', '${szgk}', $('.szdselectpicker').val(), 'showgq', '80%');
  24. initgqSelect('szgqsel', '${szgq}', $('.szdselectpicker').val(), $('.gkselectpicker').val(), null, '80%'); */
  25. iFrameHeightIframe('${menuid}');//自适应高度
  26. });
  27. function showgk(){
  28. initgkSelect('szgksel','${szgk}',$('.szdselectpicker').val(),'showgq','80%');
  29. showgq();
  30. }
  31. function showgq(){
  32. initgqSelect('szgqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),null,'80%');
  33. }
  34. /* function showgk(){
  35. initgkSelect('szgksel','',$('.szdselectpicker').val(),'showgq','80%');
  36. showgq();
  37. }
  38. function showgq(){
  39. initgqSelect('szgqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),null,'80%');
  40. } */
  41. function exportExcelAll(data1,data2,data3,data4,data5,data6,data7,data8,data9,data10,data11,data12){
  42. //alert(encodeURIComponent($.app+"/bw/exportExcelAll?ssjyr="+data1+"&ssmt="+data2+"&szdid="+data3+"&szgkid="+data4+"&szgqid="+data5+"&bwmc="+data6+"&wxpbwid="+data7+"&bwsxid="+data8+"&fwlxid="+data9+"&sfdwkfid="+data10+"&bwbwyt="+data11+"&bz="+data12));
  43. location.href=$.app+"/bw/exportExcelAll?ssjyr="+data1+"&ssmt="+data2+"&szdid="+data3+"&szgkid="+data4+"&szgqid="+data5+"&bwmc="+data6+"&wxpbwid="+data7+"&bwsxid="+data8+"&fwlxid="+data9+"&sfdwkfid="+data10+"&bwyt="+data11+"&bz="+data12;
  44. }
  45. </script>
  46. </head>
  47. <body>
  48. <div class="box" >
  49. <div class="box-content" >
  50. <form action="${app }/bw/main" id="bwform" method="post">
  51. <input type="hidden" name="menuid" value="${menuid }">
  52. <div class="searchdiv">
  53. <div class="expanddiv"><a id="expandSearchLink" class="collapselink" onclick="expandSearch();"></a></div>
  54. <table class="search_table" cellpadding="0" cellspacing="0">
  55. <tr>
  56. <th width="12%"></th>
  57. <th width="22%"></th>
  58. <th width="11%"></th>
  59. <th width="22%"></th>
  60. <th width="11%"></th>
  61. <th width="22%"></th>
  62. </tr>
  63. <tr>
  64. <td class="right">
  65. 所在地:&nbsp;
  66. </td>
  67. <td>
  68. <span id="szdsel">
  69. </span>
  70. </td>
  71. <td class="right">
  72. 所在港口:&nbsp;
  73. </td>
  74. <td>
  75. <span id="szgksel">
  76. </span>
  77. </td>
  78. <td class="right">
  79. 所在港区:&nbsp;
  80. </td>
  81. <td>
  82. <span id="szgqsel">
  83. </span>
  84. </td>
  85. </tr>
  86. <tr>
  87. <td class="right">
  88. 港口经营人:&nbsp;
  89. </td>
  90. <td>
  91. <input type="text" style="width: 80%;" class="form-control" name="ssjyr" value="${ssjyr }">
  92. </td>
  93. <td class="right">
  94. 泊位名称:&nbsp;
  95. </td>
  96. <td >
  97. <input type="text" style="width: 80%;" class="form-control" name="bwmc" value="${bwmc }">
  98. </td>
  99. <td class="right">
  100. 是否&nbsp;&nbsp;<br>危险品泊位:&nbsp;
  101. </td>
  102. <td >
  103. <div id="sfwxpbwsel"></div>
  104. </td>
  105. </tr>
  106. <tr>
  107. <!-- <td class="right">
  108. 泊位属性:&nbsp;
  109. </td>
  110. <td >
  111. <div id="bwsxsel"></div>
  112. </td> -->
  113. <td class="right">
  114. 是否&nbsp;&nbsp;<br>对外开放泊位:&nbsp;
  115. </td>
  116. <td >
  117. <div id="sfdwkfsel"></div>
  118. </td>
  119. <td class="right">
  120. 服务类型:&nbsp;
  121. </td>
  122. <td >
  123. <div id="fwlxsel"></div>
  124. </td>
  125. <td class="right">
  126. 泊位用途:&nbsp;
  127. </td>
  128. <td >
  129. <div id="bwytsel"></div>
  130. </td>
  131. </tr>
  132. <tr>
  133. <td class="right" colspan="6">
  134. <authz:hasPermission name="${appName}:bwxx:main">
  135. <a class="btn btn-default btn-sm" href="#" onclick="bw.main.search('bw')">
  136. <i class="glyphicon glyphicon-search"></i>查询
  137. </a>
  138. </authz:hasPermission>
  139. <authz:hasPermission name="${appName}:bwxx:add">
  140. <a class="btn btn-default btn-sm" href="#" onclick="bw.main.add()">
  141. <i class="glyphicon glyphicon-plus"></i>新增
  142. </a>
  143. </authz:hasPermission>
  144. <a class="btn btn-default btn-sm" href="#" onclick="exportExcelAll('${ssjyr}','${ssmt}','${szd}','${szgk}','${szgq}','${bwmc}','${sfwxpbw}','${bwsx}','${fwlx}','${sfdwkfbw}','${bwyt}','${bz}')">
  145. <i class="glyphicon glyphicon-download-alt"></i>导出
  146. </a>
  147. </td>
  148. </tr>
  149. </table>
  150. </div>
  151. </div>
  152. <!-- 列表 -->
  153. <div style="background-color:#f4f4f4;">
  154. <table class="main_table" cellpadding="0" cellspacing="0">
  155. <thead>
  156. <tr>
  157. <th width="5%">序号</th>
  158. <th width="10%">泊位名称</th>
  159. <th width="10%">港口经营人</th>
  160. <th width="10%">码头名称</th>
  161. <th width="10%">所在港口</th>
  162. <th width="10%">所在港区</th>
  163. <!-- <th width="10%">泊位属性</th> -->
  164. <th width="15%">泊位用途</th>
  165. <th width="5%">是否<br>危险品泊位</th>
  166. <th width="5%">是否<br>对外开放泊位</th>
  167. <th width="1%" class="operatetd">操作</th>
  168. </tr>
  169. </thead>
  170. <c:forEach items="${list}" var="bw" varStatus="status">
  171. <tr >
  172. <td >${status.count }</td>
  173. <td >${bw.bwmc }</td>
  174. <td >${bw.ssjyrzw }</td>
  175. <td >${bw.ssmtzw }</td>
  176. <td >${bw.szgkzw }</td>
  177. <td >${bw.szgqzw }</td>
  178. <%-- <td >${bw.bwsxzw }</td> --%>
  179. <td >${bw.bwytzw }</td>
  180. <td >${bw.wxpbwzw }</td>
  181. <td >${bw.sfdwkfzw }</td>
  182. <td class="operatetd">
  183. <authz:hasPermission name="${appName}:bwxx:main">
  184. <a class="btn btn-default btn-xs" href="#" onclick="bw.main.view('${bw.id}')" title="查看">
  185. <i class="glyphicon glyphicon-search"></i>
  186. </a>
  187. </authz:hasPermission>
  188. <c:if test="${bw.xkzid =='' }">
  189. <c:if test="${bw.recordStatus == 1 }">
  190. <authz:hasPermission name="${appName}:bwxx:edit">
  191. <a class="btn btn-default btn-xs" href="#" onclick="bw.main.edit('${bw.id}')" title="编辑">
  192. <i class="glyphicon glyphicon-pencil"></i>
  193. </a>
  194. </authz:hasPermission>
  195. <authz:hasPermission name="${appName}:bwxx:delete">
  196. <a class="btn btn-default btn-xs" href="#" onclick="bw.main.del('${bw.id}')" title="删除">
  197. <i class="glyphicon glyphicon-trash"></i>
  198. </a>
  199. </authz:hasPermission>
  200. </c:if>
  201. </c:if>
  202. </td>
  203. </tr>
  204. </c:forEach>
  205. </table>
  206. </div>
  207. <!-- 分页 -->
  208. <jsp:include page="../../../pageinfo.jsp"></jsp:include>
  209. </form>
  210. </div>
  211. </div>
  212. </body>
  213. </html>