4610f273f408fe334708ee7ec03d2cf0f7e707ee.svn-base 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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="../../../../include.jsp"%>
  8. <style type="text/css">
  9. input{
  10. cursor: pointer;
  11. }
  12. .errorData{
  13. color:red;
  14. }
  15. td .textinput,td .textinput_hover,td .textinput_click{
  16. width:inherit;
  17. }
  18. </style>
  19. <script type="text/javascript">
  20. var fd_id = "<%=request.getParameter("fd_id")%>";
  21. var taskData = getThing("/nwyj/ws/crud/CRUDService/getDataById/", {classid : '610',objectID : fd_id});//任务编号
  22. taskNum = "";
  23. taskNum = taskData.GPS_TASK_NUMBER_610;
  24. //返回主页面
  25. function goBack() {
  26. //获取iframe中的元素值
  27. var iframe =parent.parent.document.getElementsByName("frmright")[0];
  28. iframe.src = "/nwyj/page/business/gps/taskManagement/taskManagement.jsp";
  29. }
  30. function formReset(){
  31. window.location.href = "/nwyj/page/business/gps/taskManagement/gpsTaskMsg/gpsZiYuanBaoBiaoEdit.jsp?fd_id="+fd_id;
  32. }
  33. $(function(){
  34. $("#FD_TASK_620").val(fd_id);
  35. $("#downloadUserModel").bind('click',function(){
  36. window.open("/nwyj/excels/onBgdBaoBiao.xls");
  37. })
  38. })
  39. </script>
  40. <script type="text/javascript" src="<%=path%>/scripts/business/gps/taskManagement/gpsTaskMsg/gpsZiYuanBaoBiaoEdit.js"></script>
  41. <script type="text/javascript" src="/nwyj/scripts/business/gps/taskManagement/setIframeHeight.js"></script>
  42. </head>
  43. <body>
  44. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
  45. <div style="height: 50px;background: #F8F8F8;" align="center"><a href="javascript:;"><img align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="goBack();"></img></a>
  46. <font style="font-weight: bold;font-size: 20px;line-height: 45px;" id="titleShow">保供电报表</font></div>
  47. <form id="editForm" method="post" enctype="multipart/form-data">
  48. <input type="hidden" name="FD_TASK_620" id="FD_TASK_620" required="true" />
  49. <input type="hidden" name="classid" value="630" required="true" />
  50. <table style="border: none" width="100%">
  51. <tr>
  52. <!-- <td width="20%" style="font-size: 20px;font-weight: bold;color:#41A6D9;">保供电报表</td> -->
  53. <td colspan="4" align="right"><input value="保存" type="button" id="save" />&nbsp;&nbsp;
  54. <input value="重置" type="button" onclick="formReset()"/>&nbsp;&nbsp;&nbsp;&nbsp;
  55. <input value="导出" type="button" id="export_btn"/>&nbsp;&nbsp;&nbsp;&nbsp;</td>
  56. </tr>
  57. <tr>
  58. <td align="right" width="30%">选择导入文件:</td>
  59. <td width="25%"><input name="import_report" fileWidth="300" id="import_report" type="file" contenteditable="false" /></td>
  60. <td width="10%"><div><input type="button" value="导入保供电报表数据" id="import_gpsUser"/></div></td>
  61. <td><div><input type="button" value="下载保供电报表模版" id="downloadUserModel"/></div></td>
  62. </tr>
  63. </table>
  64. </form>
  65. <div style="padding:5px 0 0 0;"></div>
  66. <div id="dataGrid"></div>
  67. </div>
  68. </body>