5eac4b7b7dac13aa069595c70cad3fda6b20262d.svn-base 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  2. <!DOCTYPE HTML>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=9" />
  7. <title>调拨令调拨单位明细展示</title>
  8. <!--引入QUI框架js -->
  9. <%@include file="../../../../include.jsp" %>
  10. <link href="<%=path%>/page/business/em/report/reportCss/warnningreport.css" rel="stylesheet" type="text/css"/>
  11. <script type="text/javascript" src="/nwyj/page/business/em/report/reportCss/tableStyle.js"></script>
  12. <!--基本选项卡start-->
  13. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/basicTabModern.js"></script>
  14. <!--基本选项卡end-->
  15. <style type="text/css">
  16. .basicTabModern_top_right{
  17. width: 100%;
  18. height: 37px;
  19. overflow: hidden;
  20. position: relative;
  21. }
  22. .basicTabModern_top a{
  23. display: inline-block;
  24. /* height: 30px; */
  25. width: 8.5%;
  26. float: left;
  27. }
  28. .basicTabModern_normal_center {
  29. padding: 0 2px 0 2px;
  30. white-space: normal;
  31. text-align:center;
  32. width: 100%;
  33. overflow: hidden;
  34. text-overflow: ellipsis;
  35. }
  36. </style>
  37. <script>
  38. var need_id = "<%=request.getParameter("fd_id")%>";//需求id
  39. var equipAllotUnit = "<%=request.getParameter("equipAllotUnit")%>";
  40. // var tabMenuJson = {"list":[
  41. // {"name":"单位名称","url":"/nwyj/page/business/am/org/query/Org_Collection.jsp?fd_id="},
  42. // {"name":"演练人员","url":"/nwyj/page/system/user/User_List.jsp?fd_id="},
  43. // {"name":"应急队伍","url":"/nwyj/page/business/planManage/plan/planRecourceSetTeam.jsp?fd_id="},
  44. // {"name":"应急物资","url":"/nwyj/page/business/am/resource/warehouse/warehouse.jsp?fd_id="},
  45. // {"name":"重要用户","url":"/nwyj/page/business/am/customer/customer-focus.jsp?fd_id="},
  46. // {"name":"应急装备","url":"/nwyj/page/business/am/resource/ledger/ledger.jsp?fd_id="}
  47. // ]};
  48. function initComplete(){
  49. //√ 1. 传过来需求的id----need_id
  50. //√ 2. 根据需求id 从表中查调拨单位id,调拨单位name,装备类型和该条记录的id在后台拼到选项卡的json中,在传回前台,并赋值给标签
  51. $.ajax({
  52. url : $.pathname() + '/ws/TeamNeed/TeamNeedService/getAllotUnitMsg',
  53. data : {fd_id : need_id , equipAllotUnit : 0},
  54. type : 'post',
  55. dataType : 'json',
  56. timeout : 6000,
  57. async : false,
  58. success : function(json_data){
  59. //alert(JSON.stringify(json_data))
  60. //var asdf = decodeURI(json_data)
  61. $("#tabModernMenu").data("data",json_data);
  62. // $("#tabModernMenu").data("data",tabMenuJson);
  63. $("#tabModernMenu").render();
  64. setHight();
  65. },error : function(e){
  66. top.Dialog.alert("选项卡查询出错!");
  67. }
  68. });
  69. //√ 3. 用选项卡
  70. $("#tabModernMenu").bind("click",function(){
  71. $(parent.document.body).find("iframe").height($(window.document.body).height());//改变页面的高度 参考》》 setIframeHeight.js
  72. });
  73. $("#back").hover(function(){
  74. $(this).attr("src","/nwyj/images/temp/back_hover.png");
  75. },function(){
  76. $(this).attr("src","/nwyj/images/temp/back.png");
  77. });
  78. }
  79. function goback(){
  80. window.location.href="EquipmentAllot2.jsp?fd_id="+need_id;
  81. }
  82. </script>
  83. <style type="text/css">
  84. body,div,ul,li,p{
  85. margin:0;
  86. padding:0;
  87. font-size: 14px;
  88. }
  89. .d_ground{
  90. border: 1px solid #cdcaca;
  91. background: white;
  92. width:1000px;
  93. }
  94. .fieldset{
  95. border-style:solid;
  96. border-width:1px;
  97. border-color:#cdcaca;
  98. margin:0px 20px 20px 20px;
  99. width: 935px
  100. }
  101. .class_color{
  102. background-color: rgb(237, 239, 253);
  103. }
  104. </style>
  105. </head>
  106. <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center">
  107. <div class="box1" id="formContent">
  108. <div class="titlehead">
  109. <div class="go_img1" style="position: relative;">
  110. <!-- <a href="javascript:;"><img id="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="javascript:goback();"></img></a> -->
  111. <!-- <font style="font-weight: bold;font-size: 20px;line-height: 45px;"></font> -->
  112. <font class="titleMsg">查看装备调拨详情</font>
  113. </div>
  114. </div>
  115. <!-- 基本选项卡 iframe引用子页面 -->
  116. <div class="basicTabModern" iframeMode="true" id="tabModernMenu">
  117. <div style="height:500px;">
  118. <IFRAME width="100%" height="98%" scrolling="no" frameBorder=0 allowTransparency="true" name="iframeChild" id="iframeChild" ></IFRAME>
  119. </div>
  120. </div>
  121. </div>
  122. </body>
  123. </html>