tBusActivitiGreen-add.jsp 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>软件技术类签报</title>
  7. <style>
  8. .ui-button {
  9. display: inline-block;
  10. padding: 2px 2px;
  11. margin-bottom: 0;
  12. font-size: 8px;
  13. font-weight: normal;
  14. line-height: 1.42857143;
  15. text-align: center;
  16. white-space: nowrap;
  17. vertical-align: middle;
  18. -ms-touch-action: manipulation;
  19. touch-action: manipulation;
  20. cursor: pointer;
  21. -webkit-user-select: none;
  22. -moz-user-select: none;
  23. -ms-user-select: none;
  24. user-select: none;
  25. background-image: none;
  26. border: 1px solid transparent;
  27. border-radius: 4px;
  28. }
  29. </style>
  30. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  31. <script type="text/javascript">
  32. $(document).ready(function(){
  33. $('#tt').tabs({
  34. onSelect:function(title){
  35. $('#tt .panel-body').css('width','auto');
  36. }
  37. });
  38. $(".tabs-wrap").css('width','100%');
  39. });
  40. </script>
  41. </head>
  42. <body style="overflow-x: hidden;">
  43. <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" tiptype="1" action="tBusActivitiGreenController.do?doAdd">
  44. <input id="id" name="id" type="hidden" value="${entity.id }"/>
  45. <table cellpadding="0" cellspacing="1" class="formtable">
  46. <tr>
  47. <td align="right">
  48. <label class="Validform_label">所属部门:</label>
  49. </td>
  50. <td class="value" colspan="3">
  51. <input type="hidden" name="departId" id="departId" value="${empty entity.departId?param.departId:entity.departId}"/>
  52. <input type="text" name="depName" id="depName" value="${empty entity.depName?param.depName:entity.depName}" readonly="readonly"/>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td align="right">
  57. <label class="Validform_label">当前状况:</label>
  58. </td>
  59. <td class="value" colspan="3">
  60. <textarea id="current" style="width:600px;height: 100px;" class="inputxt" name="current" datatype="*" >${entity.current}</textarea>
  61. <span class="Validform_checktip"></span>
  62. <label class="Validform_label" style="display: none;">当前状况</label>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td align="right">
  67. <label class="Validform_label">期望效果:</label>
  68. </td>
  69. <td class="value" colspan="3">
  70. <textarea id="expect" style="width:600px;height: 100px;" class="inputxt" name="expect" datatype="*" >${entity.expect}</textarea>
  71. <span class="Validform_checktip"></span>
  72. <label class="Validform_label" style="display: none;">期望效果</label>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td align="right">
  77. <label class="Validform_label">现状附件:</label>
  78. </td>
  79. <td class="value" colspan="3">
  80. <t:webUploader auto="true" busiId="${entity.id}" readOnly="${param.load=='detail' || in_process}"
  81. busiTable="t_b_activiti_green"
  82. bizType="attachment"
  83. extensions="png,jpg,jpeg,bmp"
  84. name="attachment" duplicate="true" fileNumLimit="10"
  85. nullMsg="附件不可为空"></t:webUploader>
  86. <span class="Validform_checktip Validform_right" style="display: none;">文件已上传</span>
  87. <span class="Validform_checktip"></span>
  88. <label class="Validform_label" style="display: none;">期望效果</label>
  89. </td>
  90. </tr>
  91. </table>
  92. </t:formvalid>
  93. </body>
  94. <script src = "webpage/cn/com/lzt/useractiviti/green/tBusUserActivitiGreen.js"></script>