265a287f1a4b6d55116efa2919f60a85b9dd3683.svn-base 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  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="../../../../include1.jsp" %>
  8. <!-- 附件上传 -->
  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. <!-- 附件上传 -->
  14. <script type="text/javascript" src="<%=path%>/scripts/business/am/org/maintenance/orgSel.js"></script>
  15. <script type="text/javascript" src="<%=path%>/scripts/business/em/alert/warning/WarningAdjust.js"></script>
  16. <style type="text/css">
  17. .class_color{
  18. background-color: rgb(237, 239, 253);
  19. }
  20. </style>
  21. <script type="text/javascript">
  22. var fd_id = "<%=request.getParameter("fd_id")%>";
  23. var is_adjst = "<%=request.getParameter("is_adjst")%>";
  24. var alertNum=""; //预警编号
  25. var dateTitle = "";
  26. var dateTitleId = "";
  27. var thing = "";
  28. //取得用户真实名字
  29. var realName = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
  30. var realName_ID = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
  31. //部门id
  32. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
  33. //部门名称
  34. //var deptName = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
  35. //父部门id
  36. var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
  37. var CorpArea = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  38. var Corp_names = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_names();
  39. var taifengTime="";//台风时间
  40. var meet_plan_id = ""//预案id
  41. var fabuTime_old = "";//调整之前的发布时间
  42. var fabuTime_new = "";//调整后新添加的发布时间
  43. $(function(){
  44. /* $("#EVENT_ID_365").initYewuSelect("363","FD_OBJECTID","EVENT_NAME"," IS_DEL='0' order by updatedate desc"); //事件 */
  45. $("#EVENT_ID_365").initYewuSelect("363","FD_OBJECTID","EVENT_NAME"," EVENT_STATE='0' and IS_DEL='0' order by updatedate desc");
  46. $("#addEventBtn").on("click",addEventMethod);
  47. var defaultOpts={
  48. // 自动上传。
  49. auto : true,
  50. // swf文件路径
  51. swf : '/nwyj/scripts/webUploader/Uploader.swf',
  52. // 文件接收服务端。
  53. server : '/nwyj/Upload',
  54. // 选择文件的按钮。可选。
  55. pick : '#picker',
  56. fileNumLimit: 5,
  57. fileSizeLimit: 200 * 1024 * 1024, // 200 M
  58. fileSingleSizeLimit: 50 * 1024 * 1024, // 50 M
  59. chunked: false,
  60. chunkSize: 512 * 1024,
  61. fileTypeLimit :"exe,jsp,asp",
  62. accept: {
  63. extensions: 'jpg,png,doc,docx,pdf'
  64. },
  65. /*
  66. formData: {},
  67. runtimeOrder: 'flash',
  68. */
  69. //禁掉全局的拖拽功能。这样不会出现图片拖进页面的时候,把图片打开。
  70. disableGlobalDnd: true
  71. };
  72. //附件
  73. $('#fileDiv').newAsyncFileUpload(defaultOpts,"","1");
  74. $("#EARLY_WARNING_AREA_NAME_365").OrgSel({selectedMulti : true,loadId_in:CorpArea,loadCorp:"loadCorp",setMulti : {
  75. "Y" : "s",
  76. "N" : ""
  77. }});
  78. if(fd_id.length>0 && is_adjst == 1){//调整
  79. $(".titleShow").text("预警调整通知单");
  80. // ********** 下拉框 数据 初始化 **************
  81. // $("#unitId").initYewuSelect("800","Dept_Id","DEPT_NAME"); //填报单位
  82. //$("#unitId").initYewuSelect("800","Dept_Id","DEPT_NAME","IS_DEL=0 and DEPT_TYPE='CORP'"); //填报单位
  83. //$("#unitId").attr("selectedValue",CorpArea);
  84. $('#WRITE_DEPT_365_SHOW').text(Corp_names);
  85. //$("#CHECKCK").val(realName); //填报单位编码
  86. $('#CURRENT_EW_LEVEL_365').initCanstSelect('BM_WarningState'); //本次预警级别
  87. //$("#PLAN_TYPE_ID_365").initCanstSelect('BM_YAXHLB'); //预案类型
  88. $('#PREV_EW_LEVEL').initCanstSelect('BM_WarningState'); //上次预警级别
  89. $("#MEET_EMERGENCIES_PLAN_365").initYewuSelect("214","FD_OBJECTID","PLAN_NAME","UNITS = '"+CorpArea+"' AND PLAN_TYPE=103 and IS_DEL='0' and PLAN_STAT='1'"); //应急预案
  90. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  91. var params = {
  92. classid : '365',
  93. objectID : fd_id
  94. };
  95. $.request.query(url,params,function(data){
  96. $('#editForm').ajaxWrite({data:data});
  97. fabuTime_old = data.RELEASE_RELIEVE_DATE_365;
  98. $("#RELEASE_RELIEVE_DATE_365").val("");
  99. $("#WETHER_EW_ADJUST").attr("checked","checked");
  100. $('#PREV_EW_LEVEL').attr("selectedValue",data.CURRENT_EW_LEVEL_365); //上次预警级别
  101. $('#PREV_EW_LEVEL').render();
  102. $("#PREV_EW_LEVEL_365").val(data.CURRENT_EW_LEVEL_365);
  103. var alertNum = data.EARLY_WARNING_ID_365;
  104. $("#PREV_EW_ID_365").val(data.EARLY_WARNING_ID_365); //上次预警编号
  105. $("#PREV_EW_ID").html(data.EARLY_WARNING_ID_365);
  106. console.log("data=="+JSON.stringify(data));
  107. taifengTime = data.TYPHOON_DATE_365;
  108. meet_plan_id = data.MEET_EMERGENCIES_PLAN_365;
  109. var yuan = data.MEET_EMERGENCIES_PLAN_365;
  110. $("#MEET_EMERGENCIES_PLAN_365").attr("selectedValue",yuan);
  111. $("#MEET_EMERGENCIES_PLAN_365").render();
  112. if(yuan.substring(0,4) == "plan"){
  113. showAllPlan();
  114. }
  115. yuan1 = yuan;
  116. if($("#MEET_EMERGENCIES_PLAN_365").val() == ""){
  117. showAllPlan();
  118. $("#MEET_EMERGENCIES_PLAN_365").attr("selectedValue","plan"+data.PLAN_TYPE_ID_365+","+data.PLAN_TYPE_ID_365);
  119. $("#MEET_EMERGENCIES_PLAN_365").render();
  120. }
  121. /* var val = data.PLAN_TYPE_ID_365;;
  122. if(val=='9'){
  123. var tempDate = data.TYPHOON_DATE_365;
  124. if(tempDate != null && tempDate != ''){
  125. $("#isTFDate").show();
  126. $("#typhoonDate").show();
  127. }else{
  128. $("#isTFDate").show();
  129. $(".IsTF[value='false']").attr('checked','checkked');
  130. }
  131. } */
  132. $("#show_EARLY_WARNING_AREA_NAME_365").val(data.EARLY_WARNING_AREA_NAME_365);//预警范围显示
  133. $("#EARLY_WARNING_AREA_NAME_365").val(data.EARLY_WARNING_AREA_ID_365);//预警范围ID
  134. $("#EARLY_WARNING_AREA_NAME_365_show").val(data.EARLY_WARNING_AREA_NAME_365);//预警范围NAME
  135. $("#show_EARLY_WARNING_AREA_NAME_365").val(data.EARLY_WARNING_AREA_NAME_365);
  136. $("#WRITER_365_SHOW").text(realName);
  137. $("#WRITER_365").val(realName); //填报人
  138. $("#WRITER_ID_365").val(realName_ID);
  139. $('#WRITE_DEPT_365').val(CorpArea);
  140. $("#RELEASE_UNIT_365").val(CorpArea);
  141. $("#IS_LAST_ID_365").val(data.FD_OBJECTID365);
  142. $("#FD_OBJECTID365").val("");
  143. $("#classid").val("365");
  144. thing = alertNum.split("-")[0];
  145. mouse();
  146. $("#IS_SEND_365").val("0");//如果没有这句话,调整页面点击发送,在人员选择的弹框页面点击取消,会生成一条已发布的调整通知单,因为【$('#editForm').ajaxWrite({data:data})】已经把id=‘IS_SEND_365’的标签的值写为【5】
  147. });
  148. }
  149. $("#MEET_EMERGENCIES_PLAN_365").bind("change",function(){
  150. var val = $(this).attr("relValue");
  151. $("#MEET_EMERGENCIES_PLAN_36500").val(val);
  152. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  153. var params = {
  154. classid : '214',
  155. objectID : val
  156. };
  157. $.request.query(url,params,function(data){
  158. dateTitleId = data.PLAN_REFINE_CATEGORY_214;
  159. dateTitle = data.PLAN_REFINE_CATEGORY_214_SHOW;
  160. thing = dateTitle;
  161. mouse();
  162. $("#PLAN_TYPE_ID_365").val(dateTitleId);
  163. /* if(dateTitleId == "9"){
  164. $("#isTFDate").show();
  165. $("#dateTitle").text("预计台风登陆时间:");
  166. $("#typhoonDate").show();
  167. $("#TYPHOON_DATE_365").attr('class','date validate[required]');
  168. }else{
  169. $("#isTFDate").hide();
  170. $("#typhoonDate").hide();
  171. $("#TYPHOON_DATE_365").attr('class','date');
  172. $("#TYPHOON_DATE_365").val('');
  173. } */
  174. });
  175. });
  176. $(".IsTF").bind("click",function(){
  177. var value = $(this).attr('value');
  178. if(value == 'true'){
  179. $("#dateTitle").text("预计台风登陆时间:");
  180. $("#typhoonDate").show();
  181. $("#TYPHOON_DATE_365").attr('class','date validate[required]');
  182. }else{
  183. $("#typhoonDate").hide();
  184. $("#TYPHOON_DATE_365").attr('class','date');
  185. $("#TYPHOON_DATE_365").val('');
  186. }
  187. });
  188. $("#CURRENT_EW_LEVEL_365").bind("change",function(){
  189. //预警级别
  190. var level = $("#CURRENT_EW_LEVEL_365").attr("relText");
  191. if(level == undefined || level == '请选择'){
  192. level = '';
  193. }
  194. if(dateTitle == undefined || dateTitle == '请选择'){
  195. dateTitle = '';
  196. }
  197. //预警名称
  198. $("#EARLY_WARNING_NAME_365").val(thing+level);
  199. });
  200. });
  201. /***新增事件方法****/
  202. function addEventMethod(){
  203. var diag = new top.Dialog();
  204. diag.URL="/nwyj/page/business/em/response/emergencyResponse/addEvent.jsp";
  205. diag.Title="新增事件 ";
  206. diag.Width=600;
  207. diag.Height=250;
  208. diag.ShowButtonRow=true;
  209. diag.OkButtonText=" 发布 ";
  210. diag.OKEvent = function(){
  211. diag.innerFrame.contentWindow.save();
  212. top.Dialog.alert("新增成功!");
  213. $("#EVENT_ID_365").initYewuSelect("363","FD_OBJECTID","EVENT_NAME"," IS_DEL='0' order by updatedate desc"); //事件
  214. diag.close();
  215. };
  216. diag.show();
  217. }
  218. /***修改事件方法****/
  219. function updateEvent(){
  220. var event_id = $("#EVENT_ID_365").attr("relvalue");
  221. var diag = new top.Dialog();
  222. diag.URL="/nwyj/page/business/em/response/emergencyResponse/addEvent.jsp?fd_id="+event_id;
  223. diag.Title="修改事件 ";
  224. diag.Width=600;
  225. diag.Height=250;
  226. diag.ShowButtonRow=true;
  227. diag.OkButtonText=" 发布 ";
  228. diag.OKEvent = function(){
  229. diag.innerFrame.contentWindow.save();
  230. top.Dialog.alert("修改成功!");
  231. $("#EVENT_ID_365").initYewuSelect("363","FD_OBJECTID","EVENT_NAME"," IS_DEL='0' order by updatedate desc"); //事件
  232. diag.close();
  233. };
  234. diag.show();
  235. }
  236. //获得当前系统时间
  237. function getDateTime(){
  238. var s="";
  239. var d = allGetServerTime();
  240. var vYear = d.getFullYear();
  241. var vMon = d.getMonth() + 1;
  242. var vDay = d.getDate();
  243. var h = d.getHours();
  244. var m = d.getMinutes();
  245. var se = d.getSeconds();
  246. s=vYear+"-"+(vMon<10 ? "0" + vMon : vMon)+"-"+(vDay<10 ? "0"+ vDay : vDay)+" "+(h<10 ? "0"+ h : h)+":"+(m<10 ? "0" + m : m)+":"+(se<10 ? "0" +se : se);
  247. return s;
  248. }
  249. //调整重置
  250. function formReset3(){
  251. $('#frmright', window.parent.document).attr('src',$.pathname()+ "/page/business/em/alert/warning/WarningAdjust.jsp?fd_id="+ fd_id+"&is_adjst="+1);
  252. }
  253. //预警编号--鼠标事件(调整页面)
  254. function mouse(){
  255. //预警级别
  256. var level = $("#CURRENT_EW_LEVEL_365").attr("relText");
  257. if(level == undefined || level == '请选择'){
  258. level = '';
  259. }
  260. $("#EARLY_WARNING_NAME_365").val(thing+level);
  261. //获取系统年份
  262. var year = allGetServerTime().getFullYear();
  263. var planTypeId = $("#PLAN_TYPE_ID_365").val();
  264. $("#PLAN_TYPE_ID_368").val(planTypeId);
  265. var params = {
  266. companyId : CorpArea,
  267. year : year,
  268. isAdjust : 'T',
  269. isAlert:'0',
  270. plan_type_id : planTypeId
  271. };
  272. var url = $.pathname()+ '/ws/response/responseService/getAlertresponse';
  273. $.ajax({
  274. url : url,
  275. type : 'post',
  276. timeout : 60000,
  277. dataType : 'json',
  278. data : params,
  279. success : function(data) {
  280. /* $("#COMPANY_ID_368").val(CorpArea);
  281. $("#YEAR_368").val(year);
  282. $("#NUM_368").val(data);
  283. alertNum = thing + "-" + "T" + "-" + year + "-" + data;
  284. $("#EARLY_WARNING_ID_365").val(alertNum);//<input>显示 */
  285. /**************************20160615 ljp 根据需求,当有通知单不走系统时,会出现跳编号情况,这时候,查出当前最大编号,往后推十个号供选择**********************************/
  286. $("#NUM_368").val(data);
  287. data = parseInt(data)-1;
  288. var dataJson = {"list":[]};
  289. var alertNum1 = "";
  290. for (var i = 0; i < 10; i++) {
  291. data++;
  292. alertNum1 = thing + "-" + "T" + "-" + year + "-" + data;
  293. dataJson.list.push({"key":alertNum1,"value":alertNum1});
  294. }
  295. $("#COMPANY_ID_368").val(CorpArea);
  296. $("#YEAR_368").val(year);
  297. $("#EARLY_WARNING_ID_365").attr("selectedIdx","0");
  298. $("#EARLY_WARNING_ID_365").data("data",dataJson);//<input>显示
  299. $("#EARLY_WARNING_ID_365").render();
  300. }
  301. });
  302. }
  303. function showAllPlan(){//显示所有预案
  304. /* $("#meetEmergencyPlan_showAll").val("显示已录预案");
  305. $("#MEET_EMERGENCIES_PLAN_365").attr("class",""); */
  306. //var AreaSql = "select FD_CODE,PARENT_ID,FD_DESCRIPTION from BM_MAPVALUECANST where FD_TYPE = 'BM_YAXHLB' and PARENT_ID in(0,1,2,3) order by PARENT_ID";
  307. $.ajax({
  308. url : $.pathname() + '/ws/sys/constantService/getTreeCanst1/',
  309. type : 'post',
  310. timeout : 60000,
  311. //data : { sql : AreaSql },
  312. dataType : 'json',
  313. //async: false,
  314. success : function(data){;
  315. $("#MEET_EMERGENCIES_PLAN_365").data("data",data);
  316. $("#MEET_EMERGENCIES_PLAN_365").render();
  317. }
  318. });
  319. }
  320. function selectEarlyWarningNum(){
  321. var early_num = $("#EARLY_WARNING_ID_365").attr("relvalue");
  322. var num = early_num.split("-")[3];
  323. $("#NUM_368").val(num);
  324. }
  325. </script>
  326. </head>
  327. <body style="width: 1000px; margin:0 auto; margin-top:15px" align="center" >
  328. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8; " width="1000px" >
  329. <div style="height: 50px;background: #F8F8F8;" align="center"><a href="javascript:;"><img id="back" align="left" alt="返回" title="返回" src="/nwyj/images/temp/back.png" /></a><font style="font-weight: bold;font-size: 20px;line-height: 45px;" class="titleShow"></font></div>
  330. <!-- 保存和重置 -->
  331. <br/>
  332. <div style="float:right">
  333. <input type="button" id="is_Send" value="发送"/>&nbsp;&nbsp;
  334. <input type="button" id="is_Issue" value="发布" title="上传盖章后的通知单附件,可以不经发送、审核直接发布"/>&nbsp;&nbsp;
  335. <input value="保存" type="button" id="save"/>&nbsp;&nbsp;
  336. <input id="chongzhi3" value="重置" onclick="formReset3();" type="button"/><!-- 调整重置 -->&nbsp;&nbsp;&nbsp;&nbsp;</div><br/>
  337. <div align="center"><font style="font-weight: bold;font-size: 30px;line-height: 45px;" color="red" id="" class="titleShow"></font></div>
  338. <!-- 调整页面的填报人 填报单位 -->
  339. <table align="center" width="960px" style="padding-left: 10px;padding-right: 10px;margin:auto">
  340. <tr>
  341. <td align="left">
  342. <div style="float:left"><span id="shenwei">填报单位</span>:</div>
  343. <div style="float:left">
  344. <label id="WRITE_DEPT_365_SHOW"></label>
  345. <!-- <label id="RELEASE_UNIT_365"></label> -->
  346. <!-- <select editable=false id="unitId" name="unitId" prompt="请选择"></select> -->
  347. </div><!-- <label id="unitId"></label> -->
  348. </td>
  349. <td align="right" style="padding-right: 60px;"><span id="shenhe">填报人</span>:<label id="WRITER_365_SHOW"></label>&nbsp;</td>
  350. </tr>
  351. </table>
  352. <!-- 正文表格 -->
  353. <form id="editForm" method="post">
  354. <input name="classid" value="365" id="classid" type="hidden"/>
  355. <input name="CHECK_STATUS_365" id="CHECK_STATUS_365" type="hidden"/>
  356. <input name="IS_SEND_365" id="IS_SEND_365" value="0" type="hidden"/>
  357. <input name="IS_LAST_ID_365" id="IS_LAST_ID_365" type="hidden"/>
  358. <input name="RELEASE_UNIT_365" id="RELEASE_UNIT_365" type="hidden"/>
  359. <input id="EARLY_WARNING_PROPERTY_365" name="EARLY_WARNING_PROPERTY_365" type="hidden"/>
  360. <input id="WETHER_EW_ADJUST_365" name="WETHER_EW_ADJUST_365" type="hidden"/>
  361. <input id="WRITER_365" name="WRITER_365" type="hidden"/>
  362. <input id="WRITER_ID_365" name="WRITER_ID_365" type="hidden"/>
  363. <input id="WRITE_DEPT_365" name="WRITE_DEPT_365" type="hidden"/>
  364. <input id="WRITE_TIME_365" name="WRITE_TIME_365" type="hidden"/>
  365. <input id="PREV_EW_LEVEL_365" name="PREV_EW_LEVEL_365" type="hidden"/>
  366. <input id="PREV_EW_ID_365" name="PREV_EW_ID_365" type="hidden"/>
  367. <input type="hidden" name="FD_OBJECTID365" id="FD_OBJECTID365" value=""/>
  368. <input type="hidden" name="IS_ALERT_365" id="IS_ALERT_365" value="0"/>
  369. <input type="hidden" name="EARLY_WARNING_AREA_ID_365" id="EARLY_WARNING_AREA_ID_365"/>
  370. <input type="hidden" name="PLAN_TYPE_ID_365" id="PLAN_TYPE_ID_365"/>
  371. <input id="TYPHOON_DATE_365" name="TYPHOON_DATE_365" type="hidden"/>
  372. <input id="MEET_EMERGENCIES_PLAN_36500" name="MEET_EMERGENCIES_PLAN_365" type="hidden"/>
  373. <table width="960px" class="tableStyle" align="center">
  374. <tr>
  375. <td align="right" width="120px" class="class_color"><span class="star">*</span>事件名称:</td>
  376. <td colspan="2">
  377. <select editable=false name="EVENT_ID_365" class="validate[required]" id="EVENT_ID_365" selAlign="" prompt="请选择" selWidth="686"></select>
  378. &nbsp;&nbsp;<input type="button" value="新增事件" id="addEventBtn"/>
  379. &nbsp;&nbsp;<input type="button" value="修改事件" id="updateEventBtn" onclick='updateEvent()'/>
  380. </td>
  381. </tr>
  382. <tr>
  383. <td align="right" width="120px" class="class_color"><span class="star">*</span><span>应急预案:</span></td>
  384. <td colspan="2"><select selWidth="756" editable=false id="MEET_EMERGENCIES_PLAN_365" class="validate[required] selectWidth" prompt="请选择" disabled="disabled" ></select></td>
  385. </tr>
  386. <tr>
  387. <td align="right" width="120px" class="class_color"><span class="star">*</span><span>预警名称:</span></td>
  388. <td colspan="2"><input type="text" class="validate[required,length[0,50],custom[illegalLetter]]" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365" style="width: 750px;"/></td>
  389. </tr>
  390. <tr>
  391. <td align="right" width="120px" class="class_color"><span class="star">*</span><span>发布时间:</span></td>
  392. <td colspan="2"><input style="width: 750px" type="text" id="RELEASE_RELIEVE_DATE_365" name="RELEASE_RELIEVE_DATE_365" class="date validate[required]" dateFmt="yyyy-MM-dd HH:mm" /></td>
  393. </tr>
  394. <!-- <input class="dateIcon" type="text" onfocus="WdatePicker({skin:themeColor,maxDate:'%y-%M-%d'})"/> -->
  395. <!-- <tr>
  396. <td align="right" width="120px" class="class_color"><span class="star">*</span><span>预案类型:</span></td>
  397. <td colspan="2"><select name="PLAN_TYPE_ID_365" class="validate[required]" id="PLAN_TYPE_ID_365" prompt="请选择" selWidth="903"></select></td>
  398. </tr> -->
  399. <tr>
  400. <td align="right" width="120px" class="class_color"><span class="star">*</span><span>预警编号:</span></td>
  401. <td colspan="2">
  402. <select selWidth="756" editable=false name="EARLY_WARNING_ID_365" class="validate[required]" id="EARLY_WARNING_ID_365" selAlign="" onchange="selectEarlyWarningNum()">
  403. </td>
  404. </tr>
  405. <tr>
  406. <td align="right" width="120px" class="class_color"><span class="star">*</span>预警范围:</td>
  407. <td colspan="2">
  408. <div style="width: 826px;" class="validate[required]" allclickset="1" id="EARLY_WARNING_AREA_NAME_365" name="EARLY_WARNING_AREA_NAME_365" readonly="readonly"></div>
  409. <!-- <input type="text" id="EARLY_WARNING_AREA_NAME_365" name="EARLY_WARNING_AREA_NAME_365"/> -->
  410. </td>
  411. </tr>
  412. <tr>
  413. <td align="right" width="120px" class="class_color"><span>预警性质:</span></td>
  414. <td width="140px"><input type="checkbox" id="WARNING_PROPERTY" disabled="disabled"/><span>初次发布</span></td>
  415. <td width="140px"><span>预警调整:</span><input type="checkbox" disabled="disabled" id="WETHER_EW_ADJUST"/><span>预警调整</span><br/><span>上次预警单号:(</span><label id="PREV_EW_ID"></label><span>)</span></td>
  416. </tr>
  417. <tr>
  418. <td align="right" width="120px" class="class_color"><span class="star">*</span><span>预警级别:</span></td>
  419. <td><div style="float:left">&nbsp;<span>本次:</span></div><div style="float:left"><select name="CURRENT_EW_LEVEL_365" class="validate[required]" id="CURRENT_EW_LEVEL_365" selAlign="right" prompt="请选择" selWidth="300"></select></div>&nbsp;&nbsp;</td>
  420. <td><div style="float:left">&nbsp;<span>上次:</span></div><div style="float:left"><select disabled="disabled" id="PREV_EW_LEVEL" selAlign="right" prompt="请选择" selWidth="272"></select></div>&nbsp;&nbsp;</td>
  421. </tr>
  422. <!-- <tr id="isTFDate" style="display: none;">
  423. <td align="right" width="120px" class="class_color"><span class="star">*</span><span>是否台风:</span></td>
  424. <td colspan="2">&nbsp;&nbsp;<input type="radio" class='IsTF' checked="checked" name="isTF" value="true"/>是&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" class='IsTF' name="isTF" value="false"/>否</td>
  425. </tr>
  426. <tr id="typhoonDate" style="display: none;">
  427. <td align="right" width="120px" class="class_color"><span class="star">*</span><span id="dateTitle">预计台风登陆时间:</span></td>
  428. <td colspan="2"><input style="width: 750px" type="text" id="TYPHOON_DATE_365" name="TYPHOON_DATE_365" class="date" dateFmt="yyyy-MM-dd HH:mm:ss"/></td>
  429. </tr> -->
  430. <tr>
  431. <td align="right" width="120px" class="class_color"><span>预警概要:</span></td>
  432. <td colspan="2"><textarea maxNum="2000" style="width: 750px;height: 270px;" name="EW_SUMMARY_365" id="EW_SUMMARY_365"></textarea></td>
  433. </tr>
  434. <tr>
  435. <td align="right" width="120px" class="class_color"><span>预防措施及<br>工作要求:</span></td>
  436. <td colspan="2"><textarea maxNum="2000" style="width: 750px;height: 270px;" name="MEASURE_AND_REQUEST_365" id="MEASURE_AND_REQUEST_365"></textarea></td>
  437. </tr>
  438. <tr>
  439. <td align="right" width="120px" class="class_color"><span>备注:</span></td>
  440. <td colspan="2"><textarea maxNum="2000" style="width: 750px;height: 270px;" name="REMARK_365" id="REMARK_365" ></textarea></td>
  441. </tr>
  442. </table>
  443. <fieldset style=" border-color:#999999; border-top-color: rgb(200,200,200); border-right-color: rgb(200,200,200); border-bottom-color: rgb(200,200,200); border-left-color: rgb(200,200,200); width: 960px" align="center" >
  444. <legend width="960px" >附件信息:</legend>
  445. <table width="960px" class="tableStyle" align="center">
  446. <tr>
  447. <td width="110px" class="class_color" align="right"><span>纸质扫描件:</span></td>
  448. <td colspan="2"><font color=red>只有领导审核、签发的word、pdf、图片(png/jpg)附件才可以上传直接发布</font></td>
  449. </tr>
  450. <tr>
  451. <td width="110px" class="class_color" align="right"><span align="right" class="star">*</span>上传附件:</td>
  452. <td width= "750px" colspan="3"><div style="width:750px" id="fileDiv" name="fileDiv" ></div></td>
  453. </tr>
  454. </table>
  455. </fieldset>
  456. </form>
  457. <form id="alertResponseNumForm" method="post">
  458. <input name="classid" value="368" type="hidden"/>
  459. <input type="hidden" id="COMPANY_ID_368" name="COMPANY_ID_368"/>
  460. <input type="hidden" id="YEAR_368" name="YEAR_368"/>
  461. <input type="hidden" id="NUM_368" name="NUM_368"/>
  462. <input type="hidden" id="IS_ADJUST_368" name="IS_ADJUST_368" value="T"/>
  463. <input type="hidden" id="IS_ALERT_368" name="IS_ALERT_368" value="0"/>
  464. <input type="hidden" id="PLAN_TYPE_ID_368" name="PLAN_TYPE_ID_368" value="-1"/>
  465. </form>
  466. </div>
  467. </body>
  468. </html>