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" />
- <title></title>
- <%@include file="/page/include1.jsp" %>
- <!-- 附件异步上传start -->
- <link rel="stylesheet" type="text/css" href="<%=path%>/scripts/webUploader/css/webuploader.css" />
- <link rel="stylesheet" type="text/css" href="<%=path%>/scripts/webUploader/css/style.css" />
- <script type="text/javascript" src="<%=path%>/scripts/webUploader/webuploader.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/webUploader/upload.js"></script>
- <!-- 附件异步上传end -->
- <script type="text/javascript" src="<%=path%>/scripts/business/em/monitor/responseReceive/GovResponseReceiveAddEdit.js"></script>
- <link type="text/css" href="/nwyj/page/business/em/report/reportCss/warnningreport.css" rel="stylesheet"/>
- <script type="text/javascript">
- var fd_id="<%=request.getParameter("fd_id")%>";
- //父部门id
- var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
- var pageType = 1;//0-新增页面;1-调整页面;2-解除页面
-
- $(function(){
-
-
- $("#back").hover(function() {
- $(this).attr("src", "/nwyj/images/temp/back_hover.png");
- }, function() {
- $(this).attr("src", "/nwyj/images/temp/back.png");
- });
- //初始化下拉框
- $('#RESPONSE_STATUS_370').initCanstSelect('BM_PublishState');
- $('#RESPONSE_NAME_370').initCanstSelect('BM_EMC_WarningName');
- $('#RESPONSE_LEVEL_370').initCanstSelect('BM_REPONSELEVEL');
- $('#LAST_LEVEL_370').initCanstSelect('BM_REPONSELEVEL');
- /******************录入人信息start********************/
- /* 页面展示用 */
- //取登录用户信息
- //登录用户姓名 要调整,还是要用id
- var userName = top.com.sinosoft.lz.system.user.LoginInfo
- .getReal_name();
- $("#TYPEIN_PEOPLE").html(userName);
- //用户手机号
- var getMobile = top.com.sinosoft.lz.system.user.LoginInfo
- .getMobile();
- if (getMobile == undefined) {
- $("#TYPEIN_PEOPLE_PHONE_NUM").html("暂无手机号码");
- $("#TYPEIN_PEOPLE_PHONE_NUM_369").val("");
- } else {
- $("#TYPEIN_PEOPLE_PHONE_NUM").html(getMobile);
- $("#TYPEIN_PEOPLE_PHONE_NUM_369").val(getMobile);
- }
- var getCorp_Id = top.com.sinosoft.lz.system.user.LoginInfo
- .getCorp_ids();
- $("#WRITE_UNIT_369").val(getCorp_Id);
- //用户所属单位
- var getCorp_names = top.com.sinosoft.lz.system.user.LoginInfo
- .getCorp_names();
- $("#UNITE").html(getCorp_names);
- $("#WRITER_UNIT_NAME_370").val(getCorp_names);
-
- //用户所属部门
- var getDeptnames = top.com.sinosoft.lz.system.user.LoginInfo
- .getDeptnames();
- $("#DEPT").html(getDeptnames);
- /*****************录入人信息end*********************/
- if (fd_id.length > 0) {
- $('#fileDiv').newAsyncFileUpload("", "", "1");
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '370',
- objectID : fd_id
- };
- $.request.query(url, params, function(data) {
- $('#editForm').ajaxWrite({
- data : data
- });
- $('#editForm input[name="classid"]').val('370');
- $('#LAST_LEVEL_370').setValue(data.RESPONSE_LEVEL_370);
- $('#LAST_ID_370').val(data.FD_OBJECTID370);
- $('#EARLY_WARNING_PROPERTY_370').val("50");
- $("input[name=LAST_LEVEL_370]").val(data.RESPONSE_LEVEL_370);
- //$("#EVENT_ID_select").setValue(data.EVENT_ID_370);
- });
- /* $("#EVENT_ID_select").initYewuSelect("363","FD_OBJECTID","EVENT_NAME"," EVENT_STATE='0' and IS_DEL='0' order by updatedate desc");
- $("#EVENT_ID_select").on("change",function(){
- var eventId = $(this).attr("relValue");
- var eventName = $(this).attr("relText");
- $("#EVENT_ID_370").val(eventId);
- $("#EVENT_NAME_370").val(eventName);
- }); */
- }
- });
- </script>
- </head>
- <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center" >
- <div class="box1" id="formContent" width="1000px" >
- <div class="titlehead">
- <div class="go_img1">
- <a href='#'><img id='back' align='left' alt='返回' title="返回" src='/nwyj/images/temp/back.png'></img></a>
- </div>
- <font class="titleMsg">应急响应信息接收调整</font>
- </div>
- <form id="editForm" method="post" enctype="multipart/form-data">
- <input type="hidden" name="classid" id="classid" value="370"/>
- <input type="hidden" name="LAST_ID_370" id="LAST_ID_370" value=""/>
- <input type="hidden" name="EARLY_WARNING_PROPERTY_370" id="EARLY_WARNING_PROPERTY_370" value=""/>
- <input type="hidden" name="WRITER_UNIT_NAME_370" id="WRITER_UNIT_NAME_370" value=""/>
- <input type="hidden" name="WRITE_UNIT_370" id="WRITE_UNIT_370" value=""/>
- <input type="hidden" name="WRITE_DEPT_370" id="WRITE_DEPT_370" value=""/>
- <input type="hidden" name="WRITER_370" id="WRITER_370" value=""/>
- <input type="hidden" name="WRITE_TIME_370" id="WRITE_TIME_370" value=""/>
- <input type="hidden" name="TYPEIN_PEOPLE_PHONE_NUM_370" id="TYPEIN_PEOPLE_PHONE_NUM_370" value=""/>
- <input type="hidden" name="LAST_LEVEL_370" />
- <input type="hidden" name="CONNECT_ID_370" id="CONNECT_ID_370" value=""/>
- <input type="hidden" name="EVENT_ID_370" id="EVENT_ID_370"/>
- <input type="hidden" name="EVENT_NAME_370" id="EVENT_NAME_370"/>
-
- <!-- 保存和重置 -->
- <div style="margin-left:82%; margin-top: 10px;">
- <input value='保存' id='save' type='button'/> <input id='cancel' value='重置' type='reset'/>
- </div>
- <fieldset class="basic_fieldset_border">
- <legend width="960px">基本信息:</legend>
- <table width="960px" class="add_table_style" align="center">
- <tr>
- <td align="right" width="15%" ><span class="star">*</span>响应名称</td>
- <td width="35%"><input type="text" maxlength="100" style="width: 265px;" name="NAME_370" id="NAME_370" class="validate[required]" /></td>
- <td align="right" width="15%" ><span class="star">*</span>发布单位</td>
- <td width="35%"><input type="text" maxlength="50" style="width: 265px;" name="RELEASE_UNIT_370" id="RELEASE_UNIT_370" class="validate[required]" /></td>
- </tr>
- <tr>
- <td align="right" width="120px" ><span class="star">*</span>发布时间</td>
- <td><input type="text" readonly="readonly" style="width: 265px;" maxlength="26" dateFmt="yyyy-MM-dd HH:mm" name="RELEASE_DATE_370" id="RELEASE_DATE_370" class="date validate[required]" /></td>
- <td align="right" width="120px" ><span class="star">*</span>响应类别</td>
- <td><select class="validate[required]" selWidth="270" prompt="请选择" name="RESPONSE_NAME_370" id="RESPONSE_NAME_370"></select></td>
- </tr>
- <tr>
- <td align="right" width="120px" ><span class="star">*</span>本次响应级别</td>
- <td><select class="validate[required]" selWidth="270" prompt="请选择" name="RESPONSE_LEVEL_370" id="RESPONSE_LEVEL_370"></select></td>
- <td align="right" width="120px" ><span class="star">*</span>上次响应级别</td>
- <td><select class="validate[required]" selWidth="270" disabled="true" prompt="请选择" id="LAST_LEVEL_370"></select></td>
- </tr>
- <tr>
- <td align="right" width="120px" ><span class="star">*</span>响应状态</td>
- <td colspan="3"><select class="validate[required]" selWidth="270" prompt="请选择" name="RESPONSE_STATUS_370" id="RESPONSE_STATUS_370"></select></td>
- </tr>
- <tr>
- <td align="right" width="120px" >解除时间</td>
- <td colspan="3"><input type="text" readonly="readonly" style="width: 265px;" maxlength="26" dateFmt="yyyy-MM-dd HH:mm" name="RELIEVE_TIME_370" id="RELIEVE_TIME_370" class="date" />
- <span style="color:red">
- 解除时间为非必填项,如果填了,则到该时间后自动解除。</span></td>
- </tr>
- <!-- <tr>
- <td align="right" width="120px" class="font_size">事件名称:</td>
- <td colspan="3">
- <select editable=false name="" id="EVENT_ID_select" selAlign="" prompt="请选择" selWidth="756"></select>
- </td>
- </tr> -->
- <tr>
- <td align="right" width="120px" >响应内容</td>
- <td colspan="3"><textarea style="width:750px;height:330px" maxNum="1000" name="RESPONSE_CONTENT_370" id="RESPONSE_CONTENT_370" ></textarea></td>
- </tr>
- <tr>
- <td align="right" width="120px" >响应范围</td>
- <td colspan="3"><textarea style="width:750px;height:330px" maxNum="1000" name="RESPONSE_AREA_370" id="RESPONSE_AREA_370"></textarea></td>
- </tr>
- </table>
- </fieldset>
- <fieldset class="fj_fieldset_border">
- <legend width="960px" >附件信息:</legend>
- <table width="960px" class="tableStyle" align="center">
- <tr>
- <td width="130px" align="right">上传附件:</td>
- <td width= "750px" colspan="3"><div style="width:750px" id="fileDiv" name="fileDiv" ></div></td>
- </tr>
- </table>
- </fieldset>
-
- <fieldset class="fileTable_border">
- <legend>录入人信息:</legend>
- <table width="960px" class="tableStyle" align="center" id="fillForm">
- <tr>
- <td width="114px" align="right" >单位:</td>
- <td width="280px"><div style="width:97%" name="UNITE" id="UNITE" /></td>
- <td width="114px" align="right" >部门:</td>
- <td width="280px"><div name="DEPT" id="DEPT" /></td>
- </tr>
- <tr>
- <td width="114px" align="right" >录入人:</td>
- <td width="280px"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
- <td width="114px" align="right" >录入人联系方式:</td>
- <td width="280px"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
- </tr>
- </table>
- </fieldset>
- <br>
- </form>
- </div>
- </div>
- </body>
- </html>
|