sysPlanGet.jsp 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <%@include file="/commons/include/html_doctype.html"%>
  3. <html>
  4. <head>
  5. <%@include file="/commons/include/form.jsp"%>
  6. <title>编辑日程</title>
  7. <style type="text/css">
  8. .owner-span{
  9. font-size: 13px;
  10. background-color: #EFF2F7;
  11. border: 1px solid #CCD5E4;
  12. border-radius: 5px 5px 5px 5px;
  13. cursor: default;
  14. float: left;
  15. height: auto !important;
  16. margin: 3px;
  17. overflow: hidden;
  18. padding: 2px 4px;
  19. white-space: nowrap;
  20. }
  21. </style>
  22. <f:link href="form.css" ></f:link>
  23. <script type="text/javascript" src="${ctx}/js/hotent/platform/form/CommonDialog.js"></script>
  24. <script type="text/javascript" src="${ctx}/js/hotent/platform/system/SysDialog.js"></script>
  25. <script type="text/javascript" src="${ctx}/js/hotent/platform/system/SysPlanScript.js"></script>
  26. <script type="text/javascript" src="${ctx}/js/hotent/CustomValid.js"></script>
  27. <script type="text/javascript" src="${ctx}/servlet/ValidJs?form=sysPlan"></script>
  28. <script type="text/javascript" src="${ctx}/js/hotent/platform/form/AttachMent.js" ></script>
  29. <script type="text/javascript">
  30. $(function(){
  31. //初始化选择器
  32. initData();
  33. //初始化点击人员事件
  34. openDetailEvent();
  35. AttachMent.init("r");
  36. });
  37. </script>
  38. </head>
  39. <body>
  40. <div class="panel">
  41. <div class="panel-top">
  42. <div class="tbar-title">
  43. <span class="tbar-label">日程详细</span>
  44. </div>
  45. <div class="panel-toolbar">
  46. <div class="toolBar">
  47. <div class="group">
  48. <c:choose>
  49. <c:when test="${type eq 'charge'}">
  50. <a class="link back" href="${ctx}/platform/system/sysPlan/charge.ht?currentViweDate=${currentViweDate}"><span></span>1返回</a>
  51. </c:when>
  52. <c:when test="${type eq 'workbench'}">
  53. <a class="link back" href="${ctx}/platform/console/home.ht"><span></span>返回</a>
  54. </c:when>
  55. <c:otherwise>
  56. <a class="link back" href="${ctx}/platform/system/sysPlan/submit.ht?currentViweDate=${currentViweDate}"><span></span>返回</a>
  57. </c:otherwise>
  58. </c:choose>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="panel-body">
  64. <form id="sysPlanEdit" method="post" action="save.ht">
  65. <input type="hidden" name="id" value="${sysPlan.id}"/>
  66. <input type="hidden" name="currentViweDate" value="${currentViweDate}"/>
  67. <input type="hidden" name="type" value="${type}"/>
  68. <table class="table-detail" cellpadding="0" cellspacing="0" border="0">
  69. <tr>
  70. <th width="20%">日志时间:</th>
  71. <td>
  72. ${sysPlan.taskName}
  73. </td>
  74. <th width="20%">提交人:</th>
  75. <td>
  76. <input type="hidden" name="submitId" value="${sysPlan.submitId}" />
  77. <input type="hidden" name="submitor" value="${sysPlan.submitor}" />
  78. <div id='submitDiv'></div>
  79. </td>
  80. </tr>
  81. <tr>
  82. <th width="20%">负责人:</th>
  83. <td>
  84. <input type="hidden" name="chargeId" value="${sysPlan.chargeId}" />
  85. <input type="hidden" name="charge" value="${sysPlan.charge}" />
  86. <div id='chargeDiv'></div>
  87. </td>
  88. <th width="20%">参与人:</th>
  89. <td>
  90. <input type="hidden" name="participantIds" value="${participantIds}" />
  91. <input type="hidden" name="participants" value="${participants}" />
  92. <div id='participantDiv'></div>
  93. </td>
  94. </tr>
  95. <tr>
  96. <th width="20%">开始时间:</th>
  97. <td>
  98. <fmt:formatDate value='${sysPlan.startTime}' pattern='yyyy-MM-dd HH:mm:ss'/>
  99. </td>
  100. <th width="20%">结束时间:</th>
  101. <td>
  102. <fmt:formatDate value='${sysPlan.endTime}' pattern='yyyy-MM-dd HH:mm:ss'/>
  103. </td>
  104. </tr>
  105. <tr>
  106. <th width="20%">日志名称:</th>
  107. <td>
  108. ${sysPlan.projectName}
  109. </td>
  110. <th width="20%">日程进度:</th>
  111. <td>
  112. ${sysPlan.rate}%
  113. </td>
  114. </tr>
  115. <tr>
  116. <th width="20%">相关客户:</th>
  117. <td colspan="3">
  118. <input type="hidden" name="customerId" value="${sysPlan.chargeId}" />
  119. <input type="hidden" name="customer" value="${sysPlan.charge}" />
  120. <div id='customerDiv'></div>
  121. </td>
  122. </tr>
  123. <tr>
  124. <th width="20%">相关文档: </th>
  125. <td>
  126. <div name="div_attachment_container">
  127. <div class="attachement"></div>
  128. <textarea style="display: none" controltype="attachment"
  129. id="doc" name="doc" lablename="主表附件" validate="{}">${sysPlan.doc}</textarea>
  130. </div>
  131. </td>
  132. <th width="20%">日志级别: </th>
  133. <td>
  134. <c:choose>
  135. <c:when test="${empty dicList}">
  136. 请在数据字典定义一个nodeKey为rzlx的分类
  137. </c:when>
  138. <c:otherwise>
  139. <c:forEach items="${dicList }" var="dic">
  140. <c:if test="${dic.itemValue eq sysPlan.planLevel}">${dic.itemName }</c:if>
  141. </c:forEach>
  142. </c:otherwise>
  143. </c:choose>
  144. </td>
  145. </tr>
  146. <tr>
  147. <th width="20%">工单:</th>
  148. <td colspan="3">
  149. <input type="hidden" name="runId" value="${sysPlan.runId}" />
  150. <input type="hidden" name="runName" value="${sysPlan.runName}" />
  151. <div id='runDiv'></div>
  152. </td>
  153. </tr>
  154. <tr>
  155. <th width="20%">内容:</th>
  156. <td colspan="3">
  157. ${sysPlan.description}
  158. </td>
  159. </tr>
  160. <tr>
  161. <th width="20%">字数:</th>
  162. <td colspan="3">
  163. <font color="green">${sysPlan.numberCount}</font>个字
  164. </td>
  165. </tr>
  166. </table>
  167. </form>
  168. </div>
  169. </div>
  170. </body>
  171. </html>