singlePage.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head style="overflow-x: hidden;">
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="renderer" content="ie-stand" />
  6. <!-- <meta http-equiv="X-UA-Compatible" content="IE=8"> -->
  7. <title>超高压公司应急指挥平台</title>
  8. <link rel="Shortcut Icon" href="/nwyj/images/favicon.ico" />
  9. <!--框架必需start-->
  10. <link href="/nwyj/css/jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css" />
  11. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  12. <!-- 扩展工具js -->
  13. <!--取消无法登陆 start -->
  14. <script type="text/javascript" src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
  15. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.nomin.js"></script>
  16. <!--取消无法登陆 end -->
  17. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  18. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  19. <!--获取登陆的用户信息 start -->
  20. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/user/LoginInfo.js"></script>
  21. <!--获取登陆的用户信息 end -->
  22. <!--去掉主页面菜单不显示 start -->
  23. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/right/userClickNum.js"></script>
  24. <!--去掉主页面菜单不显示 end -->
  25. <!-- 重复注释开始 start-->
  26. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  27. <!-- 重复注释结束 end -->
  28. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  29. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
  30. <link rel="stylesheet" type="text/css" href="/nwyj/scripts/qui/libs/css/import_basic.css" />
  31. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css" rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
  32. positionTarget="positionContent" selInputHeight="32"
  33. selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
  34. defaultFileInputWidth="200" defaultGridHeaderHeight="34"
  35. defaultGridRowHeight="38" defaultFontSize="14" defaultPageSelWidth="55"
  36. defaultFilterItemHeight="32" dialogWidthFix="0"
  37. defaultSelItemHeight="32" defaultFontFamily="微软雅黑" />
  38. <link href="/nwyj/scripts/qui/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" />
  39. <!--框架必需end-->
  40. <!--弹出式提示框start-->
  41. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
  42. <!--弹出式提示框end-->
  43. <!--弹窗 start -->
  44. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
  45. <!--弹窗 end -->
  46. <!--加载中开始-->
  47. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/loading/loading.js"></script>
  48. <link href="/nwyj/scripts/freamwork/com/sinosoft/system/loading/loading.css" rel="stylesheet" type="text/css"/>
  49. <!--加载中结束-->
  50. <style type="text/css">
  51. * {
  52. margin: 0;
  53. padding: 0;
  54. }
  55. html{
  56. width: 100%;
  57. height: 100%;
  58. }
  59. body{
  60. width: 100%;
  61. height: 100%;
  62. overflow: auto;
  63. }
  64. .content {
  65. margin: 0 auto;
  66. width: 100%;
  67. background : #f2f2f2;
  68. }
  69. /* .single-loading-bg {position: absolute;width: 100%;height: 100%;background-color: #fff; left: 0;top: 0;z-index: 100;}
  70. .single-loading-box {position: absolute;width: 200px;height: 74px;left: 50%;margin-left: -100px;top: 50%;margin-top: -74px;border: 1px solid #fff;padding: 2px;background-color: #fff;display: none;z-index: 101;border-radius: 3px;overflow: hidden;}
  71. .single-loading-box span {display: block;height:74px; width:100px;line-height: 74px;margin-left:100px;}
  72. .single-loading-box img {display: block;height:74px; width:100px;float: left;}
  73. */
  74. </style>
  75. </head>
  76. <!-- <body onload="dwr.engine.setActiveReverseAjax(true);dwr.engine.setNotifyServerOnPageUnload(true); dwr.engine.setOrdered(true) ;dwr.engine.setAsync(true);">
  77. -->
  78. <body>
  79. <!-- <div class="single-loading-bg" style="display: block;"></div>
  80. <div class="single-loading-box" style="display: block;"><img src="/nwyj/images/index/idx_main/jiazaizhong.gif" /><span>加载中。。。。</span></div>
  81. -->
  82. <!-- 内容部分 -->
  83. <div class="content" id="single-cont">
  84. </div>
  85. <script type="text/javascript" >
  86. var option = $.getLoadingCSS(2);
  87. $(function(){
  88. $("body").indexLoading(option).show();
  89. //setTimeout(function(){
  90. singlePageInit();
  91. //},10);
  92. })
  93. //页面初始话执行
  94. function singlePageInit(){
  95. //定义iframe加载的url,默认页面丢失
  96. var idxurl = "/nwyj/404.jsp";
  97. //定义全局用户信息
  98. var glogleUserIngo ;
  99. if(window.name==undefined||window.name == ''){//新跳转窗口
  100. if(window.opener&&!window.opener.closed){//首页跳转过来的页面
  101. //通过window.opener调用父窗口函数$.paramsToNextWindow()获取参数
  102. //参数形式{"name": 原来页面传过来的用户信息,"idxWorkUrl": iframe需要加载的url}
  103. var idxparams = window.opener.$.paramsToNextWindow();
  104. //重置页面name为用户信息
  105. window.name = idxparams.name+"%INDEXPARAMS%"+idxparams.idxWorkUrl;
  106. //重置用户信息
  107. glogleUserIngo = idxparams.name;
  108. //重置iframe加载的URL
  109. idxurl = idxparams.idxWorkUrl;
  110. //重置window.opener为null
  111. window.opener = null;
  112. }else{
  113. window.location ='../';
  114. }
  115. }else{
  116. var idxparams = window.name;
  117. if(idxparams.indexOf("%INDEXPARAMS%")>0){
  118. var idxparamsArr = idxparams.split("%INDEXPARAMS%");
  119. //console.log(idxparams);
  120. //重置页面name为用户信息
  121. glogleUserIngo = idxparamsArr[0];
  122. //重置iframe加载的URL
  123. idxurl = idxparamsArr[1];
  124. }
  125. }
  126. //初始话用户信息
  127. com.sinosoft.lz.system.user.LoginInfo.init(glogleUserIngo);
  128. //初始化frmsingle中的数据
  129. $("#single-cont").append('<iframe name="frmright" id="frmright" src="'+idxurl+'" onload="Javascript:resetHeight();" width="100%" height="100%" frameborder = "0" scrolling ="no" ></iframe>');
  130. //设置页面最小高度
  131. $("#frmright").css("min-height",$(window.document.body).height());
  132. }
  133. //页面加载完成后执行
  134. function resetHeight(){
  135. $("body").indexLoading(option).hide();
  136. }
  137. </script>
  138. </body>
  139. </html>