hxgladdmain.jsp 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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/ggfwxxgl/hxgl/hxgldetail.js"></script>
  11. <script type="text/javascript">
  12. $(document).ready(function () {
  13. hxgl.detail.init();
  14. initHxlxSelect('hxlxsel','${hxlxid}','80%');
  15. initSfthSelect('sfthsel','${sfthid}','80%');
  16. initszdSelect('szdsel','${szd }', 'showgk', '80%');
  17. initgkSelect('gksel','${szgk }','${szd }','showgq','80%');
  18. initgqSelect('gqsel','${szgq }','${szd }','${szgk }',null,'80%');
  19. iFrameHeightIframe('${menuid}');//自适应高度
  20. });
  21. </script>
  22. </head>
  23. <body>
  24. <div class="box" >
  25. <div class="box-content" >
  26. <form action="${app }/hxgl/addmain" id="hxgladdform" method="post">
  27. <input type="hidden" name="menuid" value="${menuid }">
  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. <td class="right">
  40. 航线名称:&nbsp;
  41. </td>
  42. <td >
  43. <input type="text" class="form-control" name="hxmc" value="${hxmc }">
  44. </td>
  45. <td class="right">
  46. 船公司:&nbsp;
  47. </td>
  48. <td>
  49. <input type="text" class="form-control" name="cgs" value="${cgs }">
  50. </td>
  51. <td class="right">
  52. 航线类型:&nbsp;
  53. </td>
  54. <td>
  55. <span id="hxlxsel">
  56. </span>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td class="right">
  61. 所在地:&nbsp;
  62. </td>
  63. <td>
  64. <span id="szdsel">
  65. </span>
  66. </td>
  67. <td class="right">
  68. 所在港口:&nbsp;
  69. </td>
  70. <td>
  71. <span id="gksel">
  72. </span>
  73. </td>
  74. <td class="right">
  75. 所在港区:&nbsp;
  76. </td>
  77. <td>
  78. <span id="gqsel">
  79. </span>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td class="right">
  84. 是否停航:&nbsp;
  85. </td>
  86. <td>
  87. <span id="sfthsel">
  88. </span>
  89. </td>
  90. <td class="right">
  91. 日期:&nbsp;
  92. </td>
  93. <td>
  94. <input class="Wdate" value="${month }" name="rq" id="rq" type="text" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM'})">
  95. </td>
  96. </tr>
  97. <tr>
  98. <td class="right" colspan="6">
  99. <a class="btn btn-default btn-sm" href="#" onclick="hxgl.detail.search()">
  100. <i class="glyphicon glyphicon-search"></i>查询
  101. </a>
  102. <a class="btn btn-default btn-sm" href="#" onclick="hxgl.detail.add('${month}')">
  103. <i class="glyphicon glyphicon-plus"></i>新增
  104. </a>
  105. <a class="btn btn-default btn-sm" href="#" onclick="hxgl.detail.fuzhi()">
  106. 复制上月航班数据
  107. </a>
  108. <a class="btn btn-default btn-sm" href="#" onclick="hxgl.detail.backmain()">
  109. <i class="glyphicon glyphicon-arrow-left"></i>
  110. 返回</a>
  111. </td>
  112. </tr>
  113. <h2 align="center" ><font style="font-size:16px;color:#196794;font-family:微软雅黑;font-weight: bold;"><span>${month }</span>月航线信息</font></h2>
  114. </table>
  115. </div>
  116. <!-- 列表 -->
  117. <div style="background-color:#f4f4f4;">
  118. <table class="main_table" cellpadding="0" cellspacing="0">
  119. <thead>
  120. <tr>
  121. <th width="6%">序号</th>
  122. <th width="15%">航线名称</th>
  123. <th width="15%">所在港口</th>
  124. <th width="15%">所在港区</th>
  125. <th width="15%">船公司</th>
  126. <th width="6%">是否停航</th>
  127. <th width="1%" class="operatetd">操作</th>
  128. </tr>
  129. </thead>
  130. <c:forEach items="${list}" var="hxhbgl" varStatus="status">
  131. <tr>
  132. <td >${status.count }</td>
  133. <td >${hxhbgl.hxmc }</td>
  134. <td >${hxhbgl.szgkzw }</td>
  135. <td >${hxhbgl.szgqzw }</td>
  136. <td >${hxhbgl.cgs }</td>
  137. <td >${hxhbgl.sfthzw }</td>
  138. <td class="operatetd"> <a class="btn btn-default btn-xs" href="#" onclick="hxgl.detail.view('${hxhbgl.id}','${month}')" title="查看"> <i class="glyphicon glyphicon-search"></i>
  139. </a>
  140. <c:if test="${hxhbgl.sfth==202 }">
  141. <a class="btn btn-default btn-xs" href="#" onclick="hxgl.detail.edit('${hxhbgl.id}','${month}')" title="编辑"> <i class="glyphicon glyphicon-pencil"></i>
  142. </a>
  143. </c:if>
  144. <a class="btn btn-default btn-xs" href="#" onclick="hxgl.detail.del('${hxhbgl.id}')" title="删除"> <i class="glyphicon glyphicon-trash"></i>
  145. </a>
  146. <c:if test="${hxhbgl.sfth==202 }">
  147. <a class="btn btn-default btn-xs" href="#" onclick="hxgl.detail.tinghang('${hxhbgl.id}')" title="停航"> <i class="glyphicon glyphicon-plane"></i> </a>
  148. </c:if>
  149. </td>
  150. </tr>
  151. </c:forEach>
  152. </table>
  153. </div>
  154. <!-- 分页 -->
  155. <jsp:include page="../../pageinfo.jsp"></jsp:include>
  156. </form>
  157. </div>
  158. </div>
  159. </body>
  160. </html>