qytzxxview.jsp 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <script type="text/javascript">
  4. function qytzxxview(qytzid){
  5. var path="/xkzyx/viewmain?path=10:id="+$('#id').val()+":flag="+$('#flag').val();
  6. location.href=$.app+'/qytz/view?id='+qytzid+'&path='+path;
  7. }
  8. function initqytzxx(){
  9. $.post($.app + "/gkjyr/qytzxx", {
  10. id : $('#jyrid').val(),
  11. czid:$('#id').val()
  12. }, function(data) {
  13. if (data) {
  14. var str ="";
  15. var num=1;
  16. for(var i=0;i<data.length;i++){
  17. var qytz = data[i];
  18. if(qytz.isTrue){
  19. str+="<td>"+num+"</td>";
  20. str+="<td>"+qytz.tzrmc+"</td>";
  21. str+="<td>"+(qytz.je==null?"":qytz.je)+"</td>";
  22. str+="<td>"+(qytz.jedw==null?"":qytz.jedw)+"</td>";
  23. str+="<td>"+qytz.ssjyrzw+"</td>";
  24. str+="<td>"+(qytz.tzzje==null?'':qytz.tzzje)+"</td>";
  25. str+="<td>"+(qytz.tzje==null?'':qytz.tzje)+"</td>";
  26. str+="<td>"+qytz.sfwszw+"</td>";
  27. str+="<td>";
  28. str+="<a class='btn btn-default btn-xs' href='#' onclick=\"qytzxxview('"+qytz.id+"')\" title='查看'> <i class='glyphicon glyphicon-search'></i> </a>";
  29. str+="</td>";
  30. str+="</tr>";
  31. num++;
  32. }
  33. }
  34. $('#qytzxxdiv').empty();
  35. $('#qytzxxdiv').append(str);
  36. } else {
  37. }
  38. }, "json");
  39. }
  40. </script>
  41. <table class="main_table" cellpadding="0" cellspacing="0">
  42. <tr>
  43. <th width="5%">序号</th>
  44. <th width="10%">投资人名称</th>
  45. <th width="10%">投资金额</th>
  46. <th width="10%">投资金额单位</th>
  47. <th width="10%">港口经营人</th>
  48. <th width="10%">投资总金额</th>
  49. <th width="10%">投资总金额单位</th>
  50. <th width="10%">是否外商</th>
  51. <th width="25%">操作</th>
  52. </tr>
  53. <tbody id="qytzxxdiv"></tbody>
  54. </table>