<%@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.getProcessInstanceId()%>" onclick="ajaxSubmitTest('<%=histProcInst.getProcessInstanceId()%>')"> <%}} %>
流程标题 发起人 发起部门 发起时间 办结时间 持续时间
<%=histProcInst.getProcTitle()%>  <%=histProcInst.getStartUserName()%>  <%=histProcInst.getStarterOrgName()%>  <%=DateUtil.convertDateToString("yyyy-MM-dd HH:mm:ss", histProcInst.getStartTime()) %> <%=DateUtil.convertDateToString("yyyy-MM-dd HH:mm:ss", histProcInst.getEndTime()) %> <%String day=com.blueland.bpm.manage.web.ProcessInstanceController.differByTime(histProcInst.getStartTime(),histProcInst.getEndTime());%> <%if(histProcInst.getEndTime() != null){%> 耗时<%=day%>分钟 <%}%>