123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <%@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" />
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
- <title></title>
- <%@include file="../../../../include.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/business/he/common/common.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
- <link href="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="<%=path%>/scripts/business/em/response/emergencyResponse/WarningView.js"></script>
- <script type="text/javascript">
- var fd_id = "<%=request.getParameter("fd_id")%>";
- $(function(){
- //页面初始化
- $(function(){
- //查看表单
- if(fd_id.length>0){
- $(".titleShow").text("响应启动通知单");
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '365',
- objectID : fd_id
- };
- getFileList(fd_id,0);
- $.request.query(url,params,function(data){
- // 加载数据,(div显示)
- $("#CURRENT_ER_LEVEL_365").html(data.CURRENT_ER_LEVEL_365_SHOW);//显示本次响应级别
- $("#PREV_ER_LEVEL_365").html(data.PREV_ER_LEVEL_365_SHOW);//显示上次响应级别
- $("#EARLY_WARNING_NAME_365").html(data.EARLY_WARNING_NAME_365);//响应名称
- $("#RELEASE_RELIEVE_DATE_365").html(data.RELEASE_RELIEVE_DATE_365);//发布时间
- $("#EARLY_WARNING_ID_365").html(data.EARLY_WARNING_ID_365);//响应编号
- $("#EARLY_WARNING_AREA_NAME_365").html(data.EARLY_WARNING_AREA_NAME_365);//响应范围
- $("#MEET_EMERGENCIES_PLAN_365_SHOW").html(data.MEET_EMERGENCIES_PLAN_365_SHOW);//应急预案
- $("#EW_SUMMARY_365").html(data.EW_SUMMARY_365);//响应概要
- $("#MEASURE_AND_REQUEST_365").html(data.MEASURE_AND_REQUEST_365);//预防措施及工作要求
- $("#REMARK_365").html(data.REMARK_365);//备注
- $("#RELEASE_UNIT_365").text(data.RELEASE_UNIT_365_SHOW);//发布单位
- $("#WRITER_365").text(data.WRITER_365);//填报人
- $("#PREV_EW_ID").text(data.PREV_EW_ID_365);//上次响应单号
- if(data.WETHER_EW_ADJUST_365 == 1){//是否响应调整 0非响应调整1、是响应(响应性质)
- $("#WETHER_EW_ADJUST").attr("checked","checked");
- }
- if(data.EARLY_WARNING_PROPERTY_365 == 49){//如果响应性质 == 49(49为初次发布,50为非初次发布,51为调账)
- $("#WARNING_PROPERTY").attr("checked","checked");
- };
- $('#showForm1').ajaxWrite({data:data});
- $("#showForm2").ajaxWrite({data:data});
-
-
- if(data.EARLY_WARNING_PROPERTY_365 == 51){//如果响应性质 == 51(49为初次发布,50为非初次发布,51为调账)
- $(".titleShow").text("响应解除通知单");
- $("#showForm2").show();
- $('#showForm1').hide();
- $("#EARLY_WARNING_NAME").html(data.EARLY_WARNING_NAME_365);//响应名称
- $("#EARLY_WARNING_ID").html(data.EARLY_WARNING_ID_365);//响应编号
- $("#RELEASE_RELIEVE_DATE").html(data.RELEASE_RELIEVE_DATE_365);//解除时间
- $("#EARLY_WARNING_AREA_NAME").html(data.EARLY_WARNING_AREA_NAME_365);//解除范围
- $("#EW_SUMMARY").html(data.EW_SUMMARY_365);//响应概要
- $("#MEASURE_AND_REQUEST").html(data.MEASURE_AND_REQUEST_365);//预防措施及工作要求
- $("#REMARK").html(data.REMARK_365);//备注
- };
- });
- }
- });
- });
- //加载表单1(非解除的)数据
- function showForm1(){};
- //加载表单2(解除的)数据
- function showForm2(){};
- </script>
- </head>
- <body style="height: 645px;">
- <div class="box1" id="formContent" style="overflow:auto;height:545px;border: 1px solid #E4E4E4;background: #F8F8F8;">
- <div style="height: 50px;background: #F8F8F8;" align="center"><font style="font-weight: bold;font-size: 20px;line-height: 45px;" class="titleShow"></font></div>
- <!-- <div align="center"><font style="font-weight: bold;font-size: 30px;line-height: 45px;" color="red" id="" class="titleShow"></font></div> -->
- <table style="width: 85%;padding-left: 10px;padding-right: 10px;">
- <tr>
- <td align="left"><div style="float:left"> 发布单位:</div><div style="float:left" id="RELEASE_UNIT_365"></div><!-- <label id="unitId"></label> --></td>
- <td align="right">签发人:<label id="WRITER_365"> </label> </td>
- </tr>
- </table>
- <!-- 非解除的详细信息 -->
- <form id="showForm1">
- <table class="tableStyle" style="width: 85%;" align="center">
- <tr>
- <td width="25%" align="right">响应名称:</td>
- <td width="85%" colspan="2"><div style="width: 97%" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365"></div></td>
- <!-- <td width="85%" colspan="2"><input type="text" readonly="readonly" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365" style="width: 97%;"/></td>文本框形式,但是是只读 -->
- <!-- <td width="85%" colspan="2"><input type="text" disabled="disabled" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365" style="width: 97%;"/></td> -->
- </tr>
- <tr>
- <td width="15%" align="right">发布时间:</td>
- <td width="85%" colspan="2"><div style="width: 97%" id="RELEASE_RELIEVE_DATE_365" name="RELEASE_RELIEVE_DATE_365"></div></td>
- <!-- <td width="85%" colspan="2"><input style="width: 97%" disabled="disabled" type="text" id="RELEASE_RELIEVE_DATE_365"name="RELEASE_RELIEVE_DATE_365" class="date validate[required]" dateFmt="yyyy-MM-dd HH:mm:ss"/></td> -->
- </tr>
- <tr>
- <td width="15%" align="right">响应编号:</td>
- <td width="85%" colspan="2"><div style="width: 97%" name="EARLY_WARNING_ID_365" id="EARLY_WARNING_ID_365"></div></td>
- </tr>
- <tr>
- <td width="15%" align="right">响应范围:</td>
- <td width="85%" colspan="2"><div style="width: 97%" id="EARLY_WARNING_AREA_NAME_365" name="EARLY_WARNING_AREA_NAME_365" readonly="readonly"></div></td>
- </tr>
- <!-- <tr>
- <td width="15%" align="right">响应范围:</td>
- <td width="85%" colspan="2"><div class="selectTree" disabled="disabled" id="EARLY_WARNING_AREA_ID_365" name="EARLY_WARNING_AREA_ID_365" multiMode="true" noGroup="true" selWidth="720"></div></td>
- </tr> -->
- <tr>
- <td align="right">响应性质:</td>
- <td ><input type="checkbox" id="WARNING_PROPERTY" disabled="disabled"/>初次发布</td>
- <td>响应调整:<input type="checkbox" disabled="disabled" id="WETHER_EW_ADJUST"/>响应调整<br/>上次响应单号:(<label id="PREV_EW_ID"></label>)</td>
- </tr>
- <tr>
- <td align="right">响应级别:</td>
- <td><div style="float:left"><label> 本次:</label></div><div style="float:left"><div style="width: 100%" name="CURRENT_ER_LEVEL_365" id="CURRENT_ER_LEVEL_365"></div></div></td>
- <td><div style="float:left"><label> 上次:</label></div><div style="float:left"><div style="width: 100%" id="PREV_ER_LEVEL_365" name="PREV_ER_LEVEL_365"></div></div></td>
- </tr>
- <tr>
- <td width="15%" align="right">应急预案:</td>
- <td width="85%" colspan="2"><div name="MEET_EMERGENCIES_PLAN_365_SHOW" id="MEET_EMERGENCIES_PLAN_365_SHOW" style="width: 97%"></div></td>
- <!-- <td width="85%" colspan="2"><select disabled="disabled" name="MEET_EMERGENCIES_PLAN_365" id="MEET_EMERGENCIES_PLAN_365" selAlign="" prompt="请选择" selWidth="720"></select></td> -->
- </tr>
- <tr>
- <td width="15%" align="right">响应概要:</td>
- <td width="85%" colspan="2"><div style="width: 97%" name="EW_SUMMARY_365" id="EW_SUMMARY_365"></div><br /></td>
- <!-- <td width="85%" colspan="2"><textarea disabled="disabled" style="width: 97%;height: 44px;" name="EW_SUMMARY_365" id="EW_SUMMARY_365"></textarea></td> -->
- </tr>
- <tr>
- <td width="15%" align="right">预防措施及<br>工作要求:</td>
- <td width="85%" colspan="2"><div style="width: 97%" name="MEASURE_AND_REQUEST_365" id="MEASURE_AND_REQUEST_365"></div></td>
- <!-- <td width="85%" colspan="2"><textarea disabled="disabled" style="width: 97%;height: 44px;" name="MEASURE_AND_REQUEST_365" id="MEASURE_AND_REQUEST_365"></textarea></td> -->
- </tr>
- <tr>
- <td width="15%" align="right">备注:</td>
- <td width="85%" colspan="2"><div name="REMARK_365" id="REMARK_365" style="width: 97%;"/></td>
- <!-- <td width="85%" colspan="2"><input type="text" disabled="disabled" name="REMARK_365" id="REMARK_365" style="width: 97%;"/></td> -->
- </tr>
- </table>
- </form>
- <!-- 解除的详细信息 -->
- <form id="showForm2" style="display: none;">
- <table class="tableStyle" width="85%" align="center">
- <tr>
- <td width="20%" align="right">响应名称:</td>
- <td width="80%"><div id="EARLY_WARNING_NAME" name="EARLY_WARNING_NAME_365" style="width:97%"></div></td>
- <!-- <td width="80%" colspan="2"><input type="text" disabled="disabled" name="EARLY_WARNING_NAME_365" style="width: 97%;"/></td> -->
- </tr>
- <tr>
- <td width="20%" align="right">响应编号:</td>
- <td width="80%"><div id="EARLY_WARNING_ID" name="EARLY_WARNING_ID_365" style="width:97%"></div></td>
- <!-- <td width="80%" colspan="2"><input type="text" disabled="disabled" name="EARLY_WARNING_ID_365" style="width: 97%;"/></td> -->
- </tr>
- <tr>
- <td width="20%" align="right">解除时间:</td>
- <td width="80%"><div id="RELEASE_RELIEVE_DATE" name="RELEASE_RELIEVE_DATE_365"style="width:97%"></div></td>
- <!-- <td width="80%"><input style="width: 97%" type="text" disabled="disabled" name="RELEASE_RELIEVE_DATE_365" dateFmt="yyyy-MM-dd HH:mm:ss"/></td> -->
- </tr>
- <tr>
- <td width="20%" align="right">解除范围:</td>
- <td width="80%"><div id="EARLY_WARNING_AREA_NAME" name="EARLY_WARNING_AREA_NAME_365"style="width:97%" readonly="readonly"></div></td>
- <!-- <td width="80%"><div class="selectTree" disabled="disabled" name="EARLY_WARNING_AREA_ID_365" multiMode="true" noGroup="true" selWidth="733"></div></td> -->
- </tr>
- <tr>
- <td width="20%" align="right">解除原因:</td>
- <td width="80%"><div id="EW_SUMMARY" name="EW_SUMMARY_365"style="width:97%"></div></td>
- <!-- <td width="80%"><textarea disabled="disabled" style="width: 97%;height: 44px;" name="EW_SUMMARY_365"></textarea></td> -->
- </tr>
- <tr>
- <td width="20%" align="right">工作要求:</td>
- <td width="80%"><div id="MEASURE_AND_REQUEST" name="MEASURE_AND_REQUEST_365"style="width:97%"></div></td>
- <!-- <td width="80%"><textarea disabled="disabled" style="width: 97%;height: 44px;" name="MEASURE_AND_REQUEST_365"></textarea></td> -->
- </tr>
- <tr>
- <td width="20%" align="right">备注:</td>
- <td width="80%"><div id="REMARK" name="REMARK_365"style="width:97%"></div></td>
- <!-- <td width="80%"><input type="text" disabled="disabled" name="REMARK_365" style="width: 97%;"/></td> -->
- </tr>
- </table>
- </form>
- <table style="width: 85%;" align="center" border="0">
- <tr><td colspan="3"><div id="maingrid"></div></td></tr>
- </table>
- <!-- <div id="maingrid"></div> -->
- </div>
- </body>
- </html>
|