d7cfe0997b2df4ed8f15a31524df3d295c25d289.svn-base 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039
  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-y: 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=EmulateIE8" /> -->
  7. <!-- <meta http-equiv="X-UA-Compatible" content="IE=9,chrome=1"/> -->
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><!-- 与网公司统一 -->
  9. <!-- webkit|ie-comp|ie-stand -->
  10. <!-- content的取值为webkit,ie-comp,ie-stand之一,区分大小写,分别代表用极速模式,兼容模式,IE模式打开 -->
  11. <title>贵州电网应急指挥平台</title>
  12. <link rel="Shortcut Icon" href="/nwyj/images/favicon.ico" />
  13. <!--框架必需start-->
  14. <link href="/nwyj/css/jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css" />
  15. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  16. <!-- 扩展工具js -->
  17. <!--取消无法登陆 start -->
  18. <script type="text/javascript" src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
  19. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.nomin.js"></script>
  20. <!--取消无法登陆 end -->
  21. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  22. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  23. <!--获取登陆的用户信息 start -->
  24. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/user/LoginInfo.js"></script>
  25. <!--获取登陆的用户信息 end -->
  26. <!--去掉主页面菜单不显示 start -->
  27. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/right/userClickNum.js"></script>
  28. <script type="text/javascript" src="/nwyj/scripts/init.js"></script>
  29. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/right/menunwyj.js"></script>
  30. <script type="text/javascript" src='/nwyj/scripts/business/em/report/addDo.js'></script>
  31. <!--去掉主页面菜单不显示 end -->
  32. <!--jquerUI start -->
  33. <script src="/nwyj/scripts/jquery-ui-1.10.4.min.js"></script>
  34. <script src="/nwyj/scripts/jquery.mousewheel.min.js"></script>
  35. <script src="/nwyj/scripts/jquery.mCustomScrollbar.js"></script>
  36. <!--jquerUI end -->
  37. <!--框架必需start-->
  38. <!-- 重复注释开始 start-->
  39. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  40. <!-- 重复注释结束 end -->
  41. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  42. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
  43. <link rel="stylesheet" type="text/css" href="/nwyj/scripts/qui/libs/css/import_basic.css" />
  44. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css" rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
  45. positionTarget="positionContent" selInputHeight="32"
  46. selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
  47. defaultFileInputWidth="200" defaultGridHeaderHeight="34"
  48. defaultGridRowHeight="38" defaultFontSize="14" defaultPageSelWidth="55"
  49. defaultFilterItemHeight="32" dialogWidthFix="0"
  50. defaultSelItemHeight="32" defaultFontFamily="微软雅黑" />
  51. <link href="/nwyj/scripts/qui/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" />
  52. <!--框架必需end-->
  53. <!--弹出式提示框start-->
  54. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
  55. <!--弹出式提示框end-->
  56. <!--日期start-->
  57. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/datePicker/WdatePicker.js"></script>
  58. <!--日期end-->
  59. <!-- dwr 实现消息推送功能-->
  60. <script type='text/javascript' src='/nwyj/dwr/engine.js'></script>
  61. <script type='text/javascript' src='/nwyj/dwr/util.js'></script>
  62. <!--弹窗 start -->
  63. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
  64. <!--弹窗 end -->
  65. <!--加载中开始-->
  66. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/loading/loading.js"></script>
  67. <link href="/nwyj/scripts/freamwork/com/sinosoft/system/loading/loading.css" rel="stylesheet" type="text/css"/>
  68. <!--加载中结束-->
  69. <!--动态选项卡start-->
  70. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/dynamicTab.js"></script>
  71. <!--动态选项卡end-->
  72. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/right/userClickNum.js"></script>
  73. <style type="text/css">
  74. /*全局样式*/
  75. * {
  76. margin: 0;
  77. padding: 0;
  78. }
  79. .frameWork_body {
  80. font-family: "宋体", "微软雅黑", arial;
  81. width: 100%;
  82. height: 100%;
  83. margin: 0 auto;
  84. }
  85. html{
  86. width: 100%;
  87. height: 100%;
  88. }
  89. body{
  90. width: 100%;
  91. height: 100%;
  92. }
  93. .content {
  94. margin: 0 auto;
  95. width: 100%;
  96. background : #f2f2f2;
  97. /* background: url("/nwyj/images/index/bg1.png") no-repeat;
  98. background-size:100% auto;
  99. background-size:auto 100%; */
  100. /* filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/nwyj/images/index/bg1.png',sizingMethod='scale');
  101. background-repeat: no-repeat;
  102. background-positon: 100%, 100%;
  103. font: normal 12px tahoma, arial, verdana, sans-serif;
  104. margin: 0;
  105. padding: 0;
  106. border: 0 none;
  107. overflow: hidden;
  108. height: 100%; */
  109. }
  110. a,a:link,a:visited {
  111. text-decoration: none;
  112. color: #000;
  113. }
  114. img {
  115. border: 0;
  116. }
  117. h4 {
  118. margin-top: 10px;
  119. margin-left: 5px;
  120. }
  121. hr {
  122. margin-bottom: 10px;
  123. height: 1px;
  124. border: none;
  125. border-top: 1px dashed #666;
  126. }
  127. /*头部样式*/
  128. .header {
  129. width: 100%;
  130. height: 110px;
  131. margin: 0 auto;
  132. position: relative;
  133. top: 0;
  134. }
  135. /*头部背景*/
  136. .header_bg {
  137. width: 100%;
  138. height: 77px;
  139. background: url(/nwyj/images/index/Top1.jpg) repeat-x;
  140. }
  141. /*头部logo*/
  142. .logo {
  143. display: block;
  144. position: absolute;
  145. top: 15px;
  146. left: 1.5%;
  147. width: 387px;
  148. height: 44px;
  149. }
  150. /*头部用户角色显示块*/
  151. .hg {
  152. position: absolute;
  153. display: block;
  154. top: 10px;
  155. right: 1.5%;
  156. text-align: right;
  157. }
  158. ._user_message div{
  159. height:30px;
  160. line-height: 30px;
  161. display: inline-block;
  162. }
  163. .exit_button{
  164. cursor:pointer;
  165. }
  166. ._user_message div span{
  167. color:#fff;
  168. }
  169. .hg .userAndTime img{
  170. vertical-align: text-bottom;
  171. }
  172. /*导航栏*/
  173. .nav_menu {
  174. width: 100%;
  175. height: 40px;
  176. background: #3f639f;
  177. position: relative;
  178. margin: 0 auto;
  179. }
  180. .nav_menu .nav_box {
  181. position: absolute;
  182. width: 100%;
  183. background: #FFF;
  184. overflow: hidden;
  185. height: 0;
  186. filter: alpha(opacity=0);
  187. opacity: 0;
  188. border-bottom: 2px solid #074c52;
  189. }
  190. /*搜索框块*/
  191. .search_bo {
  192. /*font-family:"宋体","微软雅黑";*/
  193. display: block;
  194. position: absolute;
  195. top: 82px;
  196. right:0.3%;
  197. z-index: 50;
  198. border:none;
  199. }
  200. /*搜索框*/
  201. .search_bo div{
  202. display: inline-block;
  203. border:none;
  204. }
  205. .search_bo .search_in {
  206. width: 140px;
  207. height: 25px;
  208. line-height: 25px;
  209. border-radius: 15px;/*
  210. background: rgba(255, 255, 255, 0.5);
  211. -pie-background :rgba(255, 255, 255, 0.5); */
  212. padding-left: 10px;
  213. padding-right:25px;
  214. behavior: url(/nwyj/scripts/freamwork/com/sinosoft/system/right/PIE.htc);/*搜索框圆角,但是会影响到半透明效果*/
  215. }
  216. /*搜索框中放大镜图标*/
  217. .search_img {
  218. position: relative;
  219. top: 2px;
  220. left: -30px;
  221. width: 12px;
  222. z-index: 800;
  223. }
  224. .search_img img {
  225. width: 18px;
  226. height: 18px;
  227. }
  228. /*导航栏菜单列表*/
  229. .nav .list {
  230. list-style-type: none;
  231. margin-left: 1.4%;
  232. width:98.6%;
  233. height:100%;
  234. }
  235. /*所有的导航栏菜单样式*/
  236. .nav .list li {
  237. float: left;
  238. height: 101.5%;
  239. width: 10%;
  240. line-height: 40px;
  241. }
  242. .nowCurrent,.nowCurrent1{
  243. background-color : #0f4a8b;
  244. }
  245. /*二三级菜单块*/
  246. .nav .list li .yj_menu_hover {
  247. float: left;
  248. display: block;
  249. color: #fff;
  250. width: 100%;
  251. text-align: center;
  252. }
  253. /*导航栏菜单图标*/
  254. .yj_menu_hover img {
  255. width: 16px;
  256. height: 16px;
  257. position: relative;
  258. top: 3px;
  259. }
  260. .yj_menu_hover span {
  261. margin-left: 5px;
  262. }
  263. .hover_cont {
  264. display: none;
  265. position: absolute;
  266. left:1.5%;
  267. border: 1px solid #ccc;
  268. border-top: 0;
  269. width:97%;
  270. background: #fff;
  271. filter:progid:DXImageTransform.Microsoft.Shadow(direction=120,strength=4);/*兼容ie*/
  272. -moz-box-shadow: 1px 4px 18px;/*兼容firefox*/
  273. -webkit-box-shadow: 1px 4px 18px;/*兼容safari或chrome*/
  274. box-shadow:1px 4px 18px;/*兼容opera或ie9*/
  275. z-index: 1000;
  276. }
  277. .hover_cont .nav_cont {
  278. padding: 3px 3px 30px;
  279. }
  280. .hover_cont .nav_li {
  281. border-bottom: 1px solid #ccc;
  282. display: inline-block;
  283. margin: 0 10px;
  284. padding: 4px 0 5px 0;
  285. width: 98%;
  286. }
  287. .hover_cont .nav_li_l {
  288. position:absolute;
  289. width: 120px;
  290. display:inline-block;
  291. vertical-align:top;
  292. color: #666;
  293. margin-top:7px;
  294. padding-left: 10px;
  295. text-align: center;
  296. }
  297. .fas{
  298. width:100%;
  299. display: inline-block;
  300. }
  301. .hover_cont .nav_li_r {
  302. display: inline-block;;
  303. font-family: "宋体";
  304. margin-left: 130px;
  305. }
  306. .verticalLine{
  307. position:absolute;
  308. margin-left:-10px;
  309. display:inline-block;
  310. color:#ccc;
  311. }
  312. .hover_cont .nav_li_r a {
  313. display: inline-block;
  314. margin: 10px 5px;
  315. color: #0066CC;
  316. height: 25px;
  317. line-height: 25px;
  318. text-decoration: none; */
  319. }
  320. .daiban {
  321. background-color: #f00;
  322. border-radius: 25px;
  323. height: 20px;
  324. line-height:20px;
  325. left: 58%;
  326. position: absolute;
  327. top: 0;
  328. width: 20px;
  329. behavior: url(/nwyj/scripts/freamwork/com/sinosoft/system/right/PIE.htc);
  330. }
  331. .nodaiban {
  332. display: none;
  333. }
  334. .daibanshu {
  335. /* height: 8px;
  336. line-height: 13px; */
  337. display: block;
  338. color: #FFF;
  339. text-align: center;
  340. /* margin: 2px; */
  341. font-size: 12px;
  342. }
  343. .sys_msg {
  344. width: 310px;
  345. height: 175px;
  346. background: #f7f7f7;
  347. position: relative;
  348. top: -177px;
  349. left: 1052px;
  350. display: none;
  351. }
  352. .sys_msg .sys_msg_title {
  353. width: 100.5%;
  354. height: 30px;
  355. line-height: 30px;
  356. border-radius: 3px;
  357. background: url("/nwyj/images/index/index_bg.png") repeat-x;
  358. color: #fff;
  359. }
  360. .sys_msg_title a {
  361. position: absolute;
  362. left: 280px;
  363. width: 25px;
  364. height: 25px;
  365. margin-top: 2px;
  366. line-height: 35px;
  367. text-align: center;
  368. }
  369. .sys_msg_title a:hover {
  370. background: #fff;
  371. }
  372. .sys_msg_title a img {
  373. width: 20px;
  374. height: 20px;
  375. }
  376. .sys_msg_cont ul {
  377. list-style-type: none;
  378. margin-left: 10px;
  379. }
  380. .sys_msg_cont ul li {
  381. margin-top: 5px;
  382. }
  383. .sys_msg_cont ul li img {
  384. margin: 0 10px 0 0;
  385. width: 16px;
  386. height: 16px;
  387. }
  388. /*hxb 2015-09-11 add*/
  389. /* .mainPage {
  390. margin: 0 auto;
  391. width: 100%;
  392. height: 545px;
  393. background: url("../images/index/bg.png") no-repeat;
  394. background-size: 100% 100%;
  395. } */
  396. .currPosition{
  397. width:100%;
  398. height:40px;
  399. line-height:40px;
  400. background: #fff;
  401. display: none;
  402. position:relative;
  403. border-bottom: 1px solid #cdcaca;
  404. }
  405. .positionMsg{
  406. position:absolute;
  407. text-align: left;
  408. margin-left: 1.5%;
  409. color:#22296E;
  410. }
  411. .positionMsg div{
  412. float: left;
  413. }
  414. #positionTitle1{
  415. font-weight: bold;
  416. font-size: 16px;
  417. padding-left: 30px;
  418. margin-left: 0px;
  419. color:#000;
  420. }
  421. .positionTab{
  422. padding: 0 20px;
  423. margin-left: 10px;
  424. cursor: pointer;
  425. color:#7d7d7d;
  426. }
  427. .positionTab:hover{
  428. background-color: #3c95c8;
  429. color:#fff;
  430. }
  431. .positionTabCurrent{
  432. color:#0196e8;
  433. border-bottom: 3px solid #006cff;
  434. }
  435. .clear{
  436. clear:both;
  437. }
  438. .changeYQ{position:absolute;right:10px;display: inline-block;text-align: right;}
  439. .setTabBtn{
  440. cursor: pointer;
  441. width: 100%;
  442. color: #787878;
  443. font-size: 14px;
  444. font-family: '微软雅黑';}
  445. .tablistcon{
  446. margin-top: -10px;
  447. right: 3px;
  448. display: none;
  449. padding: 5px;
  450. border: 1px solid #cdcaca;
  451. background: white;
  452. filter:progid:DXImageTransform.Microsoft.Shadow(direction=150,strength=5,color=#999999);/*兼容ie*/
  453. -moz-box-shadow: 1px 3px 6px #999999;/*兼容firefox*/
  454. -webkit-box-shadow: 1px 3px 6px #999999;/*兼容safari或chrome*/
  455. box-shadow:1px 3px 6px #999999;/*兼容opera或ie9*/
  456. }
  457. .tablistcon .tablistcon_div{border-bottom: 1px solid #cdcaca;}
  458. .tablistcon ul{list-style: none;}
  459. .tablistcon ul li{
  460. list-style: none;
  461. height: 30px;
  462. line-height: 30px;
  463. text-align: left;
  464. min-width: 150px;
  465. font-family: '微软雅黑';
  466. cursor:pointer;}
  467. .tablistcon ul li .tabselect{color:#787878;font-size: 12px;padding-left: 20px;}
  468. .tablistcon .tab_setbtn{
  469. height: 20px;
  470. line-height: 20px;
  471. background-color: #6a6868;
  472. border-radius: 2px;
  473. width: 68px;
  474. /* margin-top: 5px; */
  475. margin: 0 auto;
  476. margin-top: 5px;
  477. font-size: 12px;
  478. color: white;
  479. text-align: center;
  480. cursor:pointer;
  481. font-family: '微软雅黑';}
  482. .tab_selected {
  483. border: 0;
  484. background-image: url(/nwyj/scripts/qui/libs/images/icons/checkbox2.png);
  485. background-repeat: no-repeat;
  486. background-position: 0 50%;
  487. _background-position: 0 50%;
  488. }
  489. .tab_noselect {
  490. border: 0;
  491. background-image: url(/nwyj/scripts/qui/libs/images/icons/checkbox1.png);
  492. background-repeat: no-repeat;
  493. background-position: 0 50%;
  494. _background-position: 0 50%;
  495. }
  496. .positionTabParent {
  497. position: relative;
  498. }
  499. .positionTabChild {
  500. clear: both;
  501. text-align: center;
  502. margin-left: 0px;
  503. padding: 0 20px;
  504. }
  505. .chlid_con {
  506. position: absolute;
  507. display: none;
  508. top: 35px;
  509. background-color: #fff;
  510. border: 1px solid #ccc;
  511. left: 0px;
  512. text-align: center;
  513. }
  514. .main_index_tab{
  515. width:100%;
  516. height:40px;
  517. background: #fff;
  518. display: none;
  519. position:relative;
  520. border-bottom: 1px solid #cdcaca;
  521. }
  522. div.main_index_closeimg{
  523. top: 10px;
  524. right: 10px;
  525. position: absolute;
  526. border: 0px none;
  527. width: 19px;
  528. height: 19px;
  529. display: inline-block;
  530. z-index: 99;
  531. }
  532. .aresphref{
  533. color: #848484;
  534. display:inline-block;
  535. position: relative;
  536. }
  537. .aresphref b{
  538. font-weight:normal;
  539. margin-left: 30px;
  540. display: inline-block;
  541. height: 24px;
  542. line-height: 24px;
  543. }
  544. .aresphref u{
  545. position: absolute;
  546. top:0px;
  547. display: inline-block;
  548. background: url(/nwyj/images/index/idx_main/alert_icon.png) no-repeat;
  549. width: 28px;
  550. height: 24px;
  551. }
  552. .aresphref b:hover{
  553. color: blue;
  554. cursor:pointer;
  555. text-decoration: underline;
  556. }
  557. </style>
  558. </head>
  559. <!-- <body onload="dwr.engine.setActiveReverseAjax(true);dwr.engine.setNotifyServerOnPageUnload(true);" > -->
  560. <body onload="dwr.engine.setActiveReverseAjax(true);dwr.engine.setNotifyServerOnPageUnload(true); dwr.engine.setOrdered(true) ;dwr.engine.setAsync(true);">
  561. <div class="frameWork_body">
  562. <div class="header">
  563. <div class="header_bg"></div>
  564. <!--logo图片-->
  565. <div class="logo" id="logo">
  566. <a href="javascript:;"><img src="/nwyj/images/index/logo.png"/></a>
  567. </div>
  568. <div class="hg">
  569. <div class="userAndTime">
  570. <div class="_user_message">
  571. <!-- 欢迎xxx -->
  572. <div >
  573. <span id="showuser_span"></span>
  574. </div>
  575. <!-- 刷新按钮 -->
  576. <span class="exit_button" id="fress_button" title="刷新" onclick='javascript:fressSys();'>
  577. <img style="width:17px;" src="/nwyj/images/framework/fressIcon.png">
  578. </span>
  579. <!-- 退出按钮 -->
  580. <span class="exit_button" id="exit_button" title="退出" onclick='javascript:exitSys();'>
  581. <img src="/nwyj/images/index/exit1.png">
  582. </span>
  583. </div>
  584. <!--显示当前时间-->
  585. <div class="time" id="time"></div>
  586. </div>
  587. </div>
  588. <!--导航栏-->
  589. <div class="nav_menu">
  590. <div class="nav" id="mainNav">
  591. <!--菜单列表-->
  592. <ul class="list" id="list">
  593. </ul>
  594. <div class="clear"></div>
  595. </div>
  596. <div class="nav_box" id="navbox" style="height:0px;opacity:0;overflow:hidden;">
  597. </div>
  598. </div>
  599. <div class="search_bo" id="search_bo">
  600. <div>
  601. <input type="text" value="请输入关键字" class="search_in" id="search_in"/>
  602. </div>
  603. <div class="search_img" id="search_img" >
  604. <a href="javascript:;">
  605. <img src="/nwyj/images/index/searchBtn.png">
  606. </a>
  607. </div>
  608. </div>
  609. </div>
  610. <!-- 内容部分 -->
  611. <div class="content"
  612. style="margin:0 auto;text-align:center; left: 0px; top:7px; bottom: 0px; position:relative; right: 0px; background-color: #f1f1f1;index:0"
  613. id="map">
  614. <div id="main_index_fixed" class="main_index_tab" style="display: none;"></div>
  615. <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>
  616. <div id="currPosition" class="currPosition"><div class="positionMsg" id="positionMsg"><div id="positionTitle1"></div></div></div>
  617. <div class="activeTabDiv">
  618. <div id="active_tab_menu"></div>
  619. <div id="active_page"></div>
  620. </div>
  621. <!-- <span class="icon_fullscreen" id="fullSrceen" hideNav="true">开启全屏</span> -->
  622. <IFRAME allowTransparency="true" width="99%" scrolling="no" frameBorder="0" id="frmright" name="frmright" src="" allowTransparency="true" ></IFRAME>
  623. </div>
  624. <!-- 右下角弹窗 系统消息等 -->
  625. <div class="sys_msg" id="sys_msg">
  626. <div class="sys_msg_title">
  627. 信息提示<a href="javascript:;" id="close_sys_msg"><img
  628. src="/nwyj/images/index/delete.png"></a>
  629. </div>
  630. <div class="sys_msg_cont" id="sys_msg_cont">
  631. <form>
  632. <ul>
  633. <li><img src="/nwyj/images/index/biaozhu.png"><a><span>防风防汛-F-2015-0905</span></a></li>
  634. </ul>
  635. </form>
  636. </div>
  637. </div>
  638. </div>
  639. <script type="text/javascript" >
  640. var option = $.getLoadingCSS(1);
  641. activeTab = null;//声明动态选项卡对象
  642. $(function(){
  643. /*点击节点时隐藏当前位置的设置内容框*/
  644. $(document).live('click',function(e){
  645. var e = e || window.event; //浏览器兼容性
  646. var elem = e.target || e.srcElement;
  647. while (elem) { //循环判断至跟节点,防止点击的是div子元素
  648. if (elem.id && elem.id=='tablistcon') {
  649. return;
  650. }
  651. elem = elem.parentNode;
  652. }
  653. $('#tablistcon').css('display','none'); //点击的不是div或其子元素
  654. });
  655. //显示加载等待
  656. frameWorkShowLoading();
  657. //设置页面最小高度
  658. //$("#frmright").css("min-height",$(window.document.body).height()-160);
  659. $("#frmright").css("min-height",$(window.document.body).height()-116);
  660. $(top.window).scroll( function() {
  661. var _thisScroll = $(this);
  662. var scroH = _thisScroll.scrollTop();
  663. if(scroH>120){
  664. if(document.getElementById("main_index_tab").style.display=="block"){
  665. $("#main_index_fixed").show();
  666. }
  667. $("#main_index_tab").css({"top":"0px","left": "0px","position":"fixed","line-height":"40px"});
  668. }else{
  669. $("#main_index_fixed").hide();
  670. $("#main_index_tab").css({"position":"relative","line-height":""});
  671. }
  672. scroH = null;
  673. _thisScroll = null;
  674. });
  675. //滚动隐藏日历
  676. hiddenWaterPicker();
  677. $("html").css({"overflow":"scroll","overflow":"-Scroll","overflow-y":"auto"});
  678. //当前位置处,链接文字绑定事件
  679. $(".positionTab").live("click",function(){
  680. $("#frmright").show();
  681. $("#active_page iframe").hide();
  682. if($(this).hasClass("positionTabParent")){//若有子页签
  683. var childCon = $(this).find(".chlid_con");
  684. childCon.toggle();
  685. }else{
  686. var imgclass = $("#positionTitle1").data("imgclass");
  687. var thisSrc = $(this).data("src");
  688. var frmSrc = $("#frmright").attr("src");
  689. //前一个页面时预警(响应)通知单页面的某个子页签,当前页面也是预警(响应)通知单页面的子页签时,不改变iframe的src值,只改变通知单的查询条件,重置通知单列表表格的数据
  690. if(frmSrc.indexOf("Warning.jsp")>-1 && thisSrc.indexOf("Warning.jsp")>-1 &&
  691. ((frmSrc.indexOf("yj_")>-1 && thisSrc.indexOf("yj_")>-1)||(frmSrc.indexOf("xy_")>-1 && thisSrc.indexOf("xy_")>-1))){
  692. var zt = thisSrc.split("?")[1].split("_")[1];
  693. top.document.getElementById("frmright").contentWindow.selectCompResetGrid(null,null,null,thisSrc,zt);
  694. }else{
  695. $("#frmright").attr("src",thisSrc);
  696. }
  697. if(thisSrc.indexOf("Warning.jsp")>-1){//重置表头按钮权限
  698. var zt = thisSrc.split("?")[1].split("_")[1];
  699. if(typeof top.document.getElementById("frmright").contentWindow.chongZhiQuanXian != "undefined")
  700. top.document.getElementById("frmright").contentWindow.chongZhiQuanXian(zt);
  701. }
  702. $(".positionTabCurrent").removeClass("positionTabCurrent");
  703. $(this).addClass("positionTabCurrent");
  704. }
  705. })
  706. /* $(".chlid_con").live("mouseleave",function(){
  707. $(this).hide();
  708. }); */
  709. $(".positionTabParent").live("mouseleave",function(){
  710. $(this).find(".chlid_con").hide();
  711. });
  712. var preUrl = "";
  713. //iframe绑定onload事件
  714. $('#frmright').on('load',function(){
  715. $("#active_tab_menu").empty();
  716. $("#active_page").empty();
  717. activeTab = null;
  718. $("#frmright").show();
  719. /*点击节点时隐藏当前位置的设置内容框*/
  720. $(document.getElementById("frmright").contentWindow.document).live("click", function(e){
  721. $(top.document.body).find('#tablistcon').css('display','none'); //点击的不是div或其子元素
  722. });
  723. //当iframe页面加载完成后取消加载页面
  724. $("#map").indexLoading(option).hide();
  725. //$("#map").css("height","");
  726. //var imgclass = $("#positionTitle1").attr("class");
  727. var frmsrc = $(this).attr("src").split("?")[0];
  728. lockAlter(preUrl,frmsrc);
  729. //alert(preUrl+"==="+frmsrc);
  730. preUrl = $(this).attr("src");
  731. if(frmsrc == "/nwyj/page/business/em/response/emergencyResponse/WarningReleaseMatter.jsp" ){
  732. $("#currPosition .changeYQ").remove();
  733. 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}]}]
  734. tabPosition(data[1].tabData,"40301","idx_em_resp_tongzhidan");
  735. }else{
  736. getAndChangeTab(frmsrc);
  737. }
  738. //通知单从统计页签转到其他页签时,重置表格按钮权限
  739. var thisSrc = $(".positionTabCurrent").attr("data-src");
  740. if(thisSrc && thisSrc.indexOf("Warning.jsp")>-1 && thisSrc.indexOf("?")>-1&& thisSrc.indexOf("_")>-1){//重置表头按钮权限
  741. var zt = thisSrc.split("?")[1].split("_")[1];
  742. if(typeof top.document.getElementById("frmright").contentWindow.chongZhiQuanXian != "undefined")
  743. top.document.getElementById("frmright").contentWindow.chongZhiQuanXian(zt);
  744. }else if(frmsrc && frmsrc.indexOf("Warning.jsp")>-1){
  745. var zt = "dangqian";
  746. top.document.getElementById("frmright").contentWindow.selectCompResetGrid(null,null,null,frmsrc,zt);
  747. if(typeof top.document.getElementById("frmright").contentWindow.chongZhiQuanXian != "undefined")
  748. top.document.getElementById("frmright").contentWindow.chongZhiQuanXian(zt);
  749. }
  750. window.scrollTo(0, 0);
  751. });
  752. })
  753. //显示加载等待
  754. function frameWorkShowLoading(){
  755. //$("#map").css("height",$(window.document.body).height()-125);
  756. $("#map").indexLoading(option).show();
  757. }
  758. /**
  759. * 刷新
  760. */
  761. function fressSys(){
  762. var mainurl = $("#frmright").attr("src");
  763. //alert(mainurl);
  764. frameWorkShowLoading();
  765. $("#frmright").attr("src", mainurl);
  766. }
  767. function hiddenWaterPicker(){
  768. $(top.document).find("body").get(0).onmousewheel=function(){
  769. $(".c_wdate").hide();
  770. }
  771. }
  772. //每次跳转页面时,判断是否为“菜单”页,如果是,则改变当前位置的显示
  773. function getAndChangeTab(frmsrc){
  774. var pos_menuid = $("#positionMsg #positionTitle1").data("menuid");
  775. //alert(pos_menuid)
  776. var user_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
  777. $.ajax({
  778. url : $.pathname() + '/ws/sys/SysCustomMenuService/getMenuInfoByUrl',
  779. type : 'post',
  780. data : {frmsrc:frmsrc,userId:user_id},
  781. dataType : 'text',
  782. success : function(data) {
  783. if(data!=""){
  784. data = eval('('+data+')');
  785. var menuId = "";
  786. var imgclass = "";
  787. //alert(pos_menuid != data[0].menuData.menu_id)
  788. if(data[0].menuData!={} && data[0].menuData.menu_id!="" && pos_menuid != data[0].menuData.menu_id){
  789. menuId = data[0].menuData.menu_id;
  790. imgclass = data[0].menuData.imgClass;
  791. imgclass = imgclass.substring(imgclass.lastIndexOf("/")+1,imgclass.indexOf(".png"))
  792. var menuName3 = data[0].menuData.menu_name;
  793. $("#positionMsg").html("<div id='positionTitle1' class='"+imgclass+"'>"+menuName3+"</div>");
  794. $("#positionMsg #positionTitle1").data("menuid",menuId).data("imgclass",imgclass);
  795. if(parseInt(menuId)>10){
  796. $("#currPosition").show();
  797. }
  798. }
  799. if((menuId!="" && parseInt(menuId)>10)){
  800. $("#currPosition").show();
  801. $("#currPosition .changeYQ").hide();
  802. }else if(menuId==2 || menuId==7){
  803. $("#currPosition").hide();
  804. }
  805. if(data.length>1 && data[1].tabData.length>0 && menuId.length>0){
  806. $("#currPosition .changeYQ").remove();
  807. var curSrc = tabPosition(data[1].tabData,menuId,imgclass);
  808. /* menuUri = curSrc!="" && curSrc!=undefined?curSrc:menuUri;
  809. var frmUrl = $("#frmright").attr("src");
  810. frmUrl = frmUrl.split("?")[0];
  811. if(menuUri != frmUrl){
  812. $("#frmright").attr("src",menuUri+"?menu_id="+menuId+"&&imgclass="+imgclass);
  813. }
  814. */
  815. }
  816. /* data = data.substring(data.lastIndexOf("/")+1,data.indexOf(".png"))
  817. $("#positionTitle1").attr("class",data);
  818. $("#currPosition").show(); */
  819. }
  820. },
  821. error : function(e) {
  822. $.messager.alert('访问服务失败!', 'error');
  823. }
  824. });
  825. }
  826. //跳转页面的时候给修改页面解锁
  827. function lockAlter(preUrl,frmsrc){
  828. var altUrl='/nwyj/page/business/em/report/alterReportRequire.html';
  829. var altUrl2 ='/nwyj/page/business/em/report/reportDept/alterReportRequire.html';
  830. var altUrl1='/nwyj/page/business/em/report/Report_Alter.html';
  831. var preUrl1=preUrl.split("?")[0];
  832. if(preUrl1==altUrl||preUrl1==altUrl2){
  833. var fd_id=preUrl.split("?")[1];
  834. updateOperate($.pathname() + "/ws/xianlutingyun/XianlutingyunService/updateStat",{fd_id:fd_id,check:"",table:'report_schedule'});
  835. }else if(preUrl1==altUrl1&&frmsrc.split("?")!=altUrl1){
  836. var fd_id=preUrl.split("?")[3];
  837. updateOperate($.pathname() + "/ws/xianlutingyun/XianlutingyunService/updateStat",{fd_id:fd_id,check:"",table:'report_records'});
  838. }
  839. }
  840. //消息推送用到的方法
  841. function sendMessage(msg){
  842. $("#message").show();
  843. $(".boxContent").html("");
  844. $.messager.lays(310,175);
  845. //msg = "<a href=\"javascript:void(0)\" onclick=\"openZ('/nwyj/page/business/public/FileEMInfo.jsp')\">ceshi</a>"
  846. $.messager.show(0,msg,"stay");
  847. $(".boxContent").html(msg);
  848. $("#message").css("position","fixed");
  849. //$.messager.show(0,msg);
  850. }
  851. function openZ(url){
  852. window.parent.parent.document.getElementById("frmright").setAttribute("src", url);
  853. $("#message_close").click();
  854. $("#message").hide();
  855. }
  856. function getDbMsg(msg){
  857. $("#daibanshu").text(msg);
  858. }
  859. function receiveMessage(){
  860. alert("已接收信息");
  861. }
  862. function openY(data){
  863. $("#frmright").attr("src",data);
  864. $(".messager-body").window('close');
  865. }
  866. // function dwrUpdateWarning(){
  867. // alert("通知单发布后,调用成功!")
  868. // }
  869. //记录选项卡个数
  870. var index = 0;
  871. //创建动态选项卡容器
  872. function createActiveTab(title,url){
  873. index++;
  874. if(activeTab){//如果有选项卡
  875. activeTab.add( {
  876. id :"tab_index"+index,
  877. title :title,
  878. url :url,
  879. isClosed :true
  880. });
  881. }else{
  882. $("#active_tab_menu").empty();
  883. $("#active_page").empty();
  884. $("#frmright").hide();
  885. activeTab = new TabView( {
  886. containerId :"active_tab_menu",
  887. pageid :"active_page",
  888. cid :"active_tab",
  889. position :"top"
  890. });
  891. index = 0;
  892. activeTab.add( {
  893. id :"tab_index"+index,
  894. title :title,
  895. url :url,
  896. isClosed :true
  897. });
  898. }
  899. //关闭标签事件
  900. $("body").bind("dynamicTabClose",function(e,tabId){
  901. //如果最后一个选项卡都关闭了
  902. if($("#active_page").find("iframe").length==0){
  903. $("#active_tab_menu").empty();
  904. $("#active_page").empty();
  905. activeTab = null;
  906. $("#frmright").show();
  907. if(typeof document.getElementById("frmright").contentWindow.setHight != "undefined"){//重置子页面高度
  908. document.getElementById("frmright").contentWindow.setHight();
  909. }
  910. }
  911. })
  912. //标签激活事件
  913. $("body").bind("dynamicTabActived",function(e,tabId){
  914. if(typeof document.getElementById("page_"+tabId).contentWindow.setHight != "undefined"){//重置子页面高度
  915. document.getElementById("page_"+tabId).contentWindow.setHight();
  916. }
  917. $("#frmright").hide();
  918. })
  919. }
  920. //手动调用方法关闭某动态选项卡,用途:某页面完成业务后跳转到主页面时
  921. function closeActive(url){
  922. if(activeTab){
  923. var id = "";
  924. var $ifrm = $("#active_page iframe");
  925. //通过循环查找到处于显示状态的选项卡id,获取序号拼成选项卡id
  926. for (var i = 0; i < $ifrm.length; i++) {
  927. if($ifrm.eq(i).css("display")!="none"){
  928. var iframe_id = $ifrm.eq(i).attr("id");
  929. var index = iframe_id.substring(iframe_id.length-2);
  930. id = "tab_index"+index;
  931. }
  932. }
  933. //关闭该选项卡
  934. activeTab.close(id);
  935. //隐藏其他选项卡
  936. $("#active_page iframe").hide();
  937. //主页面的iframe路径赋值
  938. $("#frmright").attr("src",url);
  939. $("#frmright").show();
  940. }
  941. }
  942. </script>
  943. </body>
  944. </html>