123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <!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>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>内部联系人列表</title>
- <!--框架必需start-->
- <link rel="stylesheet" type="text/css"
- href="/nwyj/scripts/qui/libs/css/import_basic.css" />
- <link rel="stylesheet" type="text/css" id="skin"
- prePath="/nwyj/scripts/qui/" scrollerY="false" />
- <link rel="stylesheet" type="text/css" id="customSkin" />
- <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style.css"
- rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
- positionTarget="positionContent" />
- <link href="/nwyj/scripts/qui/system/layout/skin/style.css"
- rel="stylesheet" type="text/css" id="skin"
- skinPath="/scripts/qui/system/layout/skin/" />
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
- <script type="text/javascript"
- src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
- <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>
- <!--框架必需end-->
- <!--数据表格start-->
- <script type="text/javascript"
- src="/nwyj/scripts/qui/libs/js/table/quiGrid.js"></script>
- <!--数据表格end-->
- <!--弹窗组件start-->
- <script type="text/javascript"
- src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
- <script type="text/javascript"
- src="/nwyj/scripts/qui/libs/js/popup/drag.js"></script>
- <script type="text/javascript"
- src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
- <!--弹窗组件end-->
- <!--上传附件start-->
- <script type="text/javascript"
- src="/nwyj/scripts/qui/libs/js/form/upload/fileUpload.js"></script>
- <script type="text/javascript"
- src="/nwyj/scripts/qui/libs/js/form/upload/handlers.js"></script>
- <!-- 上传附件end -->
- <!--分隔条start-->
- <script type="text/javascript"
- src="/nwyj/scripts/qui/libs/js/nav/spliter.js"></script>
- <!--分隔条end-->
- <!-- 扩展工具js -->
- <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/utils/Request.js"></script>
- <script type="text/javascript"
- src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript"
- src="/nwyj/scripts/freamwork/com/sinosoft/common/DateUtil.js"></script>
- <script type="text/javascript"
- src="/nwyj/scripts/commom/common/common.js"></script>
- <!--浮动面板start-->
- <script type="text/javascript"
- src="/nwyj/scripts/qui/libs/js/popup/floatPanel.js"></script>
- <!--浮动面板end-->
- </head>
- <body style="width:99%;height:99%;overflow:auto;">
- <div class="box1" id="formContent"
- style="overflow:auto;height:99%;border: 1px solid #E4E4E4;background: #F8F8F8;">
- <div style="height: 50px;background: #F8F8F8;" align="center">
- <img align="left" alt="返回" title="返回" src="/nwyj/images/temp/back.png" id="back">
- </img>
- <font style="font-weight: bold;font-size: 20px;line-height: 45px;" id="titleShow"></font></div>
- <div><div id="maingrid"></div></div></div>
- </body>
- <script type="text/javascript">
- //记录当前点进来的机构信息
- var OrgIdInfo;
- //数据表格
- var g;
- var myCols = [ {
- display : '所属单位',
- "name" : 'name',
- id : 'name',
- width : 250,
- dept_id:'dept_id',
- align : 'center',
- },{
- display: '应急类别(人)',
- columns: [
- { display: '人身事故', name: 'LifeAcc', minWidth: 60,width:80 },
- { display: '电网事故', name: 'PowerNetWorkAcc', minWidth: 60,width:80 },
- { display: '设备事故', name: 'WindFloodAcc', minWidth: 60,width:80 },
- { display: '防风防汛', name: 'EquipmentAcc', minWidth: 60,width:80 },
- { display: '其他', name: 'ElseAcc', minWidth: 60,width:80 },
- { display: '总计', name: 'AccNum', minWidth: 60,width:80 }]
- },{
- display: '应急角色(人)',
- columns: [
- { display: '总指挥', name: 'GeneralDirector', minWidth: 60,width:80 },
- { display: '副总指挥', name: 'DetupyDirector', minWidth: 60,width:80 },
- { display: '主任', name: 'Chairman', minWidth: 60,width:80 },
- { display: '副主任', name: 'DetupyChairman', minWidth: 60,width:80 },
- { display: '成员', name: 'Member', minWidth: 60,width:80 },
- { display: '管理人员', name: 'Administrator', minWidth: 60,width:80 },
- { display: '总计', name: 'EmergencyRoleNum', minWidth: 60,width:80 }]
- }];
-
- function initComplete(){
- $("#back").click(function(){
- goBack();
-
- });
- $("#titleShow").html("统计内部机构信息");
- var deptId;
- var iframeUrl = window.location.href;
- if (iframeUrl.indexOf('?') > -1) {
- deptId = (iframeUrl).split('?')[1];
- OrgIdInfo =(iframeUrl).split('?')[2];
- }
- //alert(deptId);
-
- g = $("#maingrid").quiGrid({
- columns: [
- { display: '内部联系人信息汇总', columns: myCols, width: "100%"}
- ],
- url : $.pathname() + '/ws/orgInDeptService/OrgInDeptService/InlinkNumInit',
- params : {
- id : deptId
- },
- rownumbers : true,
- height : '100%',
- width : "100%",
- usePager : false,
- autoCheckChildren : true,
- tree : {
- columnId : 'name'
- },
- treeAjax : true,
- treeChildDataPath : $.pathname() + '/ws/orgInDeptService/OrgInDeptService/getInlinkNum?deptId=',
- treeAutoParam:"dept_id"
- /* otherParam: ["id", "deptId"] */
- });
- }
- function goBack(){
- var iframe = parent.document.getElementsByName("frmrightChild")[0];
- iframe.src = "inlinklist.html";
- }
- </script>
- </html>
|