123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <%@page language="java" 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="../../../../include1.jsp" %>
- <!--数据表格end-->
- <style>
- .stepContainer{
- padding:5px 0 5px 0px;
- }
- .stepTable{
- border:0;
- margin:0 auto!important;
- }
- .stepTable td{
- border:0;
- }
- .setp_icon{
- width:100px;
- text-align:center;
- }
- .setp_arrow{
- width:100px;
- text-align:center;
- }
- .setp_text{
- text-align:center;
- font-size:14px;
- font-weight:bold;
- }
-
- </style>
- <!--引用资源文件,JS CSS-->
- <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/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/system/invoking/invoking.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/business/em/alert/warning/WarningHistory.js"></script>
- <script type="text/javascript">
- //部门id--预警范围用到
- var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
- //父部门id
- var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
- //预警范围下拉框的初始化
- var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
- //复选框全选
- $(function(){
- //var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
- //预警级别--常量表获取
- $('#CURRENT_EW_LEVEL_365').initCanstSelect('BM_WarningState');
- //预警性质--常量表获取
- $('#EARLY_WARNING_PROPERTY_365').initCanstSelect('BM_PROPERTY');
-
- //预警范围,发布单位下拉框
- var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
- var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
- $.post(deptUrl,{id:parentId,name:''},function(data){
- $("#EARLY_WARNING_AREA_ID_365").data("data",data);
- $("#EARLY_WARNING_AREA_ID_365").render();
- $("#RELEASE_UNIT_365").data("data",data);
- $("#RELEASE_UNIT_365").render();
- }, "json");
-
- //发布状态复选框全选方法
- /* $("#checkAll").click(function(){
- $("input[name='CHECK_STATUS_365']").attr("checked",this.checked);
- });
- var $CHECK_STATUS = $("input[name='CHECK_STATUS_365']");
- $CHECK_STATUS.click(function(){
- $("#checkAll").attr("checked",$CHECK_STATUS.length == $("input[name='CHECK_STATUS_365']:checked").length ? true : false);
- }); */
- });
-
- $(function(){
- //根据json生成更多筛选条件ul-li列表
- createConditionsDom(conditionData);
- //ul-li列表点击事件
- //$(".condiTitle").unbind("click",bindSelectOne);
- $(".item").unbind("click").bind("click",bindSelectOne);
- //输入框绑定事件
- $(".Textinput").bind("change",inputChange);
- });
- var conditionData = {"list":[
- {"name":"预警级别","className":"CURRENT_EW_LEVEL","list":[
- {"key":"全部","value":"0000"},{"key":"红色预警","value":"35"},{"key":"橙色预警","value":"36"},{"key":"黄色预警","value":"37"},{"key":"蓝色预警","value":"38"}
- ]},
-
- {"name":"预警性质","className":"EARLY_WARNING_PROPERTY","list":[
- {"key":"全部","value":"0000"},{"key":"初次发布","value":"49"},{"key":"调整","value":"50"},{"key":"解除","value":"51"}
- ]}
-
- ]};
-
-
-
-
- </script>
- </head>
- <body >
- <div class="box2" panelTitle="" id="searchPanel" statusType="none" style="margin:10px 0">
- <fieldset>
- <form id="queryForm" method="post">
- <table id="table" style="width:100%;">
- <tr>
- <td width="80%">
- <input class="validate[length[0,16]]" type="text" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365" watermark=" 预 警 名 称" clearable="true" width="300px"/>
- <!-- <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><!-- <span id="more" class="icon_more"> </span> -->
- </tr>
- </table>
- <div id="moreDiv" style="display: none;">
- <!-- 可选条件,改div作为容器,需保留 -->
- <div class="conditions" id="conditions">
- <ul>
- <li class="condiTitle">预警编号:</li>
- <li><input type="text" class="Textinput" id="EARLY_WARNING_ID_365" name="EARLY_WARNING_ID"/></li>
- </ul>
- <ul>
- <li class="condiTitle">发布时间:</li>
- <li><input readonly="readonly" type="text" class="date" name="RELEASE_RELIEVE_DATE" id="START_RELEASE_RELIEVE_DATE_365"/> ~
- <input readonly="readonly" type="text" class="date" name="RELEASE_RELIEVE_DATE" id="END_RELEASE_RELIEVE_DATE_365"/></li>
- </ul>
-
-
- <!-- <tr><td>预警编号:</td>
- <td><input id="EARLY_WARNING_ID_365" name="EARLY_WARNING_ID_365" style="width:194px" type="text"/></td></tr>
- <tr><td>预警级别:</td>
- <td><select id="CURRENT_EW_LEVEL_365" name="CURRENT_EW_LEVEL_365" prompt="请选择"></select></td></tr>
- <tr><td>预警性质:</td>
- <td><select id="EARLY_WARNING_PROPERTY_365" name="EARLY_WARNING_PROPERTY_365" prompt="请选择" ></select></td></tr>
- <tr><td>预警范围XXXXXXX:</td>
- <td><div class="selectTree" id="EARLY_WARNING_AREA_ID_365" name="EARLY_WARNING_AREA_ID_365" multiMode="true" noGroup="true"></div></td></tr>
- <tr><td>发布单位XXXXXXX:</td>
- <td><div class="selectTree" id="RELEASE_UNIT_365" name="RELEASE_UNIT_365" multiMode="true" noGroup="true"></div></td></tr>
- <tr><td align="right">发布时间:</td>
- <td><input id="START_RELEASE_RELIEVE_DATE_365" name="RELEASE_RELIEVE_DATE_365" style="width:194px" type="text" class="date"/></td>
- <td>到</td>
- <td><input id="END_RELEASE_RELIEVE_DATE_365" name="RELEASE_RELIEVE_DATE_365" style="width:194px" type="text" class="date"/>
- </td></tr> -->
- </div>
- </div>
- </form>
- </fieldset>
- </div>
- <div class="padding_right5">
- <div id="dataGrid"></div>
- </div>
-
- </body>
- </html>
|