1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <script type="text/javascript">
- function bwxxview(bwid){
- var path="/xkzyx/addmain?path=4:id="+$('#jyrid').val()+"";
- location.href=$.app+'/bw/view?id='+bwid+'&path='+path;
- }
-
- function initbwxx(){
- $.post($.app + "/gkjyr/bwxx2", {
- id : $('#jyrid').val(),
- czid:$('#id').val()
- }, function(data) {
- if (data) {
- var str =""
- for(var i=0;i<data.length;i++){
- var bw = data[i];
- str+="<tr class='tr_bg'>";
- if(bw.isTrue){
- str+="<td><input type='checkbox' checked name='bwid' value='"+bw.id+"'/></td>";
- }else{
- str+="<td><input type='checkbox' name='bwid' value='"+bw.id+"'/></td>";
- }
- str+="<td>"+bw.bwmc+"</td>";
- str+="<td>"+(bw.ssjyrzw==null?"":bw.ssjyrzw)+"</td>";
- str+="<td>"+bw.ssmtzw+"</td>";
- str+="<td>"+bw.szgkzw+"</td>";
- str+="<td>"+bw.szgqzw+"</td>";
- str+="<td>"+(bw.bwytzw==null?"":bw.bwytzw)+"</td>";
- str+="<td>"+(bw.wxpbwzw==null?"":bw.wxpbwzw)+"</td>";
- str+="<td>"+(bw.sfdwkfzw==null?"":bw.sfdwkfzw)+"</td>";
- str+="<td>";
- str+="<a class='btn btn-default btn-xs' href='#' onclick=\"bwxxview('"+bw.id+"')\"> <i class='glyphicon glyphicon-search'></i> 查看</a>";
- str+="</td>";
- str+="</tr>";
- }
- $('#bwxxdiv').empty();
- $('#bwxxdiv').append(str);
- } else {
-
- }
- }, "json");
- }
- </script>
- <table class="main_table" cellpadding="0" cellspacing="0">
-
- <tr>
- <th width="10%"></th>
- <th width="10%">泊位名称</th>
- <th width="10%">港口经营人</th>
- <th width="10%">码头名称</th>
- <th width="10%">所在港口</th>
- <th width="10%">所在港区</th>
- <!-- <th width="10%">泊位属性</th> -->
- <th width="15%">泊位用途</th>
- <th width="5%">是否<br>危险品泊位</th>
- <th width="5%">是否<br>对外开放泊位</th>
- <th width="20%">操作</th>
- </tr>
- <tbody id="bwxxdiv"></tbody>
- </table>
|