<%@page import="org.activiti.engine.repository.ProcessDefinition" %> <%@page import="org.activiti.engine.impl.persistence.entity.*" %> <%@page import="org.activiti.engine.repository.Deployment" %> <%@page import="com.blueland.bpm.engine.config.model.*" %> <%@page import="com.blueland.bpm.common.page.*" %> <%@page import="com.blueland.bpm.common.util.*"%> <%@page import="java.util.*" %> <%@ page contentType="text/html;charset=UTF-8" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%> <%@ include file="/commons/taglibs.jsp" %> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <%@ include file="/commons/meta.jsp" %> 待办列表 <%@ include file="/commons/messages.jsp" %>
流程实例管理
<% Page mypage=(Page)request.getAttribute("page"); List histProcInsts=mypage.getResult(); if(histProcInsts!=null){ for(int i=0;i "> <%}} %>
流程定义名称 流程标题 流程实例ID 创建人 创建部门 发起时间 持续时间 状态
<%=histProcInst.getProcessDefinitionName()%>  <%=histProcInst.getProcTitle()%>  <%=histProcInst.getId()%> <%if(null!=histProcInst.getStartUserName()){%> <%=histProcInst.getStartUserName()%> (<%=histProcInst.getStartUserId()%>) <%}else{ %> <%=histProcInst.getStartUserId()%> <%} %> <%=histProcInst.getStarterOrgName()%> " class="td"> <%=DateUtil.convertDateToString("yyyy-MM-dd HH:mm:ss", histProcInst.getStartTime()) %> <%String day=com.blueland.bpm.manage.web.ProcessInstanceController.differByDay(histProcInst.getStartTime(),new Date());%> <%if(Integer.parseInt(day)<=3){ %>耗时<%=day%>天 <% }else if(Integer.parseInt(day)<=10){%> 耗时<%=day%>天 <%}else if(Integer.parseInt(day)>10){%> 耗时<%=day%>天 <%}%> <%if(histProcInst.getProcState()==1){ %>正常 <% }else if(histProcInst.getProcState()==2){%> 暂停 <%}else if(histProcInst.getProcState()==3){%> 作废 <%}%>