1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <%@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" %>
- <!--引用资源文件,JS 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/business/em/alert/report/reportInput/ReportInput.js"></script>
- <!-- 综合查询查询筛选过滤 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"/>
- <!-- 综合查询查询筛选过滤 js css -->
- <script type="text/javascript">
-
- var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
- var conditionData={"list":[
- {"name":"发布状态","className":"IS_RELEASE","list":[
- {"key":"全部","value":"0000"},{"key":"未发布","value":"0"},{"key":"已发布","value":"1"}
- ]},
- {"name":"上报状态","className":"OPR_STATE","list":[
- {"key":"全部","value":"0000"},{"key":"未上报","value":"0"},{"key":"已上报","value":"1"}
- ]}
- ]};
- function getChildInfo(conditionData){
- var url = $.pathname() + '/ws/PlanHuiZong/ContingencyPlanHuiZong/getChidInfo/';
- var params = {
- id : deptId,
- };
- $.ajax({
- url : url,
- type : 'post',
- data : params,
- dataType : 'json',
- async:false,
- success : function(data){
- conditionData2 = JSON.stringify(data);
- conditionData2 = conditionData2.replace(/\\\"/g,"\"");
- conditionData2 = conditionData2.replace(/\"{/g,"{");
- conditionData2 = conditionData2.replace(/}\"/g,"}");
- var test = eval("("+conditionData2+")");
- if(conditionData2!='{"list":[{"name":"查询单位","className":"UNITS","list":[]}]}'){
- test.dept.list[0].name="填报单位";
- test.dept.list[0].className = "INPUT_UNIT";
- test.dept.list[0].equalType = "equal";
- test.dept.list[0].list.splice(1,0,{"key":"本单位","value":deptId});
- conditionData.list.push(test.dept.list[0]);
- }
- createConditionsDom(conditionData);
- },
- error : function(e){
- $.messager.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
-
- $(function(){
- getChildInfo(conditionData)
- //根据json生成综合查询筛选条件ul-li列表
- //createConditionsDom(dataJson);
- });
- </script>
- </head>
- <body>
- <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0" >
- <fieldset>
- <form id="queryForm" method="post">
- <input id="hiddenText" type="text" style="display:none" />
- <div class="starSearch">
- <table style="width:100%;">
- <tr>
- <td width="80%">
- <input type="text" name="REPORT_NAME_321" id="REPORT_NAME_321" watermark="报告名称" width="300px"/>
- <a id="searchOne"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
- </td>
- <td width="20%" align="right"><a href="javascript:;"><span class="more_hide" id="more">综合查询</span></a></td>
- </tr>
- </table>
- </div>
- <div id="moreDiv" style="display: none;">
- <!-- 可选条件,该div作为容器,需保留 -->
- <div class="conditions" id="conditions">
-
- </div>
- </div>
- </form>
- </fieldset>
- </div>
- <div class="padding_right5">
- <div id="dataGrid" style="border: 1px #ccc solid"></div>
- </div>
- </body>
- </html>
|