frameWork.html 25 KB

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