123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head style="overflow-y: hidden;">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="renderer" content="ie-stand" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
- <!-- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> -->
- <!-- webkit|ie-comp|ie-stand -->
- <!-- content的取值为webkit,ie-comp,ie-stand之一,区分大小写,分别代表用极速模式,兼容模式,IE模式打开 -->
- <title>超高压公司应急指挥平台</title>
- <link rel="Shortcut Icon" href="/nwyj/images/favicon.ico" />
- <!--框架必需start-->
- <link href="/nwyj/css/jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
- <!-- 扩展工具js -->
- <!--取消无法登陆 start -->
- <script type="text/javascript" src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.nomin.js"></script>
- <!--取消无法登陆 end -->
-
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <!--获取登陆的用户信息 start -->
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/user/LoginInfo.js"></script>
- <!--获取登陆的用户信息 end -->
- <!--去掉主页面菜单不显示 start -->
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/right/userClickNum.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/init.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/right/menunwyj.js"></script>
- <script type="text/javascript" src='/nwyj/scripts/business/em/report/addDo.js'></script>
-
- <!--去掉主页面菜单不显示 end -->
-
- <!--jquerUI start -->
- <script src="/nwyj/scripts/jquery-ui-1.10.4.min.js"></script>
- <script src="/nwyj/scripts/jquery.mousewheel.min.js"></script>
- <script src="/nwyj/scripts/jquery.mCustomScrollbar.js"></script>
- <!--jquerUI end -->
-
- <!--框架必需start-->
- <!-- 重复注释开始 start-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
- <!-- 重复注释结束 end -->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
- <link rel="stylesheet" type="text/css" href="/nwyj/scripts/qui/libs/css/import_basic.css" />
- <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css" rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
- positionTarget="positionContent" selInputHeight="32"
- selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
- defaultFileInputWidth="200" defaultGridHeaderHeight="34"
- defaultGridRowHeight="38" defaultFontSize="14" defaultPageSelWidth="55"
- defaultFilterItemHeight="32" dialogWidthFix="0"
- defaultSelItemHeight="32" defaultFontFamily="微软雅黑" />
- <link href="/nwyj/scripts/qui/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" />
- <!--框架必需end-->
- <!--弹出式提示框start-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
- <!--弹出式提示框end-->
- <!--日期start-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/datePicker/WdatePicker.js"></script>
- <!--日期end-->
- <!-- dwr 实现消息推送功能-->
- <script type='text/javascript' src='/nwyj/dwr/engine.js'></script>
- <script type='text/javascript' src='/nwyj/dwr/util.js'></script>
- <!--弹窗 start -->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
- <!--弹窗 end -->
- <!--加载中开始-->
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/loading/loading.js"></script>
- <link href="/nwyj/scripts/freamwork/com/sinosoft/system/loading/loading.css" rel="stylesheet" type="text/css"/>
- <!--加载中结束-->
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/right/userClickNum.js"></script>
- <style type="text/css">
- /*全局样式*/
- * {
- margin: 0;
- padding: 0;
-
- }
- .frameWork_body {
- font-family: "宋体", "微软雅黑", arial;
- width: 100%;
- height: 100%;
- margin: 0 auto;
- }
- html{
- width: 100%;
- height: 100%;
-
- }
- body{
- width: 100%;
- height: 100%;
- }
- .content {
- margin: 0 auto;
- width: 100%;
- background : #f2f2f2;
- /* background: url("/nwyj/images/index/bg1.png") no-repeat;
- background-size:100% auto;
- background-size:auto 100%; */
- /* filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/nwyj/images/index/bg1.png',sizingMethod='scale');
- background-repeat: no-repeat;
- background-positon: 100%, 100%;
- font: normal 12px tahoma, arial, verdana, sans-serif;
- margin: 0;
- padding: 0;
- border: 0 none;
- overflow: hidden;
- height: 100%; */
- }
- a,a:link,a:visited {
- text-decoration: none;
- color: #000;
- }
- img {
- border: 0;
- }
- h4 {
- margin-top: 10px;
- margin-left: 5px;
- }
- hr {
- margin-bottom: 10px;
- height: 1px;
- border: none;
- border-top: 1px dashed #666;
- }
- /*头部样式*/
- .header {
- width: 100%;
- height: 110px;
- margin: 0 auto;
- position: relative;
- top: 0;
- }
- /*头部背景*/
- .header_bg {
- width: 100%;
- height: 77px;
- background: url(/nwyj/images/index/Top1.jpg) repeat-x;
- }
- /*头部logo*/
- .logo {
- display: block;
- position: absolute;
- top: 15px;
- left: 1.5%;
- width: 387px;
- height: 44px;
- }
- /*头部用户角色显示块*/
- .hg {
- position: absolute;
- display: block;
- top: 10px;
- right: 1.5%;
- text-align: right;
- }
- ._user_message div{
- height:30px;
- line-height: 30px;
- display: inline-block;
- }
- .exit_button{
- cursor:pointer;
- }
- ._user_message div span{
- color:#fff;
- }
- .hg .userAndTime img{
- vertical-align: text-bottom;
- }
- /*导航栏*/
- .nav_menu {
- width: 100%;
- height: 40px;
- background: #3f639f;
- position: relative;
- margin: 0 auto;
- }
- .nav_menu .nav_box {
- position: absolute;
- width: 100%;
- background: #FFF;
- overflow: hidden;
- height: 0;
- filter: alpha(opacity=0);
- opacity: 0;
- border-bottom: 2px solid #074c52;
- }
- /*搜索框块*/
- .search_bo {
- /*font-family:"宋体","微软雅黑";*/
- display: block;
- position: absolute;
- top: 82px;
- right:0.3%;
- z-index: 50;
- border:none;
- }
- /*搜索框*/
- .search_bo div{
- display: inline-block;
- border:none;
- }
- .search_bo .search_in {
- width: 140px;
- height: 25px;
- line-height: 25px;
- border-radius: 15px;/*
- background: rgba(255, 255, 255, 0.5);
- -pie-background :rgba(255, 255, 255, 0.5); */
- padding-left: 10px;
- padding-right:25px;
- behavior: url(/nwyj/scripts/freamwork/com/sinosoft/system/right/PIE.htc);/*搜索框圆角,但是会影响到半透明效果*/
- }
- /*搜索框中放大镜图标*/
- .search_img {
- position: relative;
- top: 2px;
- left: -30px;
- width: 12px;
- z-index: 800;
- }
- .search_img img {
- width: 18px;
- height: 18px;
- }
- /*导航栏菜单列表*/
- .nav .list {
- list-style-type: none;
- margin-left: 1.4%;
- width:98.6%;
- height:100%;
- }
- /*所有的导航栏菜单样式*/
- .nav .list li {
- float: left;
- height: 101.5%;
- width: 10%;
- line-height: 40px;
- }
- .nowCurrent,.nowCurrent1{
- background-color : #0f4a8b;
- }
- /*二三级菜单块*/
- .nav .list li .yj_menu_hover {
- float: left;
- display: block;
- color: #fff;
- width: 100%;
- text-align: center;
- }
- /*导航栏菜单图标*/
- .yj_menu_hover img {
- width: 16px;
- height: 16px;
- position: relative;
- top: 3px;
- }
- .yj_menu_hover span {
- margin-left: 5px;
- }
- .hover_cont {
- display: none;
- position: absolute;
- left:1.5%;
- border: 1px solid #ccc;
- border-top: 0;
- width:97%;
- background: #fff;
- filter:progid:DXImageTransform.Microsoft.Shadow(direction=120,strength=4);/*兼容ie*/
- -moz-box-shadow: 1px 4px 18px;/*兼容firefox*/
- -webkit-box-shadow: 1px 4px 18px;/*兼容safari或chrome*/
- box-shadow:1px 4px 18px;/*兼容opera或ie9*/
- z-index: 1000;
- }
- .hover_cont .nav_cont {
- padding: 3px 3px 30px;
- }
- .hover_cont .nav_li {
- border-bottom: 1px solid #ccc;
- display: inline-block;
- margin: 0 10px;
- padding: 4px 0 5px 0;
- width: 98%;
- }
- .hover_cont .nav_li_l {
- position:absolute;
- width: 120px;
- display:inline-block;
- vertical-align:top;
- color: #666;
- margin-top:7px;
- padding-left: 10px;
- text-align: center;
-
- }
- .fas{
- width:100%;
- display: inline-block;
-
- }
- .hover_cont .nav_li_r {
- display: inline-block;;
- font-family: "宋体";
- margin-left: 130px;
- }
- .verticalLine{
- position:absolute;
- margin-left:-10px;
- display:inline-block;
- color:#ccc;
- }
- .hover_cont .nav_li_r a {
- display: inline-block;
- margin: 10px 5px;
- color: #0066CC;
- height: 25px;
- line-height: 25px;
- text-decoration: none; */
- }
- .daiban {
- background-color: #f00;
- border-radius: 25px;
- -moz-border-radius:25px;
- -webkit-border-radius: 25px;
- height: 20px;
- line-height:20px;
- left: 58%;
- position: absolute;
- top: 0;
- width: 20px;
- behavior: url(/nwyj/scripts/freamwork/com/sinosoft/system/right/PIE.htc);
- }
- .nodaiban {
- display: none;
- }
- .daibanshu {
- /* height: 8px;
- line-height: 13px; */
- display: block;
- color: #FFF;
- text-align: center;
- /* margin: 2px; */
- font-size: 12px;
- }
- .sys_msg {
- width: 310px;
- height: 175px;
- background: #f7f7f7;
- position: relative;
- top: -177px;
- left: 1052px;
- display: none;
- }
- .sys_msg .sys_msg_title {
- width: 100.5%;
- height: 30px;
- line-height: 30px;
- border-radius: 3px;
- background: url("/nwyj/images/index/index_bg.png") repeat-x;
- color: #fff;
- }
- .sys_msg_title a {
- position: absolute;
- left: 280px;
- width: 25px;
- height: 25px;
- margin-top: 2px;
- line-height: 35px;
- text-align: center;
- }
- .sys_msg_title a:hover {
- background: #fff;
- }
- .sys_msg_title a img {
- width: 20px;
- height: 20px;
- }
- .sys_msg_cont ul {
- list-style-type: none;
- margin-left: 10px;
- }
- .sys_msg_cont ul li {
- margin-top: 5px;
- }
- .sys_msg_cont ul li img {
- margin: 0 10px 0 0;
- width: 16px;
- height: 16px;
- }
- /*hxb 2015-09-11 add*/
- /* .mainPage {
- margin: 0 auto;
- width: 100%;
- height: 545px;
- background: url("../images/index/bg.png") no-repeat;
- background-size: 100% 100%;
- } */
- .currPosition{
- width:100%;
- height:40px;
- line-height:40px;
- background: #fff;
- display: none;
- position:relative;
- border-bottom: 1px solid #cdcaca;
- }
- .positionMsg{
- position:absolute;
- text-align: left;
- margin-left: 1.5%;
- color:#22296E;
- }
- .positionMsg div{
- float: left;
- }
- #positionTitle1{
- font-weight: bold;
- font-size: 16px;
- padding-left: 30px;
- margin-left: 0px;
- color:#000;
- }
- .positionTab{
- padding: 0 20px;
- margin-left: 10px;
- cursor: pointer;
- color:#7d7d7d;
- }
- .positionTab:hover{
- background-color: #3c95c8;
- color:#fff;
- }
- .positionTabCurrent{
- color:#0196e8;
- border-bottom: 3px solid #006cff;
- }
- .clear{
- clear:both;
- }
- .changeYQ{position:absolute;right:10px;display: inline-block;text-align: right;}
- .setTabBtn{
- cursor: pointer;
- width: 100%;
- color: #787878;
- font-size: 14px;
- font-family: '微软雅黑';}
- .tablistcon{
- margin-top: -10px;
- right: 3px;
- display: none;
- padding: 5px;
- border: 1px solid #cdcaca;
- background: white;
- filter:progid:DXImageTransform.Microsoft.Shadow(direction=150,strength=5,color=#999999);/*兼容ie*/
- -moz-box-shadow: 1px 3px 6px #999999;/*兼容firefox*/
- -webkit-box-shadow: 1px 3px 6px #999999;/*兼容safari或chrome*/
- box-shadow:1px 3px 6px #999999;/*兼容opera或ie9*/
- }
- .tablistcon .tablistcon_div{border-bottom: 1px solid #cdcaca;}
- .tablistcon ul{list-style: none;}
- .tablistcon ul li{
- list-style: none;
- height: 30px;
- line-height: 30px;
- text-align: left;
- min-width: 150px;
- font-family: '微软雅黑';
- cursor:pointer;}
- .tablistcon ul li .tabselect{color:#787878;font-size: 12px;padding-left: 20px;}
- .tablistcon .tab_setbtn{
- height: 20px;
- line-height: 20px;
- background-color: #6a6868;
- border-radius: 2px;
- width: 68px;
- /* margin-top: 5px; */
- margin: 0 auto;
- margin-top: 5px;
- font-size: 12px;
- color: white;
- text-align: center;
- cursor:pointer;
- font-family: '微软雅黑';}
-
- .tab_selected {
- border: 0;
- background-image: url(/nwyj/scripts/qui/libs/images/icons/checkbox2.png);
- background-repeat: no-repeat;
- background-position: 0 50%;
- _background-position: 0 50%;
- }
- .tab_noselect {
- border: 0;
- background-image: url(/nwyj/scripts/qui/libs/images/icons/checkbox1.png);
- background-repeat: no-repeat;
- background-position: 0 50%;
- _background-position: 0 50%;
- }
- .positionTabParent {
- position: relative;
- }
- .positionTabChild {
- clear: both;
- text-align: center;
- margin-left: 0px;
- padding: 0 20px;
- }
- .chlid_con {
- position: absolute;
- display: none;
- top: 35px;
- background-color: #fff;
- border: 1px solid #ccc;
- left: 0px;
- text-align: center;
- }
- .main_index_tab{
- width:100%;
- height:40px;
- background: #fff;
- display: none;
- position:relative;
- border-bottom: 1px solid #cdcaca;
- }
- div.main_index_closeimg{
- top: 10px;
- right: 10px;
- position: absolute;
- border: 0px none;
- width: 19px;
- height: 19px;
- display: inline-block;
- z-index: 99;
- }
- .aresphref{
- color: #848484;
- display:inline-block;
- position: relative;
- }
- .aresphref b{
- font-weight:normal;
- margin-left: 30px;
- display: inline-block;
- height: 24px;
- line-height: 24px;
- }
- .aresphref u{
- position: absolute;
- top:0px;
- display: inline-block;
- background: url(/nwyj/images/index/idx_main/alert_icon.png) no-repeat;
- width: 28px;
- height: 24px;
- }
- .aresphref b:hover{
- color: blue;
- cursor:pointer;
- text-decoration: underline;
- }
- </style>
- </head>
- <!-- <body onload="dwr.engine.setActiveReverseAjax(true);dwr.engine.setNotifyServerOnPageUnload(true);" > -->
- <body onload="dwr.engine.setActiveReverseAjax(true);dwr.engine.setNotifyServerOnPageUnload(true); dwr.engine.setOrdered(true) ;dwr.engine.setAsync(true);">
- <div class="frameWork_body">
-
- <div class="header">
- <div class="header_bg"></div>
- <!--logo图片-->
- <div class="logo" id="logo">
- <a href="javascript:;"><img src="/nwyj/images/index/logo.png"/></a>
- </div>
- <div class="hg">
- <div class="userAndTime">
- <div class="_user_message">
- <!-- 欢迎xxx -->
- <div >
- <span id="showuser_span"></span>
- </div>
- <!-- 刷新按钮 -->
- <span class="exit_button" id="fress_button" title="刷新" onclick='javascript:fressSys();'>
- <img style="width:17px;" src="/nwyj/images/framework/fressIcon.png">
- </span>
- <!-- 退出按钮 -->
- <span class="exit_button" id="exit_button" title="退出" onclick='javascript:exitSys();'>
- <img src="/nwyj/images/index/exit1.png">
- </span>
- </div>
- <!--显示当前时间-->
- <div class="time" id="time"></div>
- </div>
- </div>
-
- <!--导航栏-->
- <div class="nav_menu">
- <div class="nav" id="mainNav">
- <!--菜单列表-->
- <ul class="list" id="list">
-
- </ul>
- <div class="clear"></div>
- </div>
- <div class="nav_box" id="navbox" style="height:0px;opacity:0;overflow:hidden;">
-
- </div>
- </div>
- <div class="search_bo" id="search_bo">
- <div>
- <input type="text" value="请输入关键字" class="search_in" id="search_in"/>
- </div>
- <div class="search_img" id="search_img" >
- <a href="javascript:;">
- <img src="/nwyj/images/index/searchBtn.png">
- </a>
- </div>
- </div>
-
- </div>
- <!-- 内容部分 -->
- <div class="content"
- style="margin:0 auto;text-align:center; left: 0px; top:7px; bottom: 0px; position:relative; right: 0px; background-color: #f1f1f1;index:0"
- id="map">
- <div id="main_index_fixed" class="main_index_tab" style="display: none;"></div>
- <div id="main_index_tab" class="main_index_tab"><div id="main_index_tab_cont"></div><div id="main_index_closeimg" class="main_index_closeimg cont_close1 " style="display: none;" ></div></div>
- <div id="currPosition" class="currPosition"><div class="positionMsg" id="positionMsg"><div id="positionTitle1"></div></div></div>
- <!-- <span class="icon_fullscreen" id="fullSrceen" hideNav="true">开启全屏</span> -->
- <IFRAME allowTransparency="true" width="99%" scrolling="no" frameBorder="0" id="frmright" name="frmright" src="" allowTransparency="true" ></IFRAME>
- </div>
- <!-- 右下角弹窗 系统消息等 -->
- <div class="sys_msg" id="sys_msg">
- <div class="sys_msg_title">
- 信息提示<a href="javascript:;" id="close_sys_msg"><img
- src="/nwyj/images/index/delete.png"></a>
- </div>
- <div class="sys_msg_cont" id="sys_msg_cont">
- <form>
- <ul>
- <li><img src="/nwyj/images/index/biaozhu.png"><a><span>防风防汛-F-2015-0905</span></a></li>
- </ul>
- </form>
- </div>
- </div>
-
- </div>
- <script type="text/javascript" >
- var option = $.getLoadingCSS(1);
-
-
- $(function(){
- /*点击节点时隐藏当前位置的设置内容框*/
- $(document).live('click',function(e){
- var e = e || window.event; //浏览器兼容性
- var elem = e.target || e.srcElement;
- while (elem) { //循环判断至跟节点,防止点击的是div子元素
- if (elem.id && elem.id=='tablistcon') {
- return;
- }
- elem = elem.parentNode;
- }
-
- $('#tablistcon').css('display','none'); //点击的不是div或其子元素
- });
-
-
- //显示加载等待
- frameWorkShowLoading();
- //设置页面最小高度
- //$("#frmright").css("min-height",$(window.document.body).height()-160);
- $("#frmright").css("min-height",$(window.document.body).height()-116);
- $(top.window).scroll( function() {
- var _thisScroll = $(this);
- var scroH = _thisScroll.scrollTop();
- if(scroH>120){
- if(document.getElementById("main_index_tab").style.display=="block"){
- $("#main_index_fixed").show();
- }
- $("#main_index_tab").css({"top":"0px","left": "0px","position":"fixed","line-height":"40px"});
- }else{
- $("#main_index_fixed").hide();
- $("#main_index_tab").css({"position":"relative","line-height":""});
- }
- scroH = null;
- _thisScroll = null;
- });
- //滚动隐藏日历
- hiddenWaterPicker();
- $("html").css({"overflow":"scroll","overflow":"-Scroll","overflow-y":"auto"});
- //当前位置处,链接文字绑定事件
- $(".positionTab").live("click",function(){
- if($(this).hasClass("positionTabParent")){//若有子页签
- var childCon = $(this).find(".chlid_con");
- childCon.toggle();
- }else{
- var imgclass = $("#positionTitle1").data("imgclass");
- var thisSrc = $(this).data("src");
- $(".positionTabCurrent").removeClass("positionTabCurrent");
- $(this).addClass("positionTabCurrent");
- $("#frmright").attr("src",thisSrc+"?imgclass="+imgclass);
- }
- })
- /* $(".chlid_con").live("mouseleave",function(){
- $(this).hide();
- }); */
- $(".positionTabParent").live("mouseleave",function(){
- $(this).find(".chlid_con").hide();
- });
- var preUrl = "";
- //iframe绑定onload事件
- $('#frmright').on('load',function(){
- /*点击节点时隐藏当前位置的设置内容框*/
- $(document.getElementById("frmright").contentWindow.document).live("click", function(e){
- $(top.document.body).find('#tablistcon').css('display','none'); //点击的不是div或其子元素
- });
-
- //当iframe页面加载完成后取消加载页面
- $("#map").indexLoading(option).hide();
- //$("#map").css("height","");
- //var imgclass = $("#positionTitle1").attr("class");
- var frmsrc = $(this).attr("src").split("?")[0];
- lockAlter(preUrl,frmsrc);
- //alert(preUrl+"==="+frmsrc);
- preUrl = $(this).attr("src");
- if(frmsrc == "/nwyj/page/business/em/response/emergencyResponse/WarningReleaseMatter.jsp" ){
- $("#currPosition .changeYQ").remove();
- var data = [{"menuData":{"imgClass":"/nwyj/images/index/idx_em/idx_em_resp_tongzhidan.png","menu_id":"40301","menu_name":"响应通知单管理"}},{"tabData":[{"YQ_ID":"xytzd_xytzd","FD_OBJECTID":"1190002586658624700","UPDATEDATE":null,"current":"true","YQ_SRC":"/nwyj/page/business/em/response/emergencyResponse/Warning.jsp","YQ_CDNAME":"响应通知单管理","YO_CDID":"40301","YQ_SORT":"0","YQ_NAME":"响应通知单管理","IS_DEL":null},{"YQ_ID":"xytzd_lscx","FD_OBJECTID":"1190002586658624800","UPDATEDATE":null,"YQ_SRC":"/nwyj/page/business/em/response/emergencyResponse/WarningHistory.jsp","YQ_CDNAME":"响应通知单管理","YO_CDID":"40301","YQ_SORT":"1","YQ_NAME":"响应通知单历史查询","IS_DEL":null}]}]
- tabPosition(data[1].tabData,"40301","idx_em_resp_tongzhidan");
-
- }else{
- getAndChangeTab(frmsrc);
- }
- window.scrollTo(0, 0);
- });
- })
-
- //显示加载等待
- function frameWorkShowLoading(){
- //$("#map").css("height",$(window.document.body).height()-125);
- $("#map").indexLoading(option).show();
- }
- /**
- * 刷新
- */
- function fressSys(){
- var mainurl = $("#frmright").attr("src");
- //alert(mainurl);
- frameWorkShowLoading();
- $("#frmright").attr("src", mainurl);
- }
-
- function hiddenWaterPicker(){
- $(top.document).find("body").get(0).onmousewheel=function(){
- $(".c_wdate").hide();
- }
- }
-
- //每次跳转页面时,判断是否为“菜单”页,如果是,则改变当前位置的显示
- function getAndChangeTab(frmsrc){
- var pos_menuid = $("#positionMsg #positionTitle1").data("menuid");
- //alert(pos_menuid)
- var user_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
- $.ajax({
- url : $.pathname() + '/ws/sys/SysCustomMenuService/getMenuInfoByUrl',
- type : 'post',
- data : {frmsrc:frmsrc,userId:user_id},
- dataType : 'text',
- success : function(data) {
- data = eval('('+data+')');
- var menuId = "";
- var imgclass = "";
- //alert(pos_menuid != data[0].menuData.menu_id)
- if(data[0].menuData!={} && data[0].menuData.menu_id!="" && pos_menuid != data[0].menuData.menu_id){
- menuId = data[0].menuData.menu_id;
- imgclass = data[0].menuData.imgClass;
- imgclass = imgclass.substring(imgclass.lastIndexOf("/")+1,imgclass.indexOf(".png"))
- var menuName3 = data[0].menuData.menu_name;
- $("#positionMsg").html("<div id='positionTitle1' class='"+imgclass+"'>"+menuName3+"</div>");
- $("#positionMsg #positionTitle1").data("menuid",menuId).data("imgclass",imgclass);
- if(parseInt(menuId)>10){
- $("#currPosition").show();
- }
- }
- if((menuId!="" && parseInt(menuId)>10)){
- $("#currPosition").show();
- $("#currPosition .changeYQ").hide();
- }else if(menuId==2 || menuId==7){
- $("#currPosition").hide();
- }
- if(data.length>1 && data[1].tabData.length>0 && menuId.length>0){
-
- $("#currPosition .changeYQ").remove();
- var curSrc = tabPosition(data[1].tabData,menuId,imgclass);
- /* menuUri = curSrc!="" && curSrc!=undefined?curSrc:menuUri;
- var frmUrl = $("#frmright").attr("src");
- frmUrl = frmUrl.split("?")[0];
- if(menuUri != frmUrl){
- $("#frmright").attr("src",menuUri+"?menu_id="+menuId+"&&imgclass="+imgclass);
- }
- */
- }
- /* data = data.substring(data.lastIndexOf("/")+1,data.indexOf(".png"))
- $("#positionTitle1").attr("class",data);
- $("#currPosition").show(); */
- },
- error : function(e) {
- $.messager.alert('访问服务失败!', 'error');
- }
- });
- }
-
- //跳转页面的时候给修改页面解锁
- function lockAlter(preUrl,frmsrc){
- var altUrl='/nwyj/page/business/em/report/alterReportRequire.html';
- var altUrl2 ='/nwyj/page/business/em/report/reportDept/alterReportRequire.html';
- var altUrl1='/nwyj/page/business/em/report/Report_Alter.html';
- var preUrl1=preUrl.split("?")[0];
- if(preUrl1==altUrl||preUrl1==altUrl2){
- var fd_id=preUrl.split("?")[1];
- updateOperate($.pathname() + "/ws/xianlutingyun/XianlutingyunService/updateStat",{fd_id:fd_id,check:"",table:'report_schedule'});
- }else if(preUrl1==altUrl1&&frmsrc.split("?")!=altUrl1){
- var fd_id=preUrl.split("?")[3];
- updateOperate($.pathname() + "/ws/xianlutingyun/XianlutingyunService/updateStat",{fd_id:fd_id,check:"",table:'report_records'});
- }
- }
-
- //消息推送用到的方法
- function sendMessage(msg){
- $("#message").show();
- $(".boxContent").html("");
- $.messager.lays(310,175);
- //msg = "<a href=\"javascript:void(0)\" onclick=\"openZ('/nwyj/page/business/public/FileEMInfo.jsp')\">ceshi</a>"
- $.messager.show(0,msg,"stay");
- $(".boxContent").html(msg);
- $("#message").css("position","fixed");
- //$.messager.show(0,msg);
- }
-
- function openZ(url){
- window.parent.parent.document.getElementById("frmright").setAttribute("src", url);
- $("#message_close").click();
- $("#message").hide();
- }
-
-
- function getDbMsg(msg){
- $("#daibanshu").text(msg);
- }
-
- function receiveMessage(){
- alert("已接收信息");
- }
-
-
- function openY(data){
-
- $("#frmright").attr("src",data);
- $(".messager-body").window('close');
- }
- // function dwrUpdateWarning(){
- // alert("通知单发布后,调用成功!")
- // }
- </script>
- </body>
- </html>
|