39b50a204073c81274b7358ba2141687061c336d.svn-base 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <%@page language="java" 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. <style type="text/css">
  9. input{
  10. cursor: pointer;
  11. }
  12. .delete_btn{
  13. height:25px;
  14. margin-top: 7px;
  15. }
  16. .btnclass{
  17. position: absolute;
  18. right: 15%;
  19. top: -5px;
  20. }
  21. </style>
  22. <script type="text/javascript">
  23. var file_suoshu = "1";
  24. var fd_id = "<%=request.getParameter("fd_id")%>";
  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.getDeptids();
  29. //部门名称
  30. var deptName = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
  31. //获取当前日期
  32. var currDate = getNowFormatDate();
  33. //返回主页面
  34. function goBack() {
  35. //获取iframe中的元素值
  36. var iframe =parent.parent.document.getElementsByName("frmright")[0];
  37. iframe.src = "/nwyj/page/business/gps/taskManagement/taskManagement.jsp";
  38. }
  39. //页面初始化
  40. $(function(){
  41. //$('#fileDiv').getUploadFileContent1($('#fileDiv'));
  42. $("#fileDiv").newAsyncFileUpload("",fd_id);//附件
  43. //$('#fileDiv1').getUploadFileContent1($('#fileDiv1'));
  44. $("#fileDiv1").newAsyncFileUpload("",fd_id);//附件
  45. $("#INPUT_DEPT_614").val(deptName);
  46. $("#INPUT_NAME_614").val(realName);
  47. $("#INPUT_TIME_614").val(currDate);
  48. $("#FD_TASK_614").val(fd_id);
  49. $("#1INPUT_DEPT_614").val(deptName);
  50. $("#1INPUT_NAME_614").val(realName);
  51. $("#1INPUT_TIME_614").val(currDate);
  52. $("#1FD_TASK_614").val(fd_id);
  53. $("#titleShow1").text("保供电风险评估信息");
  54. $("#titleShow2").text("保供电风险评估指标信息");
  55. $("#titleShow3").text("保供电风险评估报告信息");
  56. });
  57. </script>
  58. <script type="text/javascript" src="<%=path%>/scripts/business/gps/taskManagement/gpsTaskMsg/gpsFileFXEdit.js"></script>
  59. <script type="text/javascript" src="/nwyj/scripts/business/gps/taskManagement/setIframeHeight.js"></script>
  60. </head>
  61. <body>
  62. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
  63. <div style="height: 50px;background: #F8F8F8;" align="center">
  64. <a href="javascript:;">
  65. <img align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="goBack();"></img>
  66. </a>
  67. <font style="font-weight: bold;font-size: 20px;line-height: 45px;" id="titleShow1"></font>
  68. </div>
  69. <form id="editForm" method="post" enctype="multipart/form-data">
  70. <input name="classid" value="614" type="hidden"/>
  71. <input type="hidden" id="FD_OBJECTID614" name="FD_OBJECTID614" value=""/>
  72. <input id="INPUT_DEPT_614" name="INPUT_DEPT_614" type="hidden"/><!-- 填报部门 -->
  73. <input id="INPUT_TIME_614" name="INPUT_TIME_614" type="hidden"/><!-- 填报时间 -->
  74. <input id="INPUT_NAME_614" name="INPUT_NAME_614" type="hidden"/><!-- 填报人 -->
  75. <input id="FD_TASK_614" name="FD_TASK_614" type="hidden"/><!-- 任务表序号 -->
  76. <input id="FILE_SUOSHU_614" name="FILE_SUOSHU_614" value="1" type="hidden"/>
  77. <input id="FENGXIAN_TYPE_614" name="FENGXIAN_TYPE_614" value="1" type="hidden"/><!-- 保供电风险类型(1指标,2报告) -->
  78. <table style="border: none" width="100%">
  79. <tr>
  80. <td width="20%" style="font-size: 20px;font-weight: bold;color:#41A6D9;" id="titleShow2"></td>
  81. </tr>
  82. </table>
  83. <!-- <table style="border: none" width="100%">
  84. <tr>
  85. <td width="70%"><div id="fileDiv"></div></td>
  86. <td width="30%" vertical-align="bottom"><input value="导入指标信息" type="button" id="addFile" /></td>
  87. </tr>
  88. </table> -->
  89. <fieldset style="border-color:#999999;" id="fileTable" >
  90. <legend>附件信息:</legend>
  91. <div id="fileDiv" style="position: relative;" ><font color=red size="3">上传的文件大小不能超过40M!</font><span style="position: absolute;right:10%;top:-5px;" ><input value="保存" type="button" id="addFile" /></span></div>
  92. </fieldset>
  93. </form>
  94. <div style="padding:5px 0 0 0;"></div>
  95. <div id="dataGrid"></div>
  96. </div>
  97. <div class="box1" id="formContent1" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
  98. <form id="editForm1" method="post" enctype="multipart/form-data">
  99. <input name="classid" value="614" type="hidden"/>
  100. <input id="1INPUT_DEPT_614" name="INPUT_DEPT_614" type="hidden"/><!-- 填报部门 -->
  101. <input type="hidden" id="1FD_OBJECTID614" name="FD_OBJECTID614" value=""/>
  102. <input id="1INPUT_TIME_614" name="INPUT_TIME_614" type="hidden"/><!-- 填报时间 -->
  103. <input id="1INPUT_NAME_614" name="INPUT_NAME_614" type="hidden"/><!-- 填报人 -->
  104. <input id="1FD_TASK_614" name="FD_TASK_614" type="hidden"/><!-- 任务表序号 -->
  105. <input id="1FILE_SUOSHU_614" name="FILE_SUOSHU_614" value="1" type="hidden"/>
  106. <input id="1FENGXIAN_TYPE_614" name="FENGXIAN_TYPE_614" value="2" type="hidden"/><!-- 保供电风险类型(1指标,2报告) -->
  107. <table style="border: none" width="100%">
  108. <tr>
  109. <td width="20%" style="font-size: 20px;font-weight: bold;color:#41A6D9;" id="titleShow3"></td>
  110. </tr>
  111. </table>
  112. <!-- <table style="border: none" width="100%">
  113. <tr>
  114. <td width="70%"><div id="fileDiv1"></div></td>
  115. <td width="30%" vertical-align="bottom"><input value="导入报告信息" type="button" id="addFile1" /></td>
  116. </tr>
  117. </table> -->
  118. <fieldset style="border-color:#999999;" id="fileTable1" >
  119. <legend>附件信息:</legend>
  120. <div id="fileDiv1"style="position: relative;" ><font color=red size="3">上传的文件大小不能超过40M!</font><span style="position: absolute;right:10%;top:-5px;" ><input value="保存" type="button" id="addFile" /></span></div>
  121. </fieldset>
  122. </form>
  123. <div style="padding:5px 0 0 0;"></div>
  124. <div id="dataGrid1"></div>
  125. </div>
  126. </body>