2eff3497c6f630909a31aca1fe6aeb81724b9b87.svn-base 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title></title>
  7. <%@include file="/page/include1.jsp" %>
  8. <!-- 附件异步上传start -->
  9. <link rel="stylesheet" type="text/css" href="<%=path%>/scripts/webUploader/css/webuploader.css" />
  10. <link rel="stylesheet" type="text/css" href="<%=path%>/scripts/webUploader/css/style.css" />
  11. <script type="text/javascript" src="<%=path%>/scripts/webUploader/webuploader.js"></script>
  12. <script type="text/javascript" src="<%=path%>/scripts/webUploader/upload.js"></script>
  13. <!-- 附件异步上传end -->
  14. <script type="text/javascript" src="<%=path%>/scripts/business/em/monitor/responseReceive/GovResponseReceiveAddEdit.js"></script>
  15. <link type="text/css" href="/nwyj/page/business/em/report/reportCss/warnningreport.css" rel="stylesheet"/>
  16. <script type="text/javascript">
  17. var fd_id="<%=request.getParameter("fd_id")%>";
  18. //父部门id
  19. var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
  20. var pageType = 1;//0-新增页面;1-调整页面;2-解除页面
  21. $(function(){
  22. $("#back").hover(function() {
  23. $(this).attr("src", "/nwyj/images/temp/back_hover.png");
  24. }, function() {
  25. $(this).attr("src", "/nwyj/images/temp/back.png");
  26. });
  27. //初始化下拉框
  28. $('#RESPONSE_STATUS_370').initCanstSelect('BM_PublishState');
  29. $('#RESPONSE_NAME_370').initCanstSelect('BM_EMC_WarningName');
  30. $('#RESPONSE_LEVEL_370').initCanstSelect('BM_REPONSELEVEL');
  31. $('#LAST_LEVEL_370').initCanstSelect('BM_REPONSELEVEL');
  32. /******************录入人信息start********************/
  33. /* 页面展示用 */
  34. //取登录用户信息
  35. //登录用户姓名 要调整,还是要用id
  36. var userName = top.com.sinosoft.lz.system.user.LoginInfo
  37. .getReal_name();
  38. $("#TYPEIN_PEOPLE").html(userName);
  39. //用户手机号
  40. var getMobile = top.com.sinosoft.lz.system.user.LoginInfo
  41. .getMobile();
  42. if (getMobile == undefined) {
  43. $("#TYPEIN_PEOPLE_PHONE_NUM").html("暂无手机号码");
  44. $("#TYPEIN_PEOPLE_PHONE_NUM_369").val("");
  45. } else {
  46. $("#TYPEIN_PEOPLE_PHONE_NUM").html(getMobile);
  47. $("#TYPEIN_PEOPLE_PHONE_NUM_369").val(getMobile);
  48. }
  49. var getCorp_Id = top.com.sinosoft.lz.system.user.LoginInfo
  50. .getCorp_ids();
  51. $("#WRITE_UNIT_369").val(getCorp_Id);
  52. //用户所属单位
  53. var getCorp_names = top.com.sinosoft.lz.system.user.LoginInfo
  54. .getCorp_names();
  55. $("#UNITE").html(getCorp_names);
  56. $("#WRITER_UNIT_NAME_370").val(getCorp_names);
  57. //用户所属部门
  58. var getDeptnames = top.com.sinosoft.lz.system.user.LoginInfo
  59. .getDeptnames();
  60. $("#DEPT").html(getDeptnames);
  61. /*****************录入人信息end*********************/
  62. if (fd_id.length > 0) {
  63. $('#fileDiv').newAsyncFileUpload("", "", "1");
  64. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  65. var params = {
  66. classid : '370',
  67. objectID : fd_id
  68. };
  69. $.request.query(url, params, function(data) {
  70. $('#editForm').ajaxWrite({
  71. data : data
  72. });
  73. $('#editForm input[name="classid"]').val('370');
  74. $('#LAST_LEVEL_370').setValue(data.RESPONSE_LEVEL_370);
  75. $('#LAST_ID_370').val(data.FD_OBJECTID370);
  76. $('#EARLY_WARNING_PROPERTY_370').val("50");
  77. $("input[name=LAST_LEVEL_370]").val(data.RESPONSE_LEVEL_370);
  78. //$("#EVENT_ID_select").setValue(data.EVENT_ID_370);
  79. });
  80. /* $("#EVENT_ID_select").initYewuSelect("363","FD_OBJECTID","EVENT_NAME"," EVENT_STATE='0' and IS_DEL='0' order by updatedate desc");
  81. $("#EVENT_ID_select").on("change",function(){
  82. var eventId = $(this).attr("relValue");
  83. var eventName = $(this).attr("relText");
  84. $("#EVENT_ID_370").val(eventId);
  85. $("#EVENT_NAME_370").val(eventName);
  86. }); */
  87. }
  88. });
  89. </script>
  90. </head>
  91. <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center" >
  92. <div class="box1" id="formContent" width="1000px" >
  93. <div class="titlehead">
  94. <div class="go_img1">
  95. <a href='#'><img id='back' align='left' alt='返回' title="返回" src='/nwyj/images/temp/back.png'></img></a>
  96. </div>
  97. <font class="titleMsg">应急响应信息接收调整</font>
  98. </div>
  99. <form id="editForm" method="post" enctype="multipart/form-data">
  100. <input type="hidden" name="classid" id="classid" value="370"/>
  101. <input type="hidden" name="LAST_ID_370" id="LAST_ID_370" value=""/>
  102. <input type="hidden" name="EARLY_WARNING_PROPERTY_370" id="EARLY_WARNING_PROPERTY_370" value=""/>
  103. <input type="hidden" name="WRITER_UNIT_NAME_370" id="WRITER_UNIT_NAME_370" value=""/>
  104. <input type="hidden" name="WRITE_UNIT_370" id="WRITE_UNIT_370" value=""/>
  105. <input type="hidden" name="WRITE_DEPT_370" id="WRITE_DEPT_370" value=""/>
  106. <input type="hidden" name="WRITER_370" id="WRITER_370" value=""/>
  107. <input type="hidden" name="WRITE_TIME_370" id="WRITE_TIME_370" value=""/>
  108. <input type="hidden" name="TYPEIN_PEOPLE_PHONE_NUM_370" id="TYPEIN_PEOPLE_PHONE_NUM_370" value=""/>
  109. <input type="hidden" name="LAST_LEVEL_370" />
  110. <input type="hidden" name="CONNECT_ID_370" id="CONNECT_ID_370" value=""/>
  111. <input type="hidden" name="EVENT_ID_370" id="EVENT_ID_370"/>
  112. <input type="hidden" name="EVENT_NAME_370" id="EVENT_NAME_370"/>
  113. <!-- 保存和重置 -->
  114. <div style="margin-left:82%; margin-top: 10px;">
  115. <input value='保存' id='save' type='button'/>&nbsp;&nbsp;<input id='cancel' value='重置' type='reset'/>
  116. </div>
  117. <fieldset class="basic_fieldset_border">
  118. <legend width="960px">基本信息:</legend>
  119. <table width="960px" class="add_table_style" align="center">
  120. <tr>
  121. <td align="right" width="15%" ><span class="star">*</span>响应名称</td>
  122. <td width="35%"><input type="text" maxlength="100" style="width: 265px;" name="NAME_370" id="NAME_370" class="validate[required]" /></td>
  123. <td align="right" width="15%" ><span class="star">*</span>发布单位</td>
  124. <td width="35%"><input type="text" maxlength="50" style="width: 265px;" name="RELEASE_UNIT_370" id="RELEASE_UNIT_370" class="validate[required]" /></td>
  125. </tr>
  126. <tr>
  127. <td align="right" width="120px" ><span class="star">*</span>发布时间</td>
  128. <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>
  129. <td align="right" width="120px" ><span class="star">*</span>响应类别</td>
  130. <td><select class="validate[required]" selWidth="270" prompt="请选择" name="RESPONSE_NAME_370" id="RESPONSE_NAME_370"></select></td>
  131. </tr>
  132. <tr>
  133. <td align="right" width="120px" ><span class="star">*</span>本次响应级别</td>
  134. <td><select class="validate[required]" selWidth="270" prompt="请选择" name="RESPONSE_LEVEL_370" id="RESPONSE_LEVEL_370"></select></td>
  135. <td align="right" width="120px" ><span class="star">*</span>上次响应级别</td>
  136. <td><select class="validate[required]" selWidth="270" disabled="true" prompt="请选择" id="LAST_LEVEL_370"></select></td>
  137. </tr>
  138. <tr>
  139. <td align="right" width="120px" ><span class="star">*</span>响应状态</td>
  140. <td colspan="3"><select class="validate[required]" selWidth="270" prompt="请选择" name="RESPONSE_STATUS_370" id="RESPONSE_STATUS_370"></select></td>
  141. </tr>
  142. <tr>
  143. <td align="right" width="120px" >解除时间</td>
  144. <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" />
  145. <span style="color:red">
  146. 解除时间为非必填项,如果填了,则到该时间后自动解除。</span></td>
  147. </tr>
  148. <!-- <tr>
  149. <td align="right" width="120px" class="font_size">事件名称:</td>
  150. <td colspan="3">
  151. <select editable=false name="" id="EVENT_ID_select" selAlign="" prompt="请选择" selWidth="756"></select>
  152. </td>
  153. </tr> -->
  154. <tr>
  155. <td align="right" width="120px" >响应内容</td>
  156. <td colspan="3"><textarea style="width:750px;height:330px" maxNum="1000" name="RESPONSE_CONTENT_370" id="RESPONSE_CONTENT_370" ></textarea></td>
  157. </tr>
  158. <tr>
  159. <td align="right" width="120px" >响应范围</td>
  160. <td colspan="3"><textarea style="width:750px;height:330px" maxNum="1000" name="RESPONSE_AREA_370" id="RESPONSE_AREA_370"></textarea></td>
  161. </tr>
  162. </table>
  163. </fieldset>
  164. <fieldset class="fj_fieldset_border">
  165. <legend width="960px" >附件信息:</legend>
  166. <table width="960px" class="tableStyle" align="center">
  167. <tr>
  168. <td width="130px" align="right">上传附件:</td>
  169. <td width= "750px" colspan="3"><div style="width:750px" id="fileDiv" name="fileDiv" ></div></td>
  170. </tr>
  171. </table>
  172. </fieldset>
  173. <fieldset class="fileTable_border">
  174. <legend>录入人信息:</legend>
  175. <table width="960px" class="tableStyle" align="center" id="fillForm">
  176. <tr>
  177. <td width="114px" align="right" >单位:</td>
  178. <td width="280px"><div style="width:97%" name="UNITE" id="UNITE" /></td>
  179. <td width="114px" align="right" >部门:</td>
  180. <td width="280px"><div name="DEPT" id="DEPT" /></td>
  181. </tr>
  182. <tr>
  183. <td width="114px" align="right" >录入人:</td>
  184. <td width="280px"><div name="TYPEIN_PEOPLE" id="TYPEIN_PEOPLE" /></td><!-- style="text-decoration:underline;color:#0000FF" -->
  185. <td width="114px" align="right" >录入人联系方式:</td>
  186. <td width="280px"><div name="TYPEIN_PEOPLE_PHONE_NUM" id="TYPEIN_PEOPLE_PHONE_NUM" /></td>
  187. </tr>
  188. </table>
  189. </fieldset>
  190. <br>
  191. </form>
  192. </div>
  193. </div>
  194. </body>
  195. </html>