d13720df2c86f2d9aeaf6899ee9fb61f662d4922.svn-base 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  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="../../../../../include.jsp" %>
  8. <script type="text/javascript" src="/nwyj/scripts/business/em/report/utils.js"></script>
  9. <script type="text/javascript" src="/nwyj/scripts/business/em/report/checkTime.js"></script>
  10. <script type="text/javascript" src="<%=path%>/scripts/business/am/org/maintenance/orgSel.js"></script>
  11. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/system/invoking/invoking.js"></script>
  12. <link href="/nwyj/scripts/showLoading/showLoading.css" rel="stylesheet" type="text/css" />
  13. <script type="text/javascript" src="/nwyj/scripts/showLoading/jquery.showLoading.js"></script>
  14. <script type="text/javascript" src="/nwyj/scripts/business/em/response/report/reportInputPlan/ReportInputPlanAddEdit.js"></script>
  15. <style type="text/css">
  16. #tbsj input{
  17. margin-right: 5px;
  18. }
  19. </style>
  20. <script type="text/javascript">
  21. var fd_id = "<%=request.getParameter("fd_id")%>";
  22. var isAlert = "<%=request.getParameter("isAlert")%>";
  23. var warningId = "<%=request.getParameter("warningId")%>";
  24. var warningNum = "<%=request.getParameter("warningNum")%>";
  25. //取得用户真实名字
  26. var realName = top.com.sinosoft.lz.system.user.LoginInfo.getReal_name();
  27. //部门id
  28. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  29. //部门名称
  30. var deptName = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_names();
  31. //父部门id
  32. var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
  33. var userId = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id();
  34. //用于判断该预警编号是否已添加过填报要求
  35. //用于判断该预警编号是否已添加过填报要求
  36. var _is_add = false;
  37. //保存预警名称编号json
  38. //var earlywa;
  39. var roles = "";
  40. //用于确定日期比较结果
  41. var is_ok_time = true;
  42. var reportTypeJson = {"list":[
  43. { "value":"3", "key":"应急工作专报"},
  44. { "value":"4", "key":"应急工作动态"}]};
  45. var CorpArea = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  46. $(function(){
  47. $("#goback").hover(function(){
  48. $(this).attr("src","/nwyj/images/temp/back_hover.png");
  49. },function(){
  50. $(this).attr("src","/nwyj/images/temp/back.png");
  51. });
  52. //$("#REPORT_TYPE_320").bind("change",check_add);
  53. $("#WRITE_DEPT_ID_320").OrgSel({selectedMulti : true,loadId_in:CorpArea,loadCorp:"loadCorp",setMulti : {
  54. "Y" : "s",
  55. "N" : ""
  56. }});
  57. //获取报告角色
  58. roles = getReportRole();
  59. //修改表单
  60. if(!(fd_id=="null"||fd_id=="")){
  61. $("#titleShow").text("修改响应报告填报要求");
  62. /* var alerttUrl = $.pathname() + '/ws/plan/ReportInputPlanService/getReportInputPlanAlert/';
  63. var alertParams = {
  64. "unitId" : deptId,
  65. "is_alert" : "1"
  66. }
  67. $.post(alerttUrl,alertParams,function(data){
  68. $("#EARLY_WARNING_NAME_320").data("data",data);
  69. $("#EARLY_WARNING_NAME_320").render();
  70. }, "json"); */
  71. var $parent = $("#EARLY_WARNING_NAME_320").parent();
  72. // $("#EARLY_WARNING_NAME_320").remove();
  73. $parent.empty().append('<input name="EARLY_WARNING_NAME_320" class="validate[required]" id="EARLY_WARNING_NAME_320" type="text" value="" readonly="readonly" style="width:78%;">');
  74. $("#EARLY_WARNING_NAME_320").render();
  75. $("#EARLY_WARNING_NAME_320").attr("disabled","disabled");
  76. //隐藏预警名称
  77. /* $("#EARLY_WARNING_NAME_320").parent().hide();
  78. $("#EARLY_WARNING_NAME_320").parent().prev("td").hide();
  79. $("#EARLY_WARNING_ID_320").parent().attr("colspan","3");
  80. $("#EARLY_WARNING_ID_320").width("84%"); */
  81. //预警类别
  82. //$('#REPORT_TYPE_320').initCanstSelect('BM_ReportInputState');
  83. $('#REPORT_TYPE_320').data("data",reportTypeJson);
  84. $('#REPORT_TYPE_320').render();
  85. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  86. var params = {
  87. classid : '320',
  88. objectID : fd_id
  89. };
  90. $.request.query(url,params,function(data){
  91. var temp = "";
  92. if(data.WRITE_DATE_TYPE_320=="临时性"){
  93. temp = data.TEMPORARY_TIME_320;
  94. $("input:radio[name=WRITE_DATE_TYPE_320]").eq(1).attr("checked",true);
  95. change('temporary');
  96. }else{
  97. temp = data.CIRCLE_TIME_320;
  98. $("input:radio[name=WRITE_DATE_TYPE_320]").eq(0).attr("checked",true);
  99. change('round');
  100. }
  101. if(temp.length-1==temp.lastIndexOf(";")){
  102. temp = temp.substring(0, temp.length-2);
  103. }
  104. var timeArr = temp.split(";");
  105. for(var i=0;i<timeArr.length;i++){
  106. if(i!=0){
  107. $("#addBtn").click();
  108. }
  109. $("#time"+i).val(timeArr[i]);
  110. }
  111. $('#editForm').ajaxWrite({data:data});
  112. $("#show_WRITE_DEPT_ID_320").val(data.WRITE_DEPT_NAME_320);
  113. $("#WRITE_DEPT_ID_320").val(data.WRITE_DEPT_ID_320);
  114. $("#WRITE_DEPT_ID_320_show").val(data.WRITE_DEPT_NAME_320);
  115. $("#USER_ID_320").val(data.USER_ID_320);
  116. if(data.REPORT_TYPE_320 == 4){
  117. $("#tbbm").hide();
  118. }
  119. });
  120. }else{//新增
  121. $("#titleShow").text("添加响应报告填报要求");
  122. $("#WRITER_320").val(realName);
  123. $("#INPUT_DEPT_320").val(deptId);
  124. $("#WRITE_TIME_320").val(getDateTime());
  125. $("#USER_ID_320").val(userId);
  126. change('round');
  127. var alerttUrl = $.pathname() + '/ws/plan/ReportInputPlanService/getReportInputPlanAlert/';
  128. $.post(alerttUrl,{unitId : deptId,is_alert : 1},function(data){
  129. $("#EARLY_WARNING_NAME_320").data("data",data);
  130. $("#EARLY_WARNING_NAME_320").render();
  131. $("#EARLY_WARNING_NAME_320").setValue(warningNum);
  132. getSelectedItem();
  133. }, "json");
  134. //预警类别
  135. //$('#REPORT_TYPE_320').initCanstSelect('BM_ReportInputState');
  136. $('#REPORT_TYPE_320').data("data",reportTypeJson);
  137. $('#REPORT_TYPE_320').render();
  138. }
  139. });
  140. //置换周期性、临时性
  141. function change(obj){
  142. if(obj=="round"){
  143. $("#addTime").html("");
  144. var $td=$('<td class="circle_type" colspan="3" fixedCellHeight="true"></td>');
  145. var $date = $('<input type="text" class="date validate[required] round" id="time0" style="width:200px;" dateFmt="HH:mm" readOnly="readOnly"/>');
  146. var $add = $('<input type="button" id="addBtn" value="增加"/>');
  147. var $delete = $('<input type="button" id="addBtn" onclick="deleteTime()" value="删除"/>');
  148. $add.bind("click",addTime);
  149. $td.append($date);
  150. $td.append($add);
  151. $td.append($delete);
  152. $("#addTime").append('<td width="15%" align="right" class="circle_type "><span class="star">*</span>每日:</td>');
  153. $("#addTime").append($td);
  154. $add.render();
  155. $delete.render();
  156. $date.render();
  157. }
  158. if(obj=="temporary"){
  159. $("#addTime").html("");
  160. var $td=$('<td class="temporary_type" colspan="3" fixedCellHeight="true"></td>');
  161. var $date = $('<input type="text" class="date validate[required] temporary" id="time0" style="width:200px;" dateFmt="yyyy-MM-dd HH:mm" readOnly="readOnly"/>');
  162. var $add = $('<input type="button" id="addBtn" value="增加"/>');
  163. var $delete = $('<input type="button" id="addBtn" onclick="deleteTime()" value="删除"/>');
  164. $add.bind("click",addTime);
  165. $td.append($date);
  166. $td.append($add);
  167. $td.append($delete);
  168. $("#addTime").append('<td width="15%" align="right" class="temporary_type "><span class="star">*</span>填报时间:</td>');
  169. $("#addTime").append($td);
  170. $add.render();
  171. $delete.render();
  172. $date.render();
  173. }
  174. }
  175. var timeindex = 0;
  176. function addTime(){
  177. var obj = getTimeId();
  178. if(checkTimeAdd("addTime",obj,timeindex)){
  179. timeindex++;
  180. var obj = getTimeId();
  181. var $date = "";
  182. if(obj=="round"){
  183. $date = $('<input type="text" id="time'+timeindex+'" class="date validate[required] round" style="width:200px;" dateFmt="HH:mm" readOnly="readOnly"/>');
  184. }else{
  185. $date = $('<input type="text" id="time'+timeindex+'" class="date validate[required] temporary" style="width:200px;" dateFmt="yyyy-MM-dd HH:mm" readOnly="readOnly"/>');
  186. }
  187. $("#addBtn").before($date);
  188. $date.render();
  189. //$("#addBtn").render();
  190. //$("#addTime").render();
  191. }
  192. }
  193. function deleteTime(){
  194. var $date = $("#addTime").find(".date");
  195. if($date.length==1){
  196. return;
  197. }else{
  198. $date.last().remove();
  199. timeindex--;
  200. }
  201. }
  202. function getTimeId(){
  203. var $radio = $("#int :radio");
  204. var obj = "";
  205. for(var i=0;i<$radio.length;i++){
  206. if($radio.eq(i).attr("checked")=="checked"){
  207. obj = $radio.eq(i).attr("id");
  208. }
  209. }
  210. return obj;
  211. }
  212. //获取选中项
  213. function getSelectedItem(){
  214. var value = $("#EARLY_WARNING_NAME_320").val();
  215. if(value){
  216. $("#EARLY_WARNING_ID_320").val(value);
  217. $("#PROGRAMME_NAME_320").val(deptName+"_"+value+"响应报告填报要求");
  218. $("#EARLY_WARNING_320").val($("#EARLY_WARNING_NAME_320").attr("relText"));
  219. }else{
  220. $("#EARLY_WARNING_ID_320").val("");
  221. $("#PROGRAMME_NAME_320").val("");
  222. }
  223. var node = $("#EARLY_WARNING_NAME_320").data("selectedNode");
  224. if(node.report_type==4){
  225. reportTypeJson = {"list":[
  226. { "value":"3", "key":"应急工作专报"}]};
  227. }else if(node.report_type==3){
  228. reportTypeJson = {"list":[
  229. { "value":"4", "key":"应急工作简报"}]};
  230. }else{
  231. reportTypeJson = {"list":[
  232. { "value":"3", "key":"应急工作专报"},
  233. { "value":"4", "key":"应急工作简报"}]};
  234. }
  235. $('#REPORT_TYPE_320').data("data",reportTypeJson);
  236. $('#REPORT_TYPE_320').render();
  237. var area_id = node.EARLY_WARNING_AREA_ID;
  238. var area_name = node.EARLY_WARNING_AREA_NAME;
  239. $("#show_WRITE_DEPT_ID_320").val(area_name);
  240. $("#WRITE_DEPT_ID_320").val(area_id);
  241. $("#WRITE_DEPT_ID_320_show").val(area_name);
  242. //check_add()
  243. }
  244. function check_add(){
  245. _is_add = false;
  246. if(fd_id=="null"||fd_id==""){
  247. var alertId = $("#EARLY_WARNING_ID_320").val();
  248. var report_type_id = $("input[name=REPORT_TYPE_320]").val();
  249. if(earlywa){
  250. for(var i = 0; i < earlywa.rows.length;i++){
  251. if(earlywa.rows[i].EARLY_WARNING_ID_320==alertId && report_type_id!="" && earlywa.rows[i].REPORT_TYPE_320.indexOf(report_type_id)>=0){
  252. _is_add = true;
  253. }
  254. }
  255. }
  256. if(_is_add){
  257. top.Dialog.alert("不能重复添加响应填报要求,请重新选择!");
  258. }
  259. }
  260. }
  261. //判定时间
  262. function checkTime(){
  263. var star = $("#beginTime").val();
  264. var end = $("#endTime").val();
  265. if(star&&end&&(star>end)){
  266. top.Dialog.alert("截止日期不能小于起始日期");
  267. return false;
  268. }else{
  269. return true;
  270. }
  271. }
  272. //判断起始时间和截止时间不能小于当前时间
  273. function decideTime(){
  274. var star = $("#beginTime").val();
  275. var end = $("#endTime").val();
  276. if(star&&end&&(getTime()>star||getTime()>end)){
  277. top.Dialog.alert("起始日期或截止日期不能小于当前日期");
  278. return false;
  279. }else if(star&&(getTime()>star)){
  280. top.Dialog.alert("起始日期不能小于当前日期");
  281. return false;
  282. }
  283. else{
  284. return true;
  285. }
  286. }
  287. //获取当前时间:年月日
  288. function getTime(){
  289. var now=allGetServerTime();
  290. var year = now.getFullYear();
  291. var month=now.getMonth()+1;
  292. if(month>=1&&month<=9){
  293. month = "0"+month;
  294. }
  295. //获取日期
  296. var day=now.getDate();
  297. if(day>=1&&day<=9){
  298. day = "0"+day;
  299. }
  300. var currenttime = year+"-"+month+"-"+day;
  301. return currenttime;
  302. };
  303. //获得当前系统时间:年月日时分秒
  304. function getDateTime(){
  305. var s="";
  306. var d = allGetServerTime();
  307. var vYear = d.getFullYear();
  308. var vMon = d.getMonth() + 1;
  309. var vDay = d.getDate();
  310. var h = d.getHours();
  311. var m = d.getMinutes();
  312. var se = d.getSeconds();
  313. 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);
  314. return s;
  315. }
  316. //获取时间框的值
  317. function getVal(){
  318. $int=$("#int").find("input");
  319. for(var i=0;i<$int.length;i++){
  320. if($int.eq(i).attr("checked")=="checked"){
  321. return $int.eq(i).val();
  322. }
  323. }
  324. }
  325. //检查时间
  326. function checkTimes(){
  327. var obj = getTimeId();
  328. var timeStr = "";
  329. var startTime = $("#beginTime").val();
  330. var endTime = $("#endTime").val();
  331. var $date = $("#addTime").find(".date");
  332. var timeType = "HH:mm";
  333. if(obj=="temporary"){
  334. timeType = "yyyy-MM-dd HH:mm";
  335. }
  336. for(var i=0;i<$date.length;i++){
  337. var time = $date.eq(i).val().trim();
  338. if(obj=="temporary"){
  339. var time1 = time.substring(0,10);
  340. if(startTime&&endTime&&(time1<startTime||time1>endTime)){
  341. top.Dialog.alert("填报时间要在起始日期和截止日期之间");
  342. return false;
  343. }else if(startTime&&(time1<startTime)){
  344. top.Dialog.alert("填报时间不能小于起始日期");
  345. return false;
  346. }
  347. }
  348. timeStr +=time+';';
  349. }
  350. timeStr = timeStr.substring(0, timeStr.lastIndexOf(";"));
  351. //timeStrSort(timeStr,"esc",";",timeType)该方法在/nwyj/scripts/freamwork/com/sinosoft/common/common.js中
  352. //第一个参数为要排序的字符串,第二个参数为倒序或顺序:esc,desc;第三个参数为timeStr中每个时间元素的分割符号;第四个参数为timeStr中元素的时间类型:yyyy-MM-dd HH:mm或HH:mm
  353. timeStr = timeStrSort(timeStr,"esc",";",timeType);
  354. if(obj=="temporary"){
  355. $("#TEMPORARY_TIME_320").val(timeStr);
  356. }else{
  357. $("#CIRCLE_TIME_320").val(timeStr);
  358. }
  359. return true;
  360. }
  361. //改变报告类别时,
  362. function changeReportType(){
  363. var reportType = $("#REPORT_TYPE_320").val();
  364. if(reportType == 3){//应急工作专报
  365. var value = $("#EARLY_WARNING_NAME_320").val();
  366. $("#PROGRAMME_NAME_320").val(deptName+"_"+value+"专报填报要求");
  367. var node = $("#EARLY_WARNING_NAME_320").data("selectedNode");
  368. var area_id = node.EARLY_WARNING_AREA_ID;
  369. var area_name = node.EARLY_WARNING_AREA_NAME;
  370. $("#show_WRITE_DEPT_ID_320").val(area_name);
  371. $("#WRITE_DEPT_ID_320").val(area_id);
  372. $("#WRITE_DEPT_ID_320_show").val(area_name);
  373. $("#tbbm").show();
  374. }else{//应急工作简报
  375. var value = $("#EARLY_WARNING_NAME_320").val();
  376. $("#PROGRAMME_NAME_320").val(deptName+"_"+value+"工作动态填报要求");
  377. $("#tbbm").hide();
  378. $("#WRITE_DEPT_ID_320").val(roles.split(";")[0]);
  379. $("#WRITE_DEPT_ID_320_show").val(roles.split(";")[1]);
  380. $("#show_WRITE_DEPT_ID_320").val(roles.split(";")[1]);
  381. }
  382. }
  383. function getReportRole(){
  384. var rol_name = "";
  385. var roleid = "";
  386. $.ajax({
  387. url : $.pathname() + '/ws/qrps/QueryReportProgrammeService/loadJBRole',
  388. type : 'post',
  389. timeout : 15000,
  390. dataType : 'json',
  391. data:{"corpId":deptId},
  392. async:false,
  393. success : function(data) {
  394. for (var i = 0; i < data.length; i++) {
  395. rol_name += data[i].ROLE_NAME+",";
  396. roleid += data[i].ROLE_ID+",";
  397. }
  398. },
  399. error : function(e) {
  400. $.messager.alert('访问服务失败!');
  401. }
  402. });
  403. if(rol_name.lastIndexOf(",")==rol_name.length-1){
  404. rol_name = rol_name.substring(0,rol_name.length-1);
  405. }
  406. if(roleid.lastIndexOf(",")==roleid.length-1){
  407. roleid = roleid.substring(0,roleid.length-1);
  408. }
  409. return roleid + ";" + rol_name;
  410. }
  411. </script>
  412. </head>
  413. <body class="bd" align="center" >
  414. <div id="formContent" class="d_ground">
  415. <div class="title" align="center"><a href="javascript:;"><img id='goback' title="返回" class="back" title="返回" align="left" alt="返回" title="返回" src="/nwyj/images/temp/back.png" ></img></a><font class="title_font" id="titleShow"></font></div>
  416. <form id="editForm">
  417. <input name="classid" value="320" type="hidden" />
  418. <input type="hidden" name="FD_OBJECTID320" value=""/>
  419. <input name="WRITE_DEPT_NAME_320" id="WRITE_DEPT_NAME_320" type="hidden">
  420. <input name="IS_RELEASE_320" id="IS_RELEASE_320" value="0" type="hidden">
  421. <input name="WRITER_320" id="WRITER_320" value="0" type="hidden">
  422. <input name="WRITE_TIME_320" id="WRITE_TIME_320" type="hidden">
  423. <input name="INPUT_DEPT_320" id="INPUT_DEPT_320" type="hidden">
  424. <input id="IS_ALERT_320" name="IS_ALERT_320" value="1" type="hidden"/>
  425. <input id="EARLY_WARNING_320" name="EARLY_WARNING_320" value="" type="hidden"/>
  426. <input id="TEMPORARY_TIME_320" name="TEMPORARY_TIME_320" value="" type="hidden"/>
  427. <input id="CIRCLE_TIME_320" name="CIRCLE_TIME_320" value="" type="hidden"/>
  428. <input id="USER_ID_320" name="USER_ID_320" value="" type="hidden"/>
  429. <input name="EARLY_WARNING_ID_320" type="hidden" id="EARLY_WARNING_ID_320"/>
  430. <!-- 保存和重置 -->
  431. <div class="button_jl">
  432. <input value="保存" type="button"id="save" />&nbsp;&nbsp;
  433. <input value="保存并发布" type="button"id="saveAndRelease" />&nbsp;&nbsp;
  434. <input value="重置" type="button" onclick="formReset()"/>&nbsp;&nbsp;&nbsp;&nbsp;
  435. </div><br />
  436. <fieldset class="fieldset">
  437. <legend class="legend">基本信息:</legend>
  438. <table class="add_table_style" >
  439. <tr>
  440. <td align="right" width="15%" ><span class="star">*</span>响应编号:</td>
  441. <td width="35%"><select class="validate[required] selectWidth " swidth="78%"
  442. id="EARLY_WARNING_NAME_320" name="EARLY_WARNING_NAME_320" prompt="请选择" onchange="getSelectedItem();">
  443. </select></td>
  444. <!-- <td width="15%" align="right"><span class="star">*</span>应急响应编号:</td>
  445. <td width="35%" ><input name="EARLY_WARNING_ID_320" class="validate[required]"
  446. id="EARLY_WARNING_ID_320" readonly="readonly" type="text" value="" maxlength=""
  447. style="width:90%"></td> -->
  448. <td width="15%" align="right" ><span class="star">*</span>填报要求名称:</td>
  449. <td width="35%" ><input name="PROGRAMME_NAME_320" class="validate[required]"
  450. id="PROGRAMME_NAME_320" type="text" value="" maxlength="80"
  451. style="width:78%"></td>
  452. </tr>
  453. <tr>
  454. <td align="right" ><span class="star">*</span>报告类别:</td>
  455. <td >
  456. <!-- <div name="REPORT_TYPE_320" class="selectTree validate[required] selectWidth " swidth="78%" id="REPORT_TYPE_320" multiMode="true" onchange="check_add();">
  457. </div> -->
  458. <select class="validate[required] selectWidth " swidth="78%"
  459. id="REPORT_TYPE_320" name="REPORT_TYPE_320" prompt="请选择" onchange="changeReportType();">
  460. </select>
  461. </td>
  462. <td></td>
  463. <td></td>
  464. </tr>
  465. <tr id="tbbm">
  466. <td align="right" ><span class="star">*</span>填报单位:</td>
  467. <td colspan="3"><div id="WRITE_DEPT_ID_320" allclickset="1" ></div></td>
  468. </tr>
  469. <tr>
  470. <td align="right" ><span class="star">*</span>起始日期:</td>
  471. <td ><input type="text" id="beginTime" readOnly="readOnly" style="width:78%"
  472. name="START_TIME_320" class="date validate[required]" dateFmt="yyyy-MM-dd" onchange="checkdate()"/></td>
  473. <td width="10%" align="right" >截止日期:</td>
  474. <td ><input type="text" id="endTime" readOnly="readOnly" style="width:78%"
  475. name="EXPIRATION_DATE_320" class="date" dateFmt="yyyy-MM-dd" onchange="checkdate()"/> </td>
  476. </tr>
  477. <tr>
  478. <td align="right" ><span class="star">*</span>填报时间表:</td>
  479. <td colspan="3" id="int">
  480. <input type="radio" value="周期性" id="round" checked="checked" name="WRITE_DATE_TYPE_320" onclick="change('round');">
  481. <label for="round">周期性</label>
  482. <input type="radio" value="临时性" id="temporary" name="WRITE_DATE_TYPE_320" onclick="change('temporary');">
  483. <label for="temporary" >临时性</label>
  484. <!-- <input type="radio" id="male-1" name="WRITE_DATE_TYPE_320" value="周期性" checked="checked"/>
  485. <label for="male-1" class="hand">周期性</label>
  486. <input type="radio" id="female-1" name="WRITE_DATE_TYPE_320" value="临时性"/>
  487. <label for="female-1" class="hand">临时性</label> -->
  488. </td>
  489. </tr>
  490. <tr id="addTime"></tr>
  491. </table>
  492. </fieldset>
  493. </form>
  494. </div>
  495. </body>