123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
- <!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>
- <%@include file="/page/include1.jsp" %>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/system/invoking/invoking.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
- <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="<%=path%>/scripts/business/em/monitor/responseReceive/GovResponseReceiveManager.js"></script>
- <script type="text/javascript">
- // 部门id
- var dpids = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
- var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
- var conditionData = {"list":[
- {"name":"响应类别","className":"RESPONSE_NAME","list":[
- {"key":"全部","value":"0000"},{"key":"防风防汛","value":"311"},{"key":"地震灾害","value":"312"},{"key":"低温雨雪冰冻灾害","value":"313"},
- {"key":"人身事故","value":"314"},{"key":"大面积停电事件","value":"315"},{"key":"设备事故","value":"316"},{"key":"电厂大坝厂房事故","value":"317"},{"key":"环境污染","value":"318"},
- {"key":"突发公共卫生","value":"319"},{"key":"电厂供应及客户服务","value":"320"},{"key":"生产场所防恐怖袭击","value":"321"},{"key":"突发性群体事件","value":"322"}
- ,{"key":"突发新闻事件","value":"323"},{"key":"涉外突发事件","value":"324"},{"key":"网络与信息安全","value":"325"}
- ]},
- {"name":"响应级别","className":"RESPONSE_LEVEL","list":[
- {"key":"全部","value":"0000"},{"key":"I级","value":"29"},{"key":"II级","value":"30"},{"key":"III级","value":"31"},{"key":"IV级","value":"32"}
- ]},//29I级,30II级,31III级,32IV级
- {"name":"响应性质","className":"EARLY_WARNING_PROPERTY","list":[
- {"key":"全部","value":"0000"},{"key":"初次发布","value":"49"},{"key":"调整","value":"50"},{"key":"解除","value":"51"}
- ]},
- {"name":"响应状态","className":"RESPONSE_STATUS","list":[
- {"key":"全部","value":"0000"},{"key":"发布","value":"33"},{"key":"解除","value":"34"}
- ]}//33发布,34解除
- ]};
-
- var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
- var userDeptId_inner = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
- var setting;
- var loadCorp = "";
- var g;
- var setloadtype_in=["deptId", userDeptId_inner,"type","","loadCorp",loadCorp];
-
- $(function(){
- $('#moreTable').hide();//默认隐藏更多的查询条件
- createConditionsDom(conditionData);
- });
-
- $(function(){
- /* 初始化页面布局 */
- var layout = $("#layout1").layout({
- leftWidth : 250,
- space : 10,
- onEndResize : function() {
- g.resetWidth();
- }
- });
-
-
- setting = {
- view : {
- selectedMulti : false
- },async : {
- enable : true,
- dataType : 'JSON',
- dataName : 'treeNodes',
- aysnc : false,
- //url : getAsyncUrl,
- url : getAsyncUrl1,
- autoParam : [ "id", "name", "orgLevel" ],
- otherParam : setloadtype_in
- },callback: {
- onClick:zTreeSelect,
- onAsyncSuccess:checkAndSetHeight,//changeFormat.js
- onExpand:checkAndSetHeight
- }
- };
-
- $.fn.zTree.init($("#treeDept-gzfw"), setting);
- });
-
-
- var isAdd = false;
- function getAsyncUrl(treeId, treeNode) {
- return isAdd ? $.pathname() + "/ws/OrganizationsService/OrganizationsService/addOrgInfoById?targetOrg=" + targetOrg
- : $.pathname() + "/ws/OrganizationsService/OrganizationsService/loadSysOrgInfo2";
- };
- function getAsyncUrl1(treeId, treeNode) {
- return $.pathname() + "/ws/OrganizationsService/OrganizationsService/getUnitTree";//包含上级单位
- };
-
- var zTree,node,tab;
- var zTreeCompId = "";
- var zTreeINS_UNITS = "";
- //点击树节点page/system/department/UserInfoEdit.jsp
- function zTreeSelect(event,treeId,treeNode) {
- //init(treeNode.id);
- zTreeCompId = treeNode.id;
- zTreeINS_UNITS=treeNode.orgLevel;
- var getUser_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id()+"";
- var CorpArea = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
- var personId = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
- var condition = "";
- //if(treeNode.orgLevel=="null"){
- if(true){
- //condition = "IS_DEL='0' and (PLAN_STAT='1' or PLAN_STAT1='1' or REMARK1='"+ getUser_id +"') and INS_UNITS='"+treeNode.id+"'";
- //只需要显示某单位下的通知单即可
- condition = " is_del=0 and WRITE_UNIT='"+treeNode.id+"'";
- }else{
- //condition = "IS_DEL='0' and (PLAN_STAT='1' or PLAN_STAT1='1' or REMARK1='"+ getUser_id +"') and UNITS='"+treeNode.id+"'";
- }
- g.setOptions({//重置加载列表的参数
- params : {
- "listId" : "370",
- "condition" : condition,
- direction : "DESC",
- sort: "UPDATEDATE"
- }
- });
-
- g.rend();
- }
- </script>
- </head>
- <body >
- <div id="layout1">
- <!-- 左边的单位树end -->
- <div position="left" id="hztitle" style="margin-right:10px;">
- <div class="layout_content">
- <ul id="treeDept-gzfw" class="ztree"></ul>
- </div>
- </div>
- <!-- 左边的单位树end -->
-
- <div class="plan_detail" id="plan_detail" position="center">
- <div class="box2" panelTitle="" id="searchPanel" statusType="none" style="margin:10px 0">
- <fieldset>
- <form id="queryForm" method="post">
- <input type="text" style="display: none"/>
- <table style="width:100%;">
- <tr>
- <td width="80%"><input type="text" id="RELEASE_UNIT_370" name="RELEASE_UNIT_370" maxlength="15" watermark=" 发 布 单 位">
- <!-- <button id='searchButt' type="button"><span class="icon_find">查询</span></button> -->
- <a id="searchButt"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
- </td>
- <td width="20%" align="right"><a href="javascript:;"><span id="more" class="more_hide">综合查询</span></a></td>
- </tr>
- </table>
- <div id="moreTable">
- <!-- 可选条件,改div作为容器,需保留 -->
- <div class="conditions" id="conditions">
- <!-- <ul>
- <li class="condiTitle">发布时间:</li>
- <li><input readonly="readonly" type="text" class="date" name="RELEASE_DATE" id="beginTime"/> ~
- <input readonly="readonly" type="text" class="date" name="RELEASE_DATE" id="endTime"/></li>
- </ul> -->
- <!-- <tr>
- <td align="right">响应类别:</td>
- <td><select prompt="请选择" name="RESPONSE_NAME_370" id="RESPONSE_NAME_370"></select></td>
- </tr>
- <tr>
- <td align="right">响应级别:</td>
- <td><select prompt="请选择" name="RESPONSE_LEVEL_370" id="RESPONSE_LEVEL_370"></select></td>
- </tr>
- <tr>
- <td align="right">发布时间:</td>
- <td><input readonly="readonly" name="RELEASE_DATE" id="START_RELEASE_DATE_370" style="width:194px" type="text" maxlength="26" class="date" /> 到
- <input name="RELEASE_DATE" id="END_RELEASE_DATE_370" readonly="readonly" style="width:194px" type="text" maxlength="26" class="date" /></td>
- </tr> -->
- </div>
- </div>
- </form>
- </fieldset>
- </div>
-
- <div class="adding_right5">
- <div id="dataGrid"></div>
- </div>
- </div>
-
- </div>
- </body>
- </html>
|