123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=9" />
- <title>查看突发事件快速报告单</title>
- <%@include file="/page/include1.jsp" %>
- <link href="<%=path%>/page/business/em/report/reportCss/warnningreport.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="/nwyj/page/business/em/report/reportCss/tableStyle.js"></script>
- <!--基本选项卡start-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/basicTabModern.js"></script>
- <!--基本选项卡end-->
- <style type="text/css">
-
- .basicTabModern_top_right{
- width: 100%;
- height: 37px;
- overflow: hidden;
- position: relative;
- }
-
- .basicTabModern_top a{
- display: inline-block;
- /* height: 30px; */
- width: 8.5%;
- float: left;
- }
-
- .basicTabModern_normal_center {
- padding: 0 2px 0 2px;
- white-space: normal;
- text-align:center;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- </style>
- <script>
- var need_id = "<%=request.getParameter("fd_id")%>";
- var comp_id = "<%=request.getParameter("comp_id")%>";
- function initComplete(){
- //√ 1. 传过来需求的id----need_id
- //√ 2. 根据需求id 从表中查调拨单位id,调拨单位name,装备类型和该条记录的id在后台拼到选项卡的json中,在传回前台,并赋值给标签
- $.ajax({
- url : $.pathname() + '/ws/TeamNeed/TeamNeedService/getEventAlltoUnitMsg',
- data : {fd_id : need_id,comp_id : comp_id},
- type : 'post',
- dataType : 'json',
- timeout : 6000,
- async : false,
- success : function(json_data){
- $("#tabModernMenu").data("data",json_data);
- $("#tabModernMenu").render();
- setHight();
- },error : function(e){
- top.Dialog.alert("选项卡查询出错!");
- }
- });
- //√ 3. 用选项卡
-
- $("#tabModernMenu").bind("click",function(){
- $(parent.document.body).find("iframe").height($(window.document.body).height());//改变页面的高度 参考》》 setIframeHeight.js
- });
-
- $("#back").hover(function(){
- $(this).attr("src","/nwyj/images/temp/back_hover.png");
- },function(){
- $(this).attr("src","/nwyj/images/temp/back.png");
- });
- $("#back").bind('click',function(){
- $('#frmright',window.parent.document).attr('src',$.pathname()+"/page/business/em/event/EventQuickReport.jsp");
- });
- }
-
- </script>
- <style type="text/css">
- body,div,ul,li,p{
- margin:0;
- padding:0;
- font-size: 14px;
- }
- .d_ground{
- border: 1px solid #cdcaca;
- background: white;
- width:1000px;
- }
- .fieldset{
- border-style:solid;
- border-width:1px;
- border-color:#cdcaca;
- margin:0px 20px 20px 20px;
- width: 935px
- }
- .class_color{
- background-color: rgb(237, 239, 253);
- }
- .back{
- margin:10px 10px 10px 10px;
- }
- </style>
-
- </head>
- <body style="width: 1200px; margin:0 auto; margin-top:15px" align="center">
- <div class="box1" id="formContent">
- <div style="height: 50px;background: #F8F8F8;" align="center">
- <a href="javascript:;"><img id="back" class="back" align="left" alt="返回" title="返回" src="/nwyj/images/temp/back.png"></img></a>
- <font style="font-weight: bold;font-size: 20px;line-height: 45px;">突发事件信息快速报告单</font>
- </div>
- <!-- 基本选项卡 iframe引用子页面 -->
- <div class="basicTabModern" iframeMode="true" id="tabModernMenu">
- <!-- <div style="height:500px;"> -->
- <div>
- <IFRAME width="100%" height="100%" scrolling="no" frameBorder=0 allowTransparency="true" name="iframeChild" id="iframeChild" ></IFRAME>
- </div>
- </div>
- </div>
- </body>
- </html>
|