2fdda56ad1bc4b57e2201d5daa3147769d84c9d2.svn-base 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>内部联系人列表</title>
  6. <!--框架必需start-->
  7. <link rel="stylesheet" type="text/css"
  8. href="/nwyj/scripts/qui/libs/css/import_basic.css" />
  9. <link rel="stylesheet" type="text/css" id="skin"
  10. prePath="/nwyj/scripts/qui/" scrollerY="false" />
  11. <link rel="stylesheet" type="text/css" id="customSkin" />
  12. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style.css"
  13. rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
  14. positionTarget="positionContent" />
  15. <link href="/nwyj/scripts/qui/system/layout/skin/style.css"
  16. rel="stylesheet" type="text/css" id="skin"
  17. skinPath="/scripts/qui/system/layout/skin/" />
  18. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  19. <script type="text/javascript"
  20. src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  21. <script type="text/javascript"
  22. src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  23. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
  24. <!--框架必需end-->
  25. <!--数据表格start-->
  26. <script type="text/javascript"
  27. src="/nwyj/scripts/qui/libs/js/table/quiGrid.js"></script>
  28. <!--数据表格end-->
  29. <!--弹窗组件start-->
  30. <script type="text/javascript"
  31. src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
  32. <script type="text/javascript"
  33. src="/nwyj/scripts/qui/libs/js/popup/drag.js"></script>
  34. <script type="text/javascript"
  35. src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
  36. <!--弹窗组件end-->
  37. <!--上传附件start-->
  38. <script type="text/javascript"
  39. src="/nwyj/scripts/qui/libs/js/form/upload/fileUpload.js"></script>
  40. <script type="text/javascript"
  41. src="/nwyj/scripts/qui/libs/js/form/upload/handlers.js"></script>
  42. <!-- 上传附件end -->
  43. <!--分隔条start-->
  44. <script type="text/javascript"
  45. src="/nwyj/scripts/qui/libs/js/nav/spliter.js"></script>
  46. <!--分隔条end-->
  47. <!-- 扩展工具js -->
  48. <script type="text/javascript"
  49. src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
  50. <script type="text/javascript"
  51. src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  52. <script type="text/javascript"
  53. src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
  54. <script type="text/javascript"
  55. src="/nwyj/scripts/freamwork/com/sinosoft/common/DateUtil.js"></script>
  56. <script type="text/javascript"
  57. src="/nwyj/scripts/commom/common/common.js"></script>
  58. <!--浮动面板start-->
  59. <script type="text/javascript"
  60. src="/nwyj/scripts/qui/libs/js/popup/floatPanel.js"></script>
  61. <!--浮动面板end-->
  62. </head>
  63. <body style="width:99%;height:99%;overflow:auto;">
  64. <div class="box1" id="formContent"
  65. style="overflow:auto;height:99%;border: 1px solid #E4E4E4;background: #F8F8F8;">
  66. <div style="height: 50px;background: #F8F8F8;" align="center">
  67. <img align="left" alt="返回" title="返回" src="/nwyj/images/temp/back.png" id="back">
  68. </img>
  69. <font style="font-weight: bold;font-size: 20px;line-height: 45px;" id="titleShow"></font></div>
  70. <div><div id="maingrid"></div></div></div>
  71. </body>
  72. <script type="text/javascript">
  73. //记录当前点进来的机构信息
  74. var OrgIdInfo;
  75. //数据表格
  76. var g;
  77. var myCols = [ {
  78. display : '所属单位',
  79. "name" : 'name',
  80. id : 'name',
  81. width : 250,
  82. dept_id:'dept_id',
  83. align : 'center',
  84. },{
  85. display: '应急类别(人)',
  86. columns: [
  87. { display: '人身事故', name: 'LifeAcc', minWidth: 60,width:80 },
  88. { display: '电网事故', name: 'PowerNetWorkAcc', minWidth: 60,width:80 },
  89. { display: '设备事故', name: 'WindFloodAcc', minWidth: 60,width:80 },
  90. { display: '防风防汛', name: 'EquipmentAcc', minWidth: 60,width:80 },
  91. { display: '其他', name: 'ElseAcc', minWidth: 60,width:80 },
  92. { display: '总计', name: 'AccNum', minWidth: 60,width:80 }]
  93. },{
  94. display: '应急角色(人)',
  95. columns: [
  96. { display: '总指挥', name: 'GeneralDirector', minWidth: 60,width:80 },
  97. { display: '副总指挥', name: 'DetupyDirector', minWidth: 60,width:80 },
  98. { display: '主任', name: 'Chairman', minWidth: 60,width:80 },
  99. { display: '副主任', name: 'DetupyChairman', minWidth: 60,width:80 },
  100. { display: '成员', name: 'Member', minWidth: 60,width:80 },
  101. { display: '管理人员', name: 'Administrator', minWidth: 60,width:80 },
  102. { display: '总计', name: 'EmergencyRoleNum', minWidth: 60,width:80 }]
  103. }];
  104. function initComplete(){
  105. $("#back").click(function(){
  106. goBack();
  107. });
  108. $("#titleShow").html("统计内部机构信息");
  109. var deptId;
  110. var iframeUrl = window.location.href;
  111. if (iframeUrl.indexOf('?') > -1) {
  112. deptId = (iframeUrl).split('?')[1];
  113. OrgIdInfo =(iframeUrl).split('?')[2];
  114. }
  115. //alert(deptId);
  116. g = $("#maingrid").quiGrid({
  117. columns: [
  118. { display: '内部联系人信息汇总', columns: myCols, width: "100%"}
  119. ],
  120. url : $.pathname() + '/ws/orgInDeptService/OrgInDeptService/InlinkNumInit',
  121. params : {
  122. id : deptId
  123. },
  124. rownumbers : true,
  125. height : '100%',
  126. width : "100%",
  127. usePager : false,
  128. autoCheckChildren : true,
  129. tree : {
  130. columnId : 'name'
  131. },
  132. treeAjax : true,
  133. treeChildDataPath : $.pathname() + '/ws/orgInDeptService/OrgInDeptService/getInlinkNum?deptId=',
  134. treeAutoParam:"dept_id"
  135. /* otherParam: ["id", "deptId"] */
  136. });
  137. }
  138. function goBack(){
  139. var iframe = parent.document.getElementsByName("frmrightChild")[0];
  140. iframe.src = "inlinklist.html";
  141. }
  142. </script>
  143. </html>