mtProcessAmsFlow.jsp 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  1. <%@page import="com.yw.core.session.OASession"%>
  2. <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
  3. <jsp:useBean id="oasession" class="com.yw.core.session.OASession" scope="session" />
  4. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  5. <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
  6. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  8. <html class=" width960">
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  11. <META http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate">
  12. <title>流程启动</title>
  13. <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  14. <%-- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" /> --%>
  15. <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  16. <%-- <link href="${pageContext.request.contextPath}/yw/bpm/style/bootstrap.css" rel="stylesheet" type="text/css" /> --%>
  17. <%-- <link href="${pageContext.request.contextPath}/yw/bpm/style/flow.css" rel="stylesheet" type="text/css" /> --%>
  18. <link href="/shares/css/yw/flow/bootstrap.css" rel="stylesheet" type="text/css" />
  19. <link href="/shares/css/yw/flow/flow.css" rel="stylesheet" type="text/css" />
  20. <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
  21. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  22. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
  23. <script type="text/javascript" src="/shares/js/constant.js"></script>
  24. <script type="text/javascript" src="/shares/js/common.js"></script>
  25. <script type="text/javascript" src="/shares/js/yw/ams/flow/amsflow.js"></script>
  26. <script type="text/javascript" src="/shares/js/file.js"></script>
  27. <link rel="stylesheet" type="text/css" href="/shares/css/yw/master1/win/jquery.jscrollpane.codrops1.css" />
  28. <script type="text/javascript" src="/shares/js/yw/master1/common.js"></script>
  29. <script type="text/javascript" src="/shares/js/yw/master1/jquery.mousewheel.js"></script>
  30. <!-- the jScrollPane script -->
  31. <script type="text/javascript" src="/shares/js/yw/master1/jquery.jscrollpane.min.js"></script>
  32. <script type="text/javascript" src="/shares/js/yw/master1/scroll-startstop.events.jquery.js"></script>
  33. <script type="text/javascript" src="/shares/js/yw/master1/scroll.js"></script>
  34. <script type="text/javascript">
  35. var insId = "${requestScope.flow.insId}";
  36. var formId = "${requestScope.flow.formId.formId}";
  37. var nextTacheDialog = null;
  38. $(function() {
  39. var nextUserTag = "${requestScope.tmodel.pathJudgeType.value }";
  40. if (nextUserTag == "1") {
  41. $("[name='nextUser']").hide();
  42. var nextTmodelId = $("[name='nextTmodelId']").val();
  43. $("#" + nextTmodelId).show();
  44. }
  45. $("[name='nextTmodelId']").change(function() {
  46. $("[name='nextUser']").hide();
  47. var nextTmodelId = $("[name='nextTmodelId']").val();
  48. $("#" + nextTmodelId).show();
  49. });
  50. $("#instructions").change(function() {
  51. $("#remark").val($("#instructions").val());
  52. });
  53. //当滚动条的位置处于距顶部100像素以下时,跳转链接出现,否则消失
  54. $(window).scroll(function() {
  55. if ($(window).scrollTop() > 100) {
  56. $("#top1").fadeIn(100);
  57. } else {
  58. $("#top1").fadeOut(100);
  59. }
  60. });
  61. //当点击跳转链接后,回到页面顶部位置 keleyi.com
  62. $("#top1").click(function() {
  63. $('body,html').animate({
  64. scrollTop : 0
  65. }, 0);
  66. return false;
  67. });
  68. });
  69. function setFrame() {
  70. var iformIns = document.getElementById("formIns");
  71. iformIns.height = "100px";
  72. iformIns.height = formIns.document.body.scrollHeight;
  73. }
  74. /**
  75. * 点击"提交"展示"选择下一环节信息"
  76. */
  77. function chooseNextTache() {
  78. window.scrollTo(0, 0);
  79. nextTacheDialog.show();
  80. }
  81. /**
  82. * 初始化"选择下一环节信息"对话框
  83. */
  84. $(function() {
  85. nextTacheDialog = $.ligerDialog.open({
  86. width : 1000,
  87. target : $("#nextTache"),
  88. showMax : false,
  89. showToggle : false,
  90. showMin : false,
  91. show : false,
  92. isResize : false,
  93. modal : true,
  94. title : "选择下一环节信息",
  95. allowClose : true,
  96. containerId : 'processForm'
  97. });
  98. nextTacheDialog.hidden();
  99. });
  100. /**
  101. * 关闭"选择下一环节信息"对话框
  102. */
  103. function closeNextTache() {
  104. nextTacheDialog.hidden();
  105. }
  106. function saveFlow(actionUrl, formName) {
  107. var x = $(formName).serializeArray();
  108. $.each(x, function(i, field) {
  109. field.value = encodeURI(field.value);
  110. });
  111. $.ajax({
  112. url : actionUrl,
  113. async : true,
  114. type : "post",
  115. data : x,
  116. success : function(data) {
  117. addInfo(data);
  118. // var oldTabid = $("#tabid").val();
  119. // window.parent.f_reloadTab(oldTabid);
  120. // window.parent.frames[oldTabid].closeODialog();
  121. item('mtAmsFlowAction.do?task=toDealList');
  122. },
  123. error : function() {
  124. alert("数据处理失败,请检查网络重新登录或联系管理员!");
  125. }
  126. });
  127. }
  128. function checkForm() {
  129. var rs = true;
  130. var pathJudgeType = $("#pathJudgeType").val();
  131. if (pathJudgeType == "1") {
  132. rs = $.validate({
  133. name : "nextTmodelId",
  134. model : [ {
  135. type : "require",
  136. msg : "下一步环节不能为空!"
  137. } ]
  138. });
  139. }
  140. var usersNames = $("[type='text'][id*='usersName']:visible");
  141. for (var i = 0; i < usersNames.length; i++) {
  142. rs = $.validate({
  143. name : usersNames[i].id,
  144. model : [ {
  145. type : "require",
  146. msg : "下一步环节操作人不能为空!"
  147. } ]
  148. }) && rs;
  149. }
  150. if (rs) {
  151. return true;
  152. }
  153. return false;
  154. }
  155. //提交
  156. function formJs() {
  157. var rs = checkForm();
  158. $("#formInsId").val("0");
  159. if (rs) {
  160. saveFlow("amsFlowAction.do", "#processForm");
  161. }
  162. }
  163. //驳回
  164. function okCheckRequest() {
  165. //var objParent = document.getElementById("formIns").contentWindow;
  166. //var sign = objParent.document.getElementById("sign");
  167. //if(null != sign){
  168. //if(sign.value==1){
  169. //var request_id = objParent.document.getElementById("request_id").value;
  170. //var param = {"request_id":request_id,"request_check_state":2};
  171. //var action = 'erpPurchaseRequestAction.do?task=check';
  172. //sendAjaxParam(param, action, 'json', requestSuccess);
  173. //}else if(sign.value==2){
  174. //var ins_id = objParent.document.getElementById("ins_id").value;
  175. //window.parent.frames['${param.tabid }'].closeODialog();
  176. //}else if(sign.value==3){
  177. //var outs_id = objParent.document.getElementById("outs_id").value;
  178. //window.parent.frames['${param.tabid }'].closeODialog();
  179. //}
  180. //}
  181. $("#task").val("");
  182. $("#task").val("return");
  183. saveFlow("amsFlowAction.do", "#processForm");
  184. }
  185. </script>
  186. <style type="text/css">
  187. .jp-container {
  188. height: 500px;
  189. position: relative;
  190. overflow: hidden;
  191. }
  192. span[id$="_filespan"] ul {
  193. list-style-type: none;
  194. float: left;
  195. }
  196. </style>
  197. </head>
  198. <body style="background: none; overflow: hidden;" ontouchmove="event.preventDefault();">
  199. <form id="processForm" name="processForm" action="amsFlowAction.do" method="post">
  200. <input type="hidden" id="productAll" name="productAll" value="">
  201. <div class="s_title b10 f6">
  202. <img src="/shares/images/master1/gg_ico.png" width="27" height="26" /> 申请审批
  203. <div class="article_title">
  204. <!-- <input class="art_back" title="返回" name="" onclick="history.back();" type="button" /> -->
  205. <!-- <input class="art_sub" title="提交" name="" type="button" value="" onclick="submitArchiveForm()" /> -->
  206. <%-- <input name="projId" id="projId" type="hidden" value="${requestScope.task.proj_id}" /> --%>
  207. <%-- <input name="fromUrl" id="fromUrl" type="hidden" value="${requestScope.fromUrl}" /> --%>
  208. <button type="button" onclick="chooseNextTache();" class="btn">
  209. 提交
  210. </button>
  211. <!---->
  212. <c:if test="${requestScope.tmodel.se.value == 0}">
  213. <button type="button" onclick="okCheckRequest();" class="btn">
  214. 驳回
  215. </button>
  216. </c:if>
  217. <button type="button" onclick="history.back();" class="btn">
  218. 返回
  219. </button>
  220. </div>
  221. </div>
  222. <div id="jp-container" class="jp-container liuyan">
  223. <div class="navbar">
  224. <!-- <div class="navbar-inner1"> -->
  225. <!-- <button type="button" onclick="chooseNextTache();" class="btn"> -->
  226. <!-- <span>提交</span> -->
  227. <!-- </button> -->
  228. <!-- -->
  229. <%-- <c:if test="${requestScope.tmodel.se.value == 0}"> --%>
  230. <!-- <button type="button" onclick="okCheckRequest();" class="btn"> -->
  231. <!-- <span>驳回</span> -->
  232. <!-- </button> -->
  233. <%-- </c:if> --%>
  234. <%-- <button type="button" onclick="window.parent.frames['${param.tabid }'].closeODialog();" class="btn"> --%>
  235. <!-- <span>关闭</span> -->
  236. <!-- </button> -->
  237. <!-- </div> -->
  238. <div class="navbar-inner2" style="margin-top: 0px;">
  239. <c:if test="${requestScope.tmodel.se.value == 1 }">
  240. <font id="insNameFont" style="color: black; font-family: 微软雅黑; font-size: 30px;">${requestScope.flow.insName }</font>
  241. <input type="text" id="insNameText" style="margin-top: 5px; height: 20px; display: none;" value="${requestScope.flow.insName }">
  242. <a id="insNameEdit" onClick="changeInsName()">点此编辑标题</a>
  243. <a id="insNameEnter" onClick="confirmInsName();" style="display: none;">确定</a>
  244. <input type="hidden" id="insName" name="insName" value="${requestScope.flow.insName }">
  245. </c:if>
  246. <c:if test="${requestScope.tmodel.se.value != 1 }">
  247. <font id="insNameFont" style="color: black; font-family: 微软雅黑; font-size: 30px;">${requestScope.flow.insName }</font>
  248. <font style="color: black; font-family: 微软雅黑; font-size: 20px;">发起人:${requestScope.flow.creator.username }</font>
  249. <input type="hidden" id="insName" name="insName" value="${requestScope.flow.insName }">
  250. </c:if>
  251. </div>
  252. </div>
  253. <div id="word_temp" class="wp" style="position: relative;">
  254. <div id="print_body">
  255. <c:if test="${requestScope.flow.formInsId == '0' }">
  256. <fieldset id="icon-top2">
  257. <div class="wf_shadow">
  258. <span class="z corner_41"></span>
  259. <span class="y corner_12"></span>
  260. <c:if test="${requestScope.flow.formInsId == '0' }">
  261. <iframe width="100%" onload="setFrame();" id="formIns" name="formIns" frameborder="0" scrolling="no" style="width: 100%;"
  262. src="${pageContext.request.contextPath}/amsFlowAction.do?task=toInfoDetail&insId=${requestScope.flow.insId}&tinsId=${requestScope.tache.tinsId}"> </iframe>
  263. </c:if>
  264. <span class="z corner_34"></span>
  265. <span class="y corner_23"></span>
  266. </div>
  267. </fieldset>
  268. </c:if>
  269. <fieldset id="icon-top3" style="border: 1px solid #333333; width: 970px;">
  270. <legend>
  271. <i></i> &nbsp;流程附件
  272. </legend>
  273. <div class="forum-container">
  274. <table class="l-table-edit line" style="margin-left: 10px; width: 950px;">
  275. <tr>
  276. <td class="l-table-edit-text">附件:</td>
  277. <td class="l-table-edit-td"><c:if test="${fn:length(requestScope.fileList) > 0 }">
  278. <table>
  279. <tr>
  280. <td width="20%">上传环节</td>
  281. <td width="20%">上传人</td>
  282. <td width="60%">附件</td>
  283. </tr>
  284. <c:forEach items="${requestScope.fileList }" var="file">
  285. <tr>
  286. <td>${file.file_model_name}</td>
  287. <td>${file.file_create_name}</td>
  288. <td><span class="l-file" len="15">${file.file_value}</span></td>
  289. </tr>
  290. </c:forEach>
  291. </table>
  292. </c:if> <jsp:include page="/include/file.jsp">
  293. <jsp:param name="fieldName" value="fileId" />
  294. <jsp:param name="folder" value="erp/flow" />
  295. <jsp:param name="documentId" value="" />
  296. <jsp:param name="size" value="20" />
  297. <jsp:param name="isDelFile" value="1" />
  298. </jsp:include></td>
  299. </tr>
  300. </table>
  301. </div>
  302. </fieldset>
  303. <fieldset id="icon-top4" style="border: 1px solid #333333; width: 970px;">
  304. <legend>
  305. <i></i> &nbsp;流程审批
  306. </legend>
  307. <div class="forum-container">
  308. <table class="l-table-edit line" style="margin-left: 10px; width: 950px;">
  309. <tr>
  310. <td class="l-table-edit-text" rowspan="2">环节审批:</td>
  311. <td class="l-table-edit-td"><select id="instructions" style="width: 200px;">
  312. <option value="">常用批示语</option>
  313. <c:forEach items="${requestScope.inList }" var="in">
  314. <option value="${in.instructions }">${in.instructions }</option>
  315. </c:forEach>
  316. </select></td>
  317. </tr>
  318. <tr>
  319. <td class="l-table-edit-td"><textarea rows="5" cols="100" id="remark" name="remark"></textarea></td>
  320. </tr>
  321. </table>
  322. <table class="l-table-edit line" style="margin-left: 10px; width: 950px;">
  323. <tr>
  324. <td class="l-table-edit-td" colspan="2">备注及审批意见:</td>
  325. </tr>
  326. <c:forEach items="${requestScope.tList }" var="tinstance">
  327. <c:if test="${tinstance.remark != null && fn:length(tinstance.remark) > 0 }">
  328. <tr>
  329. <td class="l-table-edit-text">${tinstance.user.username }</td>
  330. <td>${tinstance.remark }</td>
  331. </tr>
  332. </c:if>
  333. </c:forEach>
  334. </table>
  335. </div>
  336. </fieldset>
  337. <fieldset id="icon-top5" style="border: 1px solid #333333; height: 300px;">
  338. <legend>
  339. <i></i> &nbsp;流转过程
  340. </legend>
  341. <div id="maingrid2">
  342. <table class="l-table-edit line" style="margin-left: 10px; width: 950px;" id="tableProcess">
  343. <tr>
  344. <td>环节名称</td>
  345. <td>操作人</td>
  346. <td>状态</td>
  347. <td>环节启动时间</td>
  348. <td>环节结束时间</td>
  349. </tr>
  350. <c:forEach items="${requestScope.tList }" var="tinstance">
  351. <tr>
  352. <td>${tinstance.tmodelId.tmodelName }</td>
  353. <td>${tinstance.user.username }</td>
  354. <td>${tinstance.state.dataName }</td>
  355. <td><fmt:formatDate value="${tinstance.createdate}" pattern="yyyy-MM-dd hh:mm:ss" /></td>
  356. <td><fmt:formatDate value="${tinstance.finishdate}" pattern="yyyy-MM-dd hh:mm:ss" /></td>
  357. </tr>
  358. <!-- <fmt:formatDate value="${ins.ins_create_date }" pattern="yyyy-MM-dd"/> -->
  359. </c:forEach>
  360. </table>
  361. </div>
  362. </fieldset>
  363. <!-- <fieldset id="icon-top6" style="border: 1px solid #333333; width: 970px; ">
  364. <legend>
  365. <i></i> &nbsp;流程图
  366. </legend>
  367. <div style="margin-left: 10px; width: 950px;">开发中......</div>
  368. </fieldset> -->
  369. <fieldset></fieldset>
  370. <br>
  371. </div>
  372. </div>
  373. <!-- end nav-->
  374. <input type="hidden" id="tmodelId" name="tmodelId" value="${requestScope.tmodel.tmodelId }">
  375. <input type="hidden" id="tinsId" name="tinsId" value="${requestScope.tache.tinsId }">
  376. <input type="hidden" id="preTinsId" name="preTinsId" value="${requestScope.tache.preTinsId }">
  377. <input type="hidden" id="insId" name="insId" value="${requestScope.flow.insId }">
  378. <input type="hidden" id="modelId" name="modelId" value="${requestScope.fmodel.modelId }">
  379. <input type="hidden" id="task" name="task" value="process">
  380. <input type="hidden" id="formInsId" name="formInsId" value="${requestScope.flow.formInsId }">
  381. <input type="hidden" id="tabid" name="tabid" value="${param.tabid }">
  382. <input type="hidden" id="groupid" name="groupid" value="${requestScope.flow.groupid.groupId}">
  383. <input type="hidden" id="isMoreIns" name="isMoreIns" value="${requestScope.tmodel.isMoreIns.value }">
  384. <input type="hidden" id="pathJudgeType" name="pathJudgeType" value="${requestScope.tmodel.pathJudgeType.value }">
  385. <p class="back-to-top" id="top1" style="display: block;">
  386. <a href="#top"><span></span>返回顶部</a>
  387. </p>
  388. <c:if test="${requestScope.flow.formInsId == '0' }">
  389. <p class="back-to-top" id="top2" style="display: block;">
  390. <a href="#icon-top2"><span></span>查看表单</a>
  391. </p>
  392. </c:if>
  393. <p class="back-to-top" id="top3" style="display: block;">
  394. <a href="#icon-top3"><span></span>查看附件</a>
  395. </p>
  396. <p class="back-to-top" id="top4" style="display: block;">
  397. <a href="#icon-top4"><span></span>审批意见</a>
  398. </p>
  399. <p class="back-to-top" id="top5" style="display: block;">
  400. <a href="#icon-top5"><span></span>流转过程</a>
  401. </p>
  402. <!-- <p class="back-to-top" id="top6" style="display: block;">
  403. <a href="#icon-top6"><span></span>流程图 </a>
  404. </p> -->
  405. <div id="nextTache">
  406. <div class="forum-container">
  407. <table class="l-table-edit line" style="margin-left: 10px; width: 950px;">
  408. <tr>
  409. <th colspan="2">选择下一环节信息</th>
  410. </tr>
  411. <c:choose>
  412. <c:when test="${requestScope.tmodel.pathJudgeType.value == 1 }">
  413. <tr>
  414. <td class="l-table-edit-text" rowspan="2">下一环节<FONT COLOR="red">*</FONT>:
  415. </td>
  416. <td class="l-table-edit-td"><select id="nextTmodelId" name="nextTmodelId" class="width_150" style="margin-top: 4px; margin-bottom: 2px;">
  417. <c:forEach items="${requestScope.nextTmodels }" var="tmodel">
  418. <option value="${tmodel.nextTmodelId.tmodelId }">${tmodel.nextTmodelId.tmodelName }</option>
  419. </c:forEach>
  420. </select></td>
  421. </tr>
  422. <c:forEach items="${requestScope.nextHandTmodels }" var="nhTmodel" varStatus="count">
  423. <tbody id="${nhTmodel.nextTmodelId.tmodelId }" name="nextUser">
  424. <tr>
  425. <td class="l-table-edit-text">下一环节操作人<FONT COLOR="red">*</FONT>:
  426. </td>
  427. <td class="l-table-edit-td"><input type="text" class="width_150" style="margin-top: 4px;" id="usersName${nhTmodel.nextTmodelId.tmodelId }"
  428. name="usersName${nhTmodel.nextTmodelId.tmodelId }" value=""> <input type="hidden" id="users${nhTmodel.nextTmodelId.tmodelId }" name="users${nhTmodel.nextTmodelId.tmodelId }"
  429. value=""> <input type="button" class="btn" style="height: 25px;" id="usersButton${nhTmodel.nextTmodelId.tmodelId }" name="usersButton${nhTmodel.nextTmodelId.tmodelId }"
  430. value="选择人员"></td>
  431. </tr>
  432. <script type="text/javascript">
  433. $(document)
  434. .ready(
  435. function() {
  436. loadTypeTree(
  437. "usersButton${nhTmodel.nextTmodelId.tmodelId }",
  438. {
  439. type : "user",
  440. tab : "1",
  441. backId : "users${nhTmodel.nextTmodelId.tmodelId }",
  442. backName : "usersName${nhTmodel.nextTmodelId.tmodelId }",
  443. tabParam : [ {
  444. tab : "1",
  445. isMultiDept : "1"
  446. } ]
  447. });
  448. });
  449. </script>
  450. </tbody>
  451. </c:forEach>
  452. </c:when>
  453. <c:when test="${requestScope.tmodel.pathJudgeType.value == 0 }">
  454. <c:if test="${fn:length(requestScope.nextHandTmodels) > 0}">
  455. <tr>
  456. <td class="l-table-edit-text">下一环节操作人<FONT COLOR="red">*</FONT>:
  457. </td>
  458. <td class="l-table-edit-td"></td>
  459. </tr>
  460. </c:if>
  461. <c:forEach items="${requestScope.nextHandTmodels }" var="nhTmodel" varStatus="count">
  462. <tbody id="${nhTmodel.nextTmodelId.tmodelId }" name="nextUser">
  463. <tr>
  464. <td class="l-table-edit-text">${nhTmodel.nextTmodelId.tmodelName }<FONT COLOR="red">*</FONT>:
  465. </td>
  466. <td class="l-table-edit-td"><input type="text" class="width_150" style="margin-top: 4px;" id="usersName${nhTmodel.nextTmodelId.tmodelId }"
  467. name="usersName${nhTmodel.nextTmodelId.tmodelId }" value=""> <input type="hidden" id="users${nhTmodel.nextTmodelId.tmodelId }" name="users${nhTmodel.nextTmodelId.tmodelId }"
  468. value=""> <input type="button" class="btn" style="height: 25px;" id="usersButton${nhTmodel.nextTmodelId.tmodelId }" name="usersButton${nhTmodel.nextTmodelId.tmodelId }"
  469. value="选择人员"></td>
  470. </tr>
  471. <script type="text/javascript">
  472. $(document)
  473. .ready(
  474. function() {
  475. loadTypeTree(
  476. "usersButton${nhTmodel.nextTmodelId.tmodelId }",
  477. {
  478. type : "user",
  479. tab : "1",
  480. backId : "users${nhTmodel.nextTmodelId.tmodelId }",
  481. backName : "usersName${nhTmodel.nextTmodelId.tmodelId }",
  482. tabParam : [ {
  483. tab : "1",
  484. isMultiDept : "1"
  485. } ]
  486. });
  487. });
  488. </script>
  489. </tbody>
  490. </c:forEach>
  491. </c:when>
  492. </c:choose>
  493. <tr>
  494. <td class="l-table-edit-text">当前环节名称:</td>
  495. <td class="l-table-edit-td"><input type="hidden" id="tmodelName" name="tmodelName" value="${requestScope.tmodel.tmodelName }"> ${requestScope.tmodel.tmodelName }</td>
  496. </tr>
  497. <tr>
  498. <td class="l-table-edit-text"></td>
  499. <td class="l-table-edit-td"><input type="checkbox" id="isNextSms" name="isNextSms" value="1" <c:if test="${requestScope.tmodel.isSms.value == 1}">
  500. checked="checked"
  501. </c:if>>&nbsp;短信通知下一环节操作人
  502. </td>
  503. </tr>
  504. <tr>
  505. <td style="text-align: center;" colspan="2">
  506. <button type="button" onClick="formJs()" class="btn">
  507. <span>提交</span>
  508. </button>
  509. <button type="button" onClick="closeNextTache()" class="btn">
  510. <span>关闭</span>
  511. </button>
  512. </td>
  513. </tr>
  514. </table>
  515. </div>
  516. </div>
  517. </div>
  518. </form>
  519. </body>
  520. </html>