123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <%@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>
- <!--引入QUI框架js -->
- <%@include file="../../../../include.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")%>";//需求id
- var equipAllotUnit = "<%=request.getParameter("equipAllotUnit")%>";
- // var tabMenuJson = {"list":[
- // {"name":"单位名称","url":"/nwyj/page/business/am/org/query/Org_Collection.jsp?fd_id="},
- // {"name":"演练人员","url":"/nwyj/page/system/user/User_List.jsp?fd_id="},
- // {"name":"应急队伍","url":"/nwyj/page/business/planManage/plan/planRecourceSetTeam.jsp?fd_id="},
- // {"name":"应急物资","url":"/nwyj/page/business/am/resource/warehouse/warehouse.jsp?fd_id="},
- // {"name":"重要用户","url":"/nwyj/page/business/am/customer/customer-focus.jsp?fd_id="},
- // {"name":"应急装备","url":"/nwyj/page/business/am/resource/ledger/ledger.jsp?fd_id="}
- // ]};
- function initComplete(){
- //√ 1. 传过来需求的id----need_id
- //√ 2. 根据需求id 从表中查调拨单位id,调拨单位name,装备类型和该条记录的id在后台拼到选项卡的json中,在传回前台,并赋值给标签
- $.ajax({
- url : $.pathname() + '/ws/TeamNeed/TeamNeedService/getAllotUnitMsg',
- data : {fd_id : need_id , equipAllotUnit : 0},
- type : 'post',
- dataType : 'json',
- timeout : 6000,
- async : false,
- success : function(json_data){
- //alert(JSON.stringify(json_data))
- //var asdf = decodeURI(json_data)
- $("#tabModernMenu").data("data",json_data);
- // $("#tabModernMenu").data("data",tabMenuJson);
- $("#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");
- });
-
- }
- function goback(){
- window.location.href="EquipmentAllot2.jsp?fd_id="+need_id;
- }
- </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);
- }
- </style>
-
- </head>
- <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center">
- <div class="box1" id="formContent">
- <div class="titlehead">
- <div class="go_img1" style="position: relative;">
- <!-- <a href="javascript:;"><img id="back" align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="javascript:goback();"></img></a> -->
- <!-- <font style="font-weight: bold;font-size: 20px;line-height: 45px;"></font> -->
- <font class="titleMsg">查看装备调拨详情</font>
- </div>
- </div>
- <!-- 基本选项卡 iframe引用子页面 -->
- <div class="basicTabModern" iframeMode="true" id="tabModernMenu">
- <div style="height:500px;">
- <IFRAME width="100%" height="98%" scrolling="no" frameBorder=0 allowTransparency="true" name="iframeChild" id="iframeChild" ></IFRAME>
- </div>
- </div>
- </div>
- </body>
- </html>
|