dcmain.jsp 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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/jyrdc/dcmain.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. dc.main.init();
  14. initszdSelect('szdsel', '${szd}', 'showgk', '80%');
  15. initgkSelect('szgksel', '${szgk}', '${szd}', 'showgq', '80%');
  16. initgqSelect('szgqsel', '${szgq}', '${szd}', '${szgk}', null, '80%');
  17. dc.main.initSfwxpdc('sfwxpdcSel','${wxpdc}');
  18. iFrameHeightIframe('${menuid}');//自适应高度
  19. });
  20. function showgk(){
  21. initgkSelect('szgksel','',$('.szdselectpicker').val(),'showgq','80%');
  22. showgq();
  23. }
  24. function showgq(){
  25. initgqSelect('szgqsel','',$('.szdselectpicker').val(),$('.gkselectpicker').val(),null,'80%');
  26. }
  27. function exportExcelAll(data1,data2,data3,data4,data5,data6){
  28. location.href=$.app+"/dc/exportExcelAll?szdid="+data1+"&szgkid="+data2+"&szgqid="+data3+"&ssjyr="+data4+"&dcmc="+data5+"&wxpdcid="+data6;
  29. }
  30. </script>
  31. </head>
  32. <body>
  33. <div class="box" >
  34. <div class="box-content" >
  35. <form action="${app }/dc/main" id="dcform" method="post">
  36. <input type="hidden" name="menuid" value="${menuid }">
  37. <div>
  38. <table class="search_table" cellpadding="0" cellspacing="0">
  39. <tr>
  40. <th width="10%"></th>
  41. <th width="25%"></th>
  42. <th width="10%"></th>
  43. <th width="25%"></th>
  44. <th width="10%"></th>
  45. <th width="20%"></th>
  46. </tr>
  47. <tr>
  48. <td class="right">
  49. 所在地:&nbsp;
  50. </td>
  51. <td>
  52. <span id="szdsel">
  53. </span>
  54. </td>
  55. <td class="right">
  56. 所在港口:&nbsp;
  57. </td>
  58. <td>
  59. <span id="szgksel">
  60. </span>
  61. </td>
  62. <td class="right">
  63. 所在港区:&nbsp;
  64. </td>
  65. <td>
  66. <span id="szgqsel">
  67. </span>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td class="right">
  72. 港口经营人:&nbsp;
  73. </td>
  74. <td>
  75. <input type="text" class="form-control" name="ssjyr" value="${ssjyr }">
  76. </td>
  77. <td class="right">
  78. 堆场名称:&nbsp;
  79. </td>
  80. <td >
  81. <input type="text" class="form-control" name="dcmc" value="${dcmc }">
  82. </td>
  83. <td class="right">
  84. 是否&nbsp;&nbsp;<br>危险品堆场:&nbsp;
  85. </td>
  86. <td >
  87. <div id="sfwxpdcSel"></div>
  88. </td>
  89. </tr>
  90. <tr>
  91. <td class="right" colspan="6">
  92. <authz:hasPermission name="${appName}:dcxx:main">
  93. <a class="btn btn-default btn-sm" href="#" onclick="dc.main.search()">
  94. <i class="glyphicon glyphicon-search"></i>查询
  95. </a>
  96. </authz:hasPermission>
  97. <authz:hasPermission name="${appName}:dcxx:add">
  98. <a class="btn btn-default btn-sm" href="#" onclick="dc.main.add()">
  99. <i class="glyphicon glyphicon-plus"></i>新增
  100. </a>
  101. </authz:hasPermission>
  102. <a class="btn btn-default btn-sm" href="#" onclick="exportExcelAll('${szd}','${szgk}','${szgq}','${ssjyr}','${dcmc}','${wxpdc}')">
  103. <i class="glyphicon glyphicon-download-alt"></i>导出
  104. </a>
  105. </td>
  106. </tr>
  107. </table>
  108. </div>
  109. <!-- 列表 -->
  110. <div style="badcground-color:#f4f4f4;">
  111. <table class="main_table" cellpadding="0" cellspacing="0">
  112. <thead>
  113. <tr>
  114. <th width="5%">序号</th>
  115. <th width="10%">堆场名称</th>
  116. <th width="15%">港口经营人</th>
  117. <th width="5%">所在<br>港口</th>
  118. <th width="5%">所在<br>港区</th>
  119. <th width="10%">堆场用途</th>
  120. <th width="10%">堆场总面积<br>(平方米)</th>
  121. <th width="10%">堆场总容量<br>(吨)</th>
  122. <th width="10%">是否危险品堆场</th>
  123. <th width="1%" class="operatetd">操作</th>
  124. </tr>
  125. </thead>
  126. <c:forEach items="${list}" var="dc" varStatus="status">
  127. <tr >
  128. <td >${status.count }</td>
  129. <td >${dc.dcmc }</td>
  130. <td >${dc.ssjyrzw }</td>
  131. <td >${dc.szgkzw }</td>
  132. <td >${dc.szgqzw }</td>
  133. <td >${dc.zwdcyt }</td>
  134. <td >${dc.dczmj }</td>
  135. <td >${dc.dczrl }</td>
  136. <td >${dc.wxpdczw }</td>
  137. <td class="operatetd">
  138. <authz:hasPermission name="${appName}:dcxx:main">
  139. <a class="btn btn-default btn-xs" href="#" onclick="dc.main.view('${dc.id}')" title="查看">
  140. <i class="glyphicon glyphicon-search"></i>
  141. </a>
  142. </authz:hasPermission>
  143. <c:if test="${dc.xkzid =='' }">
  144. <c:if test="${dc.recordStatus == 1 }">
  145. <authz:hasPermission name="${appName}:dcxx:edit">
  146. <a class="btn btn-default btn-xs" href="#" onclick="dc.main.edit('${dc.id}')" title="编辑">
  147. <i class="glyphicon glyphicon-pencil"></i>
  148. </a>
  149. </authz:hasPermission>
  150. <authz:hasPermission name="${appName}:dcxx:delete">
  151. <a class="btn btn-default btn-xs" href="#" onclick="dc.main.del('${dc.id}')" title="删除">
  152. <i class="glyphicon glyphicon-trash"></i>
  153. </a>
  154. </authz:hasPermission>
  155. </c:if>
  156. </c:if>
  157. </td>
  158. </tr>
  159. </c:forEach>
  160. </table>
  161. </div>
  162. <!-- 分页 -->
  163. <jsp:include page="../../../pageinfo.jsp"></jsp:include>
  164. </form>
  165. </div>
  166. </div>
  167. </body>
  168. </html>