blank_todolist_detail_bpm.jsp 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ include file="/jsp/framework/head.jsp" %>
  3. <%@ page import="cn.sinobest.framework.comm.iface.IOperator" %>
  4. <%@ page import="cn.sinobest.sysmngr.comm.ConVar" %>
  5. <%@ page import="cn.sinobest.framework.util.ConfUtil" %>
  6. <%@ page import="cn.sinobest.framework.util.Util" %>
  7. <%@ page import="cn.sinobest.framework.util.DTOUtil" %>
  8. <%@ taglib uri="/WEB-INF/hnisi.tld" prefix="hnisi" %>
  9. <%-- 导航栏标签 --%>
  10. <hnisi:gNavStr />
  11. <%
  12. String pid = DTOUtil.getValue("pid");//获取流水号
  13. if(null == pid || pid.trim().equals("")){
  14. pid = request.getParameter("pid");
  15. }
  16. String whereCls = "PROCESSINSTANCE_ID = '" + pid + "' and state in('0','2','8') ";
  17. String whereCls1= "PROCESSINSTANCE_ID = '" + pid + "' and state not in('0','2','8') order by TASK_ID asc";
  18. //String whereCls1= "PROCESSINSTANCE_ID = '" + pid + "' order by TASK_ID asc";
  19. IOperator Operator = null;
  20. Object obj = request.getSession().getAttribute(ConVar.LOGIN_SESSION_ID);
  21. String OperID="";
  22. if(obj != null){
  23. Operator = (IOperator)obj;
  24. OperID = Operator.getOperID();
  25. }
  26. %>
  27. <%-- 流程概括查询表单 --%>
  28. <form name="aform" action="${ctx}/sysmngr/web/authmngr/query.do" method="post">
  29. <%-- 流程概括 --%>
  30. <hnisi:gt id="fw_wfbusins_q2_bpm" >
  31. <hnisi:gtData whereCls="<%=whereCls%>" id="fw_wfbusins_q2_bpm"></hnisi:gtData>
  32. </hnisi:gt>
  33. <%-- 环节列表 --%>
  34. <hnisi:glt id="fw_wfbusins_l2_bpm" whereCls="<%=whereCls1%>" height="200">
  35. </hnisi:glt>
  36. <p align="center">
  37. <%-- 关闭按钮--%>
  38. <hnisi:btn name="btnCls" onclick="closeWin()" value="关闭" />
  39. </p>
  40. </form>
  41. <script type="text/javascript">
  42. /**
  43. * 关闭弹出窗口
  44. */
  45. function closeWin() {
  46. window.close();
  47. }
  48. $(function(){
  49. new Service({
  50. serviceId:'blankService',
  51. method:'getOper',
  52. parameters:{'OPERID':<%=OperID%>}
  53. }).sentAjax('发送操作请求',function(data){
  54. CFW.oGt.fnSetForm(aform,{"SPONSOR":data[0].OPERNAME,"APPROVAL_ORGAN":data[0].OPERUNITNAME});
  55. });
  56. });
  57. </script>
  58. </body>
  59. </html>