2024-08-14 15:17:51 +08:00

94 lines
3.4 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 type="text/javascript" src="${ctx }/resource/js/jquery-1.8.3.min.js"></script>
<script src="${ctx}/resource/js/plugins/highcharts/highcharts.js"></script>
<script src="${ctx}/resource/js/plugins/highcharts/modules/exporting.js"></script>
<script src="${ctx}/resource/js/common/processReport.js"></script>
<script type="text/javascript">
</script>
</head>
<body>
<form id="queryForm" name="queryForm" action="${ctx}/processReport/reportByProcessDef.do" method="post" style="display: inline;">
<div class="main-container" id="main-container">
<div class="panel panel-primary">
<div class="panel-heading">
<h8>按流程定义统计</h8>
</div>
<div class="panel-body">
<div class="form-group well well-sm">
<table border="0" cellspacing="0" cellpadding="0"
class="table-search">
<tr>
<td width="80px">开始时间:</td>
<td width="100px">
<input value="${query.roleName}" id="roleName" name="roleName" maxlength="30" />
</td>
<td width="80px">&nbsp;&nbsp;结束时间:</td>
<td width="100px">
<input value="${query.roleId}" id="roleId" name="roleId" maxlength="30" />
</td>
<td>&nbsp;&nbsp;
<button type="submit" class="btn btn-xs btn-primary">
统&nbsp;&nbsp;计
<i class="ace-icon fa fa-bar-chart-o bigger-110"></i>
</button>
</td>
</tr>
</table>
</div>
<div class="row">
<div class="col-xs-12">
<div class="table-responsive">
<!--
<div id="processDefZjt" style="height: 450px; margin: 0 auto"></div>
<script>
var seriesValue=" {type: 'column',name: '运行个数',data: [${column}]}";
getReportDataByZjt("processDefZjt","${row}","123",seriesValue,"已运行流程统计:一共运行 ${total}个流程");
</script>
-->
<div id="processDefBar" style="height: 1200px; margin: 0 auto"></div>
<script>
//getReportDataByZjt("processDefZjt","${row}","123",seriesValue,"已运行流程统计:一共运行 ${total}个流程");
getReportDataByBar("processDefBar","已运行流程统计","一共运行 ${total}个流程","${row}","${column}");
</script>
</div>
<!-- /.table-responsive -->
</div>
<!-- /span -->
</div>
</div>
</div>
</div>
</form>
</body>
</html>