powerFile.jsp 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/webpage/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>电气竣工流程</title>
  6. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  7. <meta name="decorator" content="ani"/>
  8. <%@ include file="/webpage/include/bootstraptable.jsp"%>
  9. <%@include file="/webpage/include/treeview.jsp" %>
  10. <%@include file="powerFile.js"%>
  11. </head>
  12. <body>
  13. <div class="wrapper wrapper-content">
  14. <div class="panel panel-primary">
  15. <div class="panel-heading">
  16. <h3 class="panel-title">上传涉电开工资料</h3>
  17. </div>
  18. <div class="panel-body">
  19. <!-- 表格 -->
  20. <table id="testPicTable" data-toolbar="#toolbar"></table>
  21. <div class="panel-body">
  22. <form:form id="inputForm" modelAttribute="materialModule" class="form-horizontal">
  23. <form:hidden path="id"/>
  24. <form:hidden path="act.taskId"/>
  25. <form:hidden path="act.taskName"/>
  26. <form:hidden path="act.taskDefKey"/>
  27. <form:hidden path="act.procInsId"/>
  28. <form:hidden path="act.procDefId"/>
  29. <input type="hidden" id="procInsId" name="procInsId" value="${materialModule.act.procInsId}"/>
  30. <table class="table table-bordered">
  31. <tbody>
  32. <tr>
  33. <td class="width-35 active" style="text-align: right">项目名称:</td>
  34. <td class="width-35">
  35. ${materialModule.projectName}
  36. </td>
  37. </tr>
  38. <tr>
  39. <td class="width-15 active"><label class="pull-right"><font color="red">*</font>文件上传:</label></td>
  40. <td class="width-35">
  41. <sys:fileUpload path="pic" fileNumLimit="50" fileSizeLimit="50" value="${testPic.pic}" type="file" uploadPath="/materialModule"></sys:fileUpload>
  42. </td>
  43. </tr>
  44. </tbody>
  45. </table>
  46. </form:form>
  47. <div class="row">
  48. <div class="col-sm-3"></div>
  49. <div class="col-sm-6">
  50. <div class="form-group text-center">
  51. <input id="agree" class="btn btn-primary btn-lg btn-parsley" type="submit" value="提交" />&nbsp;
  52. </div>
  53. </div>
  54. </div>
  55. <c:if test="${not empty materialModule.id}">
  56. <act:flowChart procInsId="${materialModule.act.procInsId}"/>
  57. <act:histoicFlow procInsId="${materialModule.act.procInsId}" />
  58. </c:if>
  59. </div>
  60. <!-- context menu -->
  61. <ul id="context-menu" class="dropdown-menu">
  62. </ul>
  63. </div>
  64. </div>
  65. </div>
  66. </body>
  67. </html>