processSendDoc.jsp 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
  2. <%@page import="java.util.ArrayList"%>
  3. <%@page import="com.yw.bpm.instance.model.FileInfo"%>
  4. <%@page import="java.util.List"%>
  5. <%@page import="com.yw.core.session.OASession"%>
  6. <jsp:useBean id="oasession" class="com.yw.core.session.OASession"
  7. scope="session" />
  8. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  9. <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  10. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  11. <html>
  12. <head>
  13. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  14. <title>公文办理</title>
  15. <link href="${pageContext.request.contextPath }/main.css" rel="stylesheet" type="text/css" />
  16. <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  17. <link href="/shares/css/yw/flow/flow.css" rel="stylesheet" type="text/css" />
  18. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  19. <script type="text/javascript" src="/shares/js/constant.js"></script>
  20. <script type="text/javascript" src="/shares/js/common.js"></script>
  21. <script type="text/javascript" src="/shares/js/file.js"></script>
  22. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  23. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
  24. <script src="/shares/xheditor/xheditor-1.1.14/xheditor-1.1.14-zh-cn.min.js" type="text/javascript" ></script>
  25. <!-- 选择窗口需要加载的js文件 start-->
  26. <script src="${pageContext.request.contextPath}/liger/lib/json2.js" type="text/javascript"></script>
  27. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
  28. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
  29. <!-- -->
  30. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerTextBox.js" type="text/javascript"></script>
  31. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
  32. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
  33. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerSpinner.js" type="text/javascript"></script>
  34. <script type="text/javascript" src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js"></script>
  35. <script type="text/javascript" src="/shares/datePicker/WdatePicker.js"></script>
  36. <script type="text/javascript" src="/shares/js/yw/gov/govflow.js"></script>
  37. <script type="text/javascript" src="/shares/js/yw/gov/promptDefine.js"></script>
  38. <script type="text/javascript" src="/shares/js/yw/gov/send/processsenddoc.js"></script>
  39. <style type="text/css">
  40. .l-tab-links {
  41. position: relative;
  42. float: left;
  43. height: 32px;
  44. line-height:32px;
  45. width: 100%;
  46. overflow: hidden;
  47. margin: 0px;
  48. background:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f4f4));
  49. font-size:12px;
  50. background:rgb(245, 245, 245);
  51. }
  52. .l-tab-links .l-selected a {
  53. font-size:12px;
  54. font-weight: bold;
  55. height:30px;
  56. line-height:30px;
  57. }
  58. .l-tab-links li a{
  59. font-size:12px;
  60. color: #777;
  61. font-weight: bold;
  62. height:30px;
  63. line-height:30px;
  64. }
  65. .l-tab-links li.l-selected {
  66. position: relative;
  67. float: left;
  68. height: 30px;
  69. background: #e6e6e6;
  70. overflow: hidden;
  71. text-decoration: none;
  72. background-position: 0 -15px;
  73. -webkit-transition: background-position 0.1s linear;
  74. -moz-transition: background-position 0.1s linear;
  75. -o-transition: background-position 0.1s linear;
  76. transition: background-position 0.1s linear;
  77. }
  78. .l-tab-links ul li {
  79. width: 120px;
  80. float: left;
  81. margin-right: -1px;
  82. margin-bottom: 0;
  83. font-size: 14px;
  84. height: 30px;
  85. line-height: 30px;
  86. text-align: center;
  87. vertical-align: middle;
  88. cursor: pointer;
  89. color: #333333;
  90. text-shadow: 0 1px 1px rgba(255,255,255,0.75);
  91. background-color: #f5f5f5;
  92. background-image: -moz-linear-gradient(top,#ffffff,#e6e6e6);
  93. background-image: -webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#e6e6e6));
  94. background-image: -webkit-linear-gradient(top,#ffffff,#e6e6e6);
  95. background-image: -o-linear-gradient(top,#ffffff,#e6e6e6);
  96. background-image: linear-gradient(to bottom,#ffffff,#e6e6e6);
  97. background-repeat: repeat-x;
  98. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
  99. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  100. border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
  101. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  102. border-bottom-color: #b3b3b3;
  103. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);
  104. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);
  105. box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);
  106. }
  107. </style>
  108. <script type="text/javascript">
  109. var curTab = 1;
  110. var mytab;
  111. $(function(){
  112. $("#btnPre").hide();
  113. $("#btnNext").show();
  114. $("#btnSave").hide();
  115. mytab=$("#div_senddoc").ligerTab({changeHeightOnResize:true, onAfterSelectTabItem:function(tabId){
  116. if(curTab == 1){
  117. try{
  118. var docid = document.getElementById("editoffice").contentWindow.functionName();
  119. if(docid=="0"){
  120. alert("公文正文保存失败!");
  121. }else{
  122. $("#docid").val(docid);
  123. }
  124. } catch(Exception){
  125. alert("公文正文保存失败!");
  126. }
  127. }
  128. if(tabId == "tabitem1"){
  129. curTab = 1;
  130. $("#btnPre").hide();
  131. $("#btnNext").show();
  132. $("#btnSave").hide();
  133. }else if(tabId == "tabitem2"){
  134. curTab = 2;
  135. $("#btnPre").show();
  136. $("#btnNext").show();
  137. $("#btnSave").hide();
  138. }else if(tabId == "tabitem3"){
  139. curTab = 3;
  140. $("#btnPre").show();
  141. $("#btnNext").hide();
  142. $("#btnSave").show();
  143. }
  144. }});
  145. var nextUserTag = "${requestScope.tmodel.pathJudgeType.value }";
  146. if(nextUserTag == "1"){
  147. $("[name='nextUser']").hide();
  148. var nextTmodelId = $("[name='nextTmodelId']").val();
  149. $("#" + nextTmodelId).show();
  150. }
  151. $("[name='nextTmodelId']").change(function(){
  152. $("[name='nextUser']").hide();
  153. var nextTmodelId = $("[name='nextTmodelId']").val();
  154. $("#" + nextTmodelId).show();
  155. });
  156. var nextObject = "${requestScope.tmodel.noticeObject}";
  157. if(nextObject.indexOf("3") >= 0){
  158. $("#noticeOther").show();
  159. }
  160. $("#instructions").change(function(){
  161. $("#remark").val($("#instructions").val());
  162. });
  163. loadTypeTree("noticeButton",{type:"user", tab:"1", backId:"noticeUsers", backName:"noticeUsernames"});
  164. });
  165. function checkForm() {
  166. var rs = $.validate({
  167. name : "docTitle",
  168. model : [ {
  169. type : "require",
  170. msg : "标题名称不能为空!"
  171. }, {
  172. type : "len",
  173. min : 1,
  174. max : 50,
  175. msg : "标题名称长度不能超过50个字!"
  176. } ]
  177. });
  178. if (rs) {
  179. try{
  180. var docid = document.getElementById("editoffice").contentWindow.functionName();
  181. if(docid=="0"){
  182. alert("公文正文保存失败!");
  183. }else{
  184. $("#docid").val(docid);
  185. }
  186. } catch(Exception){
  187. alert("公文正文保存失败!");
  188. return false;
  189. }
  190. return true;
  191. }
  192. return false;
  193. }
  194. function selectPre(){
  195. if(curTab=="2"){
  196. mytab.selectTabItem("tabitem1");
  197. }else if(curTab=="3"){
  198. mytab.selectTabItem("tabitem2");
  199. }
  200. }
  201. function selectNext(){
  202. if(curTab=="1"){
  203. mytab.selectTabItem("tabitem2");
  204. }else if(curTab=="2"){
  205. mytab.selectTabItem("tabitem3");
  206. }
  207. }
  208. </script>
  209. </head>
  210. <body>
  211. <form id="cform" action="govSendDocAction.do" method="post" onsubmit="return checkForm();">
  212. <input type="hidden" id="task" name="task" value="processSendDoc">
  213. <input type="hidden" id="tabid" name="tabid" value="${param.tabid }">
  214. <input type="hidden" id="docid" name="docid" value="${requestScope.sendDoc.docid }">
  215. <div id="title" class="form-button">
  216. <c:choose>
  217. <c:when test="${flowOnOff=='off' }">
  218. <span style="color:red;">请先配置审核流程</span>
  219. </c:when>
  220. <c:when test="${fmodel_state=='0' }">
  221. <span style="color:red;">请先启用审核流程</span>
  222. </c:when>
  223. <c:otherwise>
  224. <input id="btnPre" type="button" class="l-button" value="上一步" onclick="selectPre();" />
  225. <input id="btnNext" type="button" class="l-button" value="下一步" onclick="selectNext();" />
  226. <input id="btnSave" type="button" class="l-button" value="提交" onclick="processSendDoc();" />
  227. </c:otherwise>
  228. </c:choose>
  229. <input type="button" value="关闭" class="l-button" onclick="closeWindow();"/>
  230. </div>
  231. <div class="container-layout" >
  232. <div id="div_senddoc">
  233. <div title="公文正文" id="docBodyTab" style="overflow: hidden;">
  234. <table border="0" cellspacing="1" cellpadding="0" style="border: 1px solid #ededed;width:100%;margin-top:-13px;">
  235. <tr>
  236. <th colspan="5">
  237. <div class="l-table-edit line">&nbsp;</div>
  238. </th>
  239. </tr>
  240. <tr style="height:550px;">
  241. <td colspan="5">
  242. <div id="docBody" style="height:550px;margin: 0; padding: 0;">
  243. <iframe name="editoffice" id="editoffice"
  244. src="${pageContext.request.contextPath}/govNtkoDocAction.do?task=toNtkoDoc&wordHeight=550&docid=${requestScope.sendDoc.docid }"
  245. frameborder="0" scrolling="no" width="100%" height="550" style="margin-top: 3px;" ></iframe>
  246. </div>
  247. </td>
  248. </tr>
  249. </table>
  250. </div>
  251. <div title="公文拟稿封面" id="docCoverTab" style="overflow: hidden;">
  252. <table class="l-table-edit line" border="0" cellspacing="1" cellpadding="0" style="border: 1px solid #ededed;width:100%;margin-top:-13px;">
  253. <thead>
  254. <tr>
  255. <th colspan="5">
  256. <div class="l-table-edit line">&nbsp;</div>
  257. </th>
  258. </tr>
  259. <tr>
  260. <td colspan="5">
  261. <div id="docCover" style="margin: 0; padding: 0">
  262. <div class="forum-container" >
  263. <center>
  264. <table class="l-table-edit line">
  265. <tr>
  266. <th colspan="2">公文拟稿封面</th>
  267. </tr>
  268. <tr>
  269. <td class="l-table-edit-text" >标题:</td>
  270. <td class="l-table-edit-td">
  271. <input type="text" id="docTitle" name="docTitle" value="${requestScope.sendDoc.docTitle }" style="width:180px;" />
  272. </td>
  273. </tr>
  274. </table>
  275. </center>
  276. </div>
  277. </div>
  278. </td>
  279. </tr>
  280. </thead>
  281. </table>
  282. </div>
  283. <div title="公文办理" id="docTransTab" style="overflow: hidden;">
  284. <table class="l-table-edit line" border="0" cellspacing="1" cellpadding="0" style="border: 1px solid #ededed;width:100%;margin-top:-13px;">
  285. <thead>
  286. <tr>
  287. <th colspan="5">
  288. <div class="l-table-edit line">&nbsp;</div>
  289. </th>
  290. </tr>
  291. <tr>
  292. <td colspan="5">
  293. <div id="docTrans" style="margin: 0; padding: 0">
  294. <div class="forum-container">
  295. <fieldset style="border: 1px solid #333333; ">
  296. <legend>
  297. <i></i> &nbsp;附件
  298. </legend>
  299. <div class="forum-container">
  300. <table class="l-table-edit">
  301. <% List<FileInfo> allfileList = (List)(request.getAttribute("fileList"));
  302. List<FileInfo> fileList = new ArrayList();
  303. List<FileInfo> delfileList = new ArrayList();
  304. for(FileInfo file:allfileList){
  305. if("1".equals(file.getState().getValue())){
  306. fileList.add(file);
  307. }else if("0".equals(file.getState().getValue())){
  308. delfileList.add(file);
  309. }
  310. }
  311. %>
  312. <tr>
  313. <td class="l-table-edit-text">附件<span id="delLink"><% if(delfileList.size()>0) {%>(<a id="ahide" onclick="delfileshownhide();">查看已删除附件</a>)<%} %></span>:
  314. </td>
  315. <td class="l-table-edit-td">
  316. <% if(allfileList.size()>0) {%>
  317. <table>
  318. <tr>
  319. <td width="20%">上传环节</td>
  320. <td width="40%">上传人</td>
  321. <td width="40%">附件</td>
  322. </tr>
  323. <% if(fileList.size()>0) {%>
  324. <%
  325. for(FileInfo file:fileList){%>
  326. <tr id="<%=file.getIfileId()%>">
  327. <td width="20%"><%=file.getTinsId().getTmodelId().getTmodelName() %></td>
  328. <td width="40%"><%=file.getCreator().getUsername() %>(<%=file.getTinsId().getFinishdate().toString().substring(0, 19) %>)</td>
  329. <td width="40%">
  330. <% if(file.getCreator().getUserId().equals(String.valueOf(oasession.getLoginID()))){%>
  331. <span id="<%=file.getIfileId()%>_filespan" class="l-file" len="15"><%=file.getFileId().getUniversalid() %></span>
  332. <span id="<%=file.getIfileId()%>_span">
  333. &nbsp;&nbsp;<img width="12" height="12" title="删除" style="cursor: pointer;margin-bottom:-3px;" onclick="delFile('<%=file.getIfileId()%>')" src="/shares/images/no.png" complete="complete"/>
  334. </span>
  335. <%}else {%>
  336. <span class="l-file" len="15"><%=file.getFileId().getUniversalid() %></span>
  337. <%} %>
  338. </td>
  339. </tr>
  340. <% }%>
  341. <%} %>
  342. </table>
  343. <div id="delfiles" style="display: none;">
  344. <table id="delfiletable">
  345. <% if(delfileList.size()>0) {%>
  346. <% for(FileInfo file:delfileList){%>
  347. <tr id="<%=file.getIfileId()%>">
  348. <td width="20%"><%=file.getTinsId().getTmodelId().getTmodelName() %></td>
  349. <td width="40%"><%=file.getCreator().getUsername() %>(<%=file.getTinsId().getFinishdate().toString().substring(0, 19) %>)</td>
  350. <td width="40%">
  351. <span class="l-file" len="15"><%=file.getFileId().getUniversalid() %></span>
  352. <span id="<%=file.getIfileId()%>_span">
  353. <font color="red">(已删除,删除时间:<%=file.getDelTime().toString().substring(0, 19) %>)</font>
  354. </span>
  355. </td>
  356. </tr>
  357. <% }%>
  358. <% }%>
  359. </table>
  360. </div>
  361. <% }%>
  362. <c:if test="${requestScope.tmodel.isOffice.value == 1 }">
  363. <jsp:include page="/include/file.jsp">
  364. <jsp:param name="fieldName" value="fileId"/>
  365. <jsp:param name="folder" value="govflow"/>
  366. <jsp:param name="documentId" value=""/>
  367. <jsp:param name="size" value="20"/>
  368. <jsp:param name="isDelFile" value="1"/>
  369. </jsp:include>
  370. </c:if>
  371. <c:if test="${requestScope.tmodel.isOffice.value == 0 }">
  372. <% if(allfileList.size()==0) {%>无附件数据...<%} %>
  373. </c:if>
  374. </td>
  375. </tr>
  376. </table>
  377. </div>
  378. </fieldset>
  379. <fieldset style="border: 1px solid #333333; ">
  380. <legend>
  381. <i></i> &nbsp;公文办理
  382. </legend>
  383. <center>
  384. <table class="l-table-edit">
  385. <c:choose>
  386. <c:when test="${requestScope.tmodel.pathJudgeType.value == 1 }">
  387. <tr>
  388. <td class="l-table-edit-text">下一环节<FONT COLOR="red">*</FONT>:
  389. </td>
  390. <td class="l-table-edit-td">
  391. <select id="nextTmodelId" name="nextTmodelId" class="width_150 flowText">
  392. <c:forEach items="${requestScope.nextTmodels }" var="tmodel">
  393. <option value="${tmodel.nextTmodelId.tmodelId }">${tmodel.nextTmodelId.tmodelName }</option>
  394. </c:forEach>
  395. </select>
  396. </td>
  397. </tr>
  398. <c:forEach items="${requestScope.nextHandTmodels }" var="nhTmodel" varStatus="count">
  399. <tbody id="${nhTmodel.nextTmodelId.tmodelId }" name="nextUser">
  400. <tr>
  401. <td class="l-table-edit-text">下一环节操作人<FONT COLOR="red">*</FONT>:
  402. </td>
  403. <td class="l-table-edit-td">
  404. <input type="text" class="width_150 flowText" id="usersName${nhTmodel.nextTmodelId.tmodelId }" name="usersName${nhTmodel.nextTmodelId.tmodelId }" value="">
  405. <input type="hidden" id="users${nhTmodel.nextTmodelId.tmodelId }" name="users${nhTmodel.nextTmodelId.tmodelId }" value="">
  406. <input type="button" class="btn flowText" style="height: 25px;" id="usersButton${nhTmodel.nextTmodelId.tmodelId }" name="usersButton${nhTmodel.nextTmodelId.tmodelId }" value="选择人员">
  407. </td>
  408. </tr>
  409. <script type="text/javascript">
  410. $(document).ready(function(){
  411. loadTypeTree("usersButton${nhTmodel.nextTmodelId.tmodelId }",{type:"user", tab:"1", backId:"users${nhTmodel.nextTmodelId.tmodelId }", backName:"usersName${nhTmodel.nextTmodelId.tmodelId }", tabParam:[{tab:"1", isMultiDept:"1"}]});
  412. });
  413. </script>
  414. </tbody>
  415. </c:forEach>
  416. </c:when>
  417. <c:when test="${requestScope.tmodel.pathJudgeType.value == 0 }">
  418. <c:if test="${fn:length(requestScope.nextHandTmodels) > 0}">
  419. <tr>
  420. <td class="l-table-edit-text">下一环节操作人<FONT COLOR="red">*</FONT>:
  421. </td>
  422. <td class="l-table-edit-td"></td>
  423. </tr>
  424. </c:if>
  425. <c:forEach items="${requestScope.nextHandTmodels }" var="nhTmodel" varStatus="count">
  426. <tbody id="${nhTmodel.nextTmodelId.tmodelId }" name="nextUser">
  427. <tr>
  428. <td class="l-table-edit-text">${nhTmodel.nextTmodelId.tmodelName }<FONT COLOR="red">*</FONT>:
  429. </td>
  430. <td class="l-table-edit-td">
  431. <input type="text" class="width_150 flowText" id="usersName${nhTmodel.nextTmodelId.tmodelId }" name="usersName${nhTmodel.nextTmodelId.tmodelId }" value="">
  432. <input type="hidden" id="users${nhTmodel.nextTmodelId.tmodelId }" name="users${nhTmodel.nextTmodelId.tmodelId }" value="">
  433. <input type="button" class="btn flowText" style="height: 25px;" id="usersButton${nhTmodel.nextTmodelId.tmodelId }" name="usersButton${nhTmodel.nextTmodelId.tmodelId }" value="选择人员">
  434. </td>
  435. </tr>
  436. <script type="text/javascript">
  437. $(document).ready(function(){
  438. loadTypeTree("usersButton${nhTmodel.nextTmodelId.tmodelId }",{type:"user", tab:"1", backId:"users${nhTmodel.nextTmodelId.tmodelId }", backName:"usersName${nhTmodel.nextTmodelId.tmodelId }", tabParam:[{tab:"1", isMultiDept:"1"}]});
  439. });
  440. </script>
  441. </tbody>
  442. </c:forEach>
  443. </c:when>
  444. </c:choose>
  445. <tr>
  446. <td class="l-table-edit-text">短信提醒:
  447. </td>
  448. <td class="l-table-edit-td">
  449. <input type="checkbox" id="isNextSms" name="isNextSms" value="1"
  450. <c:if test="${requestScope.tmodel.isSms.value == 1}">
  451. checked="checked"
  452. </c:if>
  453. >&nbsp;短信通知下一环节操作人
  454. </td>
  455. </tr>
  456. <tr id="noticeOther" style="display: none;">
  457. <td class="l-table-edit-text">通知其他人:
  458. </td>
  459. <td class="l-table-edit-td">
  460. <textarea id="noticeUsernames" name="noticeUsernames" class="flowText" rows="3" cols="50"></textarea>
  461. <input type="hidden" id="noticeUsers" name="noticeUsers" value="">
  462. <input type="button" style="height: 25px;" class="btn flowText" id="noticeButton" name="noticeButton" value="选择人员">
  463. </td>
  464. </tr>
  465. <tr>
  466. <td class="l-table-edit-text" rowspan="2">环节审批:
  467. </td>
  468. <td class="l-table-edit-td">
  469. <select id="instructions" class="flowText" style="width: 200px;">
  470. <option value="">常用批示语</option>
  471. <c:forEach items="${requestScope.inList }" var="in">
  472. <option value="${in.instructions }">${in.instructions }</option>
  473. </c:forEach>
  474. </select>
  475. </td>
  476. </tr>
  477. <tr>
  478. <td class="l-table-edit-td">
  479. <textarea rows="5" cols="100" class="flowText" id="remark" name="remark"></textarea>
  480. </td>
  481. </tr>
  482. </table>
  483. </center>
  484. </fieldset>
  485. <input type="hidden" id="insName" name="insName" value="${requestScope.flow.insName }">
  486. <input type="hidden" id="tmodelId" name="tmodelId" value="${requestScope.tmodel.tmodelId }">
  487. <input type="hidden" id="tinsId" name="tinsId" value="${requestScope.tache.tinsId }">
  488. <input type="hidden" id="preTinsId" name="preTinsId" value="${requestScope.tache.preTinsId }">
  489. <input type="hidden" id="insId" name="insId" value="${requestScope.flow.insId }">
  490. <input type="hidden" id="modelId" name="modelId" value="${requestScope.fmodel.modelId }">
  491. <input type="hidden" id="creator" name="creator" value="${requestScope.flow.creator.userId }">
  492. <input type="hidden" id="groupxuserid" name="groupxuserid" value="${requestScope.flow.groupxuserid.id }">
  493. <input type="hidden" id="state" name="state" value="${requestScope.flow.groupxuserid.state }">
  494. <input type="hidden" id="formInsId" name="formInsId" value="${requestScope.flow.formInsId }">
  495. <input type="hidden" id="formId" name="formId" value="${requestScope.fmodel.formId.formId }">
  496. <input type="hidden" id="tabid" name="tabid" value="${param.tabid }">
  497. <input type="hidden" id="dialogId" name="dialogId" value="${param.dialogId }">
  498. <input type="hidden" id="groupid" name="groupid" value="${requestScope.flow.groupid.groupId}">
  499. <input type="hidden" id="isMoreIns" name="isMoreIns" value="${requestScope.tmodel.isMoreIns.value }">
  500. <input type="hidden" id="pathJudgeType" name="pathJudgeType" value="${requestScope.tmodel.pathJudgeType.value }">
  501. <input type="hidden" id="se" name="se" value="${requestScope.tmodel.se.value }">
  502. <input type="hidden" id="userid" name="userid" value="${requestScope.tache.groupxuserid.id}">
  503. <input type="hidden" id="handleValidate" value="${ requestScope.tmodel.handleValidate}">
  504. <input type="hidden" id="reqRemark" name="reqRemark" value="${requestScope.tmodel.reqRemark.value }">
  505. <fieldset style="border: 1px solid #333333; ">
  506. <legend>
  507. <i></i> &nbsp;流转过程
  508. </legend>
  509. <table class="l-table-edit line" style="margin-left: 10px; width: 100%;" >
  510. <tr>
  511. <td width="15%">环节名称</td>
  512. <td width="10%">操作人</td>
  513. <td width="10%">状态</td>
  514. <td width="15%">环节启动时间</td>
  515. <td width="15%">环节结束时间</td>
  516. <td width="35%">备注</td>
  517. </tr>
  518. <c:forEach items="${requestScope.processList }" var="tache">
  519. <tr>
  520. <td>${tache.tache.tmodelId.tmodelName }</td>
  521. <td>${tache.tache.user.username }
  522. <c:if test="${tache.tache.authorizedUser.userId!='0' && tache.tache.authorizedUser.userId!='' && tache.tache.authorizedUser.userId!=null}">
  523. (授权:${tache.tache.authorizedUser.username})
  524. </c:if>
  525. </td>
  526. <td>${tache.tache.state.dataName }</td>
  527. <td>${fn:substring(tache.tache.createdate, 0, 16) }</td>
  528. <td>
  529. <c:if test="${tache.tache.finishdate != null }">
  530. ${fn:substring(tache.tache.finishdate, 0, 16) }
  531. </c:if>
  532. </td>
  533. <td>
  534. <c:if test="${tache.tache.remark != null && fn:length(tache.tache.remark) > 0 }">
  535. ${tache.tache.remark }
  536. </c:if>
  537. </td>
  538. </tr>
  539. </c:forEach>
  540. </table>
  541. </fieldset>
  542. </div>
  543. </div>
  544. </td>
  545. </tr>
  546. </thead>
  547. </table>
  548. </div>
  549. </div>
  550. </div>
  551. </form>
  552. <%@ include file="/include/message.jsp"%>
  553. </body>
  554. </html>