7dd34087fd835c2cd942969e05dc6b32439c42f4.svn-base 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. <%@include file="/page/include1.jsp" %>
  9. <link href="<%=path%>/page/business/em/report/reportCss/warnningreport.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="/nwyj/page/business/em/report/reportCss/tableStyle.js"></script>
  11. <!--基本选项卡start-->
  12. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/basicTabModern.js"></script>
  13. <!--基本选项卡end-->
  14. <style type="text/css">
  15. .basicTabModern_top_right{
  16. width: 100%;
  17. height: 37px;
  18. overflow: hidden;
  19. position: relative;
  20. }
  21. .basicTabModern_top a{
  22. display: inline-block;
  23. /* height: 30px; */
  24. width: 8.5%;
  25. float: left;
  26. }
  27. .basicTabModern_normal_center {
  28. padding: 0 2px 0 2px;
  29. white-space: normal;
  30. text-align:center;
  31. width: 100%;
  32. overflow: hidden;
  33. text-overflow: ellipsis;
  34. }
  35. </style>
  36. <script>
  37. var need_id = "<%=request.getParameter("fd_id")%>";
  38. var comp_id = "<%=request.getParameter("comp_id")%>";
  39. function initComplete(){
  40. //√ 1. 传过来需求的id----need_id
  41. //√ 2. 根据需求id 从表中查调拨单位id,调拨单位name,装备类型和该条记录的id在后台拼到选项卡的json中,在传回前台,并赋值给标签
  42. $.ajax({
  43. url : $.pathname() + '/ws/TeamNeed/TeamNeedService/getEventAlltoUnitMsg',
  44. data : {fd_id : need_id,comp_id : comp_id},
  45. type : 'post',
  46. dataType : 'json',
  47. timeout : 6000,
  48. async : false,
  49. success : function(json_data){
  50. $("#tabModernMenu").data("data",json_data);
  51. $("#tabModernMenu").render();
  52. setHight();
  53. },error : function(e){
  54. top.Dialog.alert("选项卡查询出错!");
  55. }
  56. });
  57. //√ 3. 用选项卡
  58. $("#tabModernMenu").bind("click",function(){
  59. $(parent.document.body).find("iframe").height($(window.document.body).height());//改变页面的高度 参考》》 setIframeHeight.js
  60. });
  61. $("#back").hover(function(){
  62. $(this).attr("src","/nwyj/images/temp/back_hover.png");
  63. },function(){
  64. $(this).attr("src","/nwyj/images/temp/back.png");
  65. });
  66. $("#back").bind('click',function(){
  67. $('#frmright',window.parent.document).attr('src',$.pathname()+"/page/business/em/event/EventQuickReport.jsp");
  68. });
  69. }
  70. </script>
  71. <style type="text/css">
  72. body,div,ul,li,p{
  73. margin:0;
  74. padding:0;
  75. font-size: 14px;
  76. }
  77. .d_ground{
  78. border: 1px solid #cdcaca;
  79. background: white;
  80. width:1000px;
  81. }
  82. .fieldset{
  83. border-style:solid;
  84. border-width:1px;
  85. border-color:#cdcaca;
  86. margin:0px 20px 20px 20px;
  87. width: 935px
  88. }
  89. .class_color{
  90. background-color: rgb(237, 239, 253);
  91. }
  92. .back{
  93. margin:10px 10px 10px 10px;
  94. }
  95. </style>
  96. </head>
  97. <body style="width: 1200px; margin:0 auto; margin-top:15px" align="center">
  98. <div class="box1" id="formContent">
  99. <div style="height: 50px;background: #F8F8F8;" align="center">
  100. <a href="javascript:;"><img id="back" class="back" align="left" alt="返回" title="返回" src="/nwyj/images/temp/back.png"></img></a>
  101. <font style="font-weight: bold;font-size: 20px;line-height: 45px;">突发事件信息快速报告单</font>
  102. </div>
  103. <!-- 基本选项卡 iframe引用子页面 -->
  104. <div class="basicTabModern" iframeMode="true" id="tabModernMenu">
  105. <!-- <div style="height:500px;"> -->
  106. <div>
  107. <IFRAME width="100%" height="100%" scrolling="no" frameBorder=0 allowTransparency="true" name="iframeChild" id="iframeChild" ></IFRAME>
  108. </div>
  109. </div>
  110. </div>
  111. </body>
  112. </html>