107 lines
4.7 KiB
Plaintext
107 lines
4.7 KiB
Plaintext
<%@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+"/";
|
|
%>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<%@ include file="/commons/meta.jsp"%>
|
|
<base href="<%=basePath%>">
|
|
<title>组织效率明细</title>
|
|
<script language="javascript" type="text/javascript" src="${ctx}/resource/js/plugins/My97DatePicker/WdatePicker.js"></script>
|
|
<link href="${ctx}/resource/js/plugins/loadmask/jquery.loadmask.css" rel="stylesheet" type="text/css" />
|
|
<script type='text/javascript' src='${ctx}/resource/js/plugins/loadmask/jquery.loadmask.js'></script>
|
|
<link href="${ctx_js_plugins}/simpletable/simpletable.css" type="text/css" rel="stylesheet">
|
|
<script type="text/javascript" src="${ctx_js_plugins}/simpletable/simpletable.js"></script>
|
|
<script type="text/javascript" >
|
|
$(document).ready(function() {
|
|
window.simpleTable = new SimpleTable('queryForm','${page.thisPageNumber}','${page.pageSize}','${pageRequest.sortColumns}');
|
|
});
|
|
function query(){
|
|
setMask("can-container");
|
|
document.getElementById("queryForm").submit();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<%@ include file="/commons/messages.jsp"%>
|
|
<form id="queryForm" name="queryForm" method="post" style="display: inline;" action="${ctx}/workflow/getProInstEfficiencyByOrg.do">
|
|
<div class="main-container" id="can-container">
|
|
<div class="panel panel-primary">
|
|
<div class="panel-heading">
|
|
<h8>组织效率:${params.appName }</h8>
|
|
</div>
|
|
<div class="panel-body" id="panel-body" style="padding:3px;">
|
|
<div class="well well-sm" style="margin-bottom: 2px;">
|
|
<table border="0" cellspacing="0" cellpadding="0" class="table-search">
|
|
<tr>
|
|
<td>流程名称:</td>
|
|
<td><input value="${params.procDefName}" id="procDefName" name="procDefName" /></td>
|
|
<td>流程标题:</td>
|
|
<td><input value="${params.procTitle}" id="procTitle" name="procTitle" /></td>
|
|
<td>环节名称:</td>
|
|
<td><input value="${params.actInstName}" id="actInstName" name="actInstName" /></td>
|
|
<td>人员名称:</td>
|
|
<td><input value="${params.userName}" id="userName" name="userName" /></td>
|
|
<td>
|
|
<input value="${params.appId}" id="appId" name="appId" type="hidden"/>
|
|
<input value="${params.orgId}" id="orgId" name="orgId" type="hidden"/>
|
|
<button type="submit" onclick="query()"class="btn btn-xs btn-primary">
|
|
查询<i class="ace-icon fa fa-search bigger-110"></i>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<div class="table-responsive">
|
|
<table id="sample-table-1" class="table table-striped table-bordered table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th width="200px">流程名称</th>
|
|
<th width="200px">流程标题</th>
|
|
<th width="70px">环节名称</th>
|
|
<th width="70px">人员名称</th>
|
|
<th width="70px">开始时间</th>
|
|
<th width="70px">结束时间</th>
|
|
<th width="70px">环节耗时</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<c:forEach items="${resultList}" var="item" varStatus="status">
|
|
<tr class="${status.count % 2 == 0 ? 'odd' : 'even'}" id="procDefId${status.count}" >
|
|
<td>${item.PROCDEFNAME }</td>
|
|
<td>${item.PROCTITLE }</td>
|
|
<td>${item.ACTINSTNAME }</td>
|
|
<td>${item.USERNAME }</td>
|
|
<td>${item.STARTTIME }</td>
|
|
<td>${item.ENDTIME }</td>
|
|
<td><span class="label label-success">${item.EFFICIENCY }</span></td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
<simpletable:pageToolbar page="${page}"></simpletable:pageToolbar>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
|