123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <script type="text/javascript">
-
- function dcxxview(dcid){
- var path="/xkzyx/addmain?path=7:id="+$('#jyrid').val()+"";
- location.href=$.app+'/dc/view?id='+dcid+'&path='+path;
- }
-
- function initdcxx(){
- $.post($.app + "/gkjyr/dcxx", {
- id : $('#jyrid').val(),
- czid:$('#id').val()
- }, function(data) {
- if (data) {
- var str =""
- for(var i=0;i<data.length;i++){
- var dc = data[i];
- str+="<tr class='tr_bg'>";
- if(dc.isTrue){
- str+="<td><input type='checkbox' checked name='dcid' onclick='clickdc()' value='"+dc.id+"'/></td>";
- }else{
- str+="<td><input type='checkbox' name='dcid' onclick='clickdc()' value='"+dc.id+"'/></td>";
- }
- str+="<td>"+dc.dcmc+"</td>";
- str+="<td>"+dc.ssjyrzw+"</td>";
- str+="<td>"+dc.szgkzw+"</td>";
- str+="<td>"+dc.szgqzw+"</td>";
- str+="<td>"+dc.zwdcyt+"</td>";
- str+="<td>"+dc.dczmj+"</td>";
- str+="<td>"+(dc.dczrl==null ? "":dc.dczrl)+"</td>";
- str+="<td>"+dc.wxpdczw+"</td>";
- str+="<td>";
- str+="<a class='btn btn-default btn-xs' href='#' onclick=\"dcxxview('"+dc.id+"')\"> <i class='glyphicon glyphicon-search'></i> 查看</a>";
- str+="</td>";
- str+="</tr>";
- }
- $('#dcxxdiv').empty();
- $('#dcxxdiv').append(str);
- } else {
-
- }
- }, "json");
- }
- </script>
-
-
- <table class="main_table" cellpadding="0" cellspacing="0">
- <tr>
- <th width="5%"></th>
- <th width="10%">堆场名称</th>
- <th width="15%">港口经营人</th>
- <th width="5%">所在<br>港口</th>
- <th width="5%">所在<br>港区</th>
- <th width="10%">堆场用途</th>
- <th width="10%">堆场总面积<br>(平方米)</th>
- <th width="10%">堆场总容量<br>(吨)</th>
- <th width="10%">是否危险品堆场</th>
- <th width="20%">操作</th>
- </tr>
- <tbody id="dcxxdiv"></tbody>
- </table>
|