123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <%@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/common/searchUtil.js"></script>
- <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
-
- <script type="text/javascript" src="/nwyj/scripts/business/em/response/tranfer/TranferManager1SS.js"></script>
- <script type="text/javascript">
- var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
- var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
-
- var conditionData = {"list":[
- /* {"name":"临时场所类型:","className":"PLACE_TYPES","list":[
- {"key":"全部","value":"0000"},{"key":"临时安置点","value":"18"},{"key":"指挥部","value":"19"},{"key":"医疗救护点","value":"20"},{"key":"其他","value":"21"}
- ]} */
- ]};
- function initComplete(){
- //获取当前主题风格,用于设置日期控件的皮肤
- try {
- dateSkin=themeColor;
- }
- catch(e){}
-
- //自定义点击触发日期控件
- document.getElementById('startTime').onfocus=function(){
- var endtimeTf=$dp.$('endTime');
- WdatePicker({
- skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endTime\')}'
- });
- };
- document.getElementById('endTime').onfocus=function(){
- //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
- WdatePicker({skin:dateSkin/* ,maxDate:'%y-%M-%d' */,minDate:'#F{$dp.$D(\'startTime\')}'});
- };
-
- }
-
- $(function(){
-
- //根据json生成更多筛选条件ul-li列表
- getChildInfo(conditionData);//-----------------------------------------查询里面的单位
- //输入框绑定事件
- //$(".Textinput").bind("change",inputChange);
- });
- function getChildInfo(conditionData){//-----------------------------------------查询里面的单位
- var url = $.pathname() + '/ws/PlanHuiZong/ContingencyPlanHuiZong/getChidInfo/';
- var params = {
- id : deptId,
- parentID:parentId
- };
- $.ajax({
- url : url,
- type : 'post',
- data : params,
- dataType : 'json',
- 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 = "DEPT";
- test.dept.list[0].equalType = "equal";
- //test.dept.list[0].selectType = "selectOnly";
- test.dept.list[0].list.splice(0,1,{"key":"本部门","value":deptId});
- var parentName = test.parent.list[0].list[0].key;
- /* if(parentName!=""){
- test.dept.list[0].list.splice(1,0,{"key":parentName,"value":parentId});
- } */
- conditionData.list.push(test.dept.list[0]);
- }
- createConditionsDom(conditionData);
- },
- error : function(e){
- $.messager.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
- </script>
- </head>
- <body>
- <div class="box2" panelTitle="" id="searchPanel" statusType="none" style="margin:10px 0">
- <fieldset>
- <form id="queryForm" method="post">
-
- <table style="width:100%;">
- <tr>
- <td width="80%">
- <input type="text" name="RELIEVED_MAN_361" id="RELIEVED_MAN_361" 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" style="display: none;">
- <!-- 可选条件,改div作为容器,需保留 -->
- <div class="conditions" id="conditions">
- <ul>
- <li class="condiTitle">接班人:</li>
- <li><input class="Textinput" id="SUCCEED_MAN" name="SUCCEED_MAN" style="width:194px" type="text"/></li></ul>
- <ul>
- <li class="condiTitle">响应行动情况:</li>
- <li><input class="Textinput" id="EW_ACTION_SITUATION" name="EW_ACTION_SITUATION" style="width:194px" type="text"/></li></ul>
- <ul>
- <li class="condiTitle">交接班时间:</li>
- <li><input readonly="readonly" type="text" class="dateIcon beginTime" name="RELIEVED_TIME" id="startTime"/> ~
- <input readonly="readonly" type="text" class="dateIcon endTime" name="RELIEVED_TIME" id="endTime"/></li></ul>
- </div>
- </div>
- <!-- <table id="moreTable">
- <tr><td align="right">接班人:</td>
- <td><input type="text" name="SUCCEED_MAN_361" id="SUCCEED_MAN_361"/></td></tr>
- <tr><td align="right">响应行动情况:</td>
- <td><input type="text" name="EW_ACTION_SITUATION_361" id="EW_ACTION_SITUATION_361"/></td></tr>
- <tr><td align="right">交接班时间:</td>
- <td><input type="text" readonly="readonly" maxlength="26" class="date" name="RELIEVED_TIME_361" id="START_RELIEVED_TIME_361" />到
- <input type="text" readonly="readonly" maxlength="26" class="date" name="RELIEVED_TIME_361" id="END_RELIEVED_TIME_361" /></td></tr>
- </table> -->
- </form>
- </fieldset>
- </div>
- <div class="adding_right5"><div id="dataGrid"></div>
- </div>
- </body>
- </html>
|