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

106 lines
4.1 KiB
Plaintext

<%@page import="org.activiti.engine.repository.ProcessDefinition"%>
<%@page import="org.activiti.bpmn.model.*"%>
<%@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>
<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() {
});
</script>
</head>
<body class="white-page">
<%@ include file="/commons/messages.jsp"%>
<form id="queryForm" name="queryForm"
action="${ctx}/actInfo/sequenceFlow/list.do" method="post"
style="display: inline;">
<input name="actId" id="actId" value="${userTask.id}" type="hidden"/>
<input name="procDefId" id="procDefId" value="${procDefId}" type="hidden"/>
<div class="main-container" id="main-container">
<div class="panel panel-primary">
<!-- <div class="form-group well well-sm">
<table border="0" cellspacing="0" cellpadding="0"
class="table-search">
<tr>
<td colspan="7">
<button onclick="art.dialog.close();" type="button" class="btn btn-xs btn-primary">
关闭
<i class="ace-icon fa fa-times bigger-110"></i>
</button>
</td>
</tr>
</table>
</div> -->
<div class="panel-body">
<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>输出线名称</th>
<th>当前环节名称</th>
<th>目标环节名称</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<c:forEach items="${userTask.outgoingFlows}" var="item"
varStatus="status">
<tr class="${status.count % 2 == 0 ? 'odd' : 'even'}">
<td>${item.name}&nbsp;</td>
<td>${userTask.name}</td>
<td>${item.targetRefName}&nbsp;</td>
<td>
<a href="javascript:void(0);" onclick="showDiaLog('${ctx}/actInfo/sequenceFlow/edit.do?procDefId=${procDefId}&sequenceFlowId=${item.id}','${item.sourceRefName}->${item.targetRefName}-输出线','900px','600px')">编辑</a>
<a href="javascript:void(0);" onclick="showDiaLog('${ctx}/actInfo/activityRule/create.do?procDefId=${procDefId}&sourceActId=${userTask.id}&sourceActName=${userTask.name}&targetActId=${item.targetRef}&targetActName=${item.targetRefName}','${item.sourceRefName}->${item.targetRefName}-输出线-跳转规则配置','900px','600px')">跳转规则配置</a>
<a href="javascript:void(0);" onclick="showDiaLog('${ctx}/actInfo/activityResourceRule/create.do?procDefId=${procDefId}&sourceActId=${userTask.id}&sourceActName=${userTask.name}&targetActId=${item.targetRef}&targetActName=${item.targetRefName}','${item.sourceRefName}->${item.targetRefName}-输出线-人员规则配置','900px','600px')">人员规则配置</a>
<!-- <a href="javascript:void(0);" onclick="showDiaLog('${ctx}/dataObjectRelation/sequenceFlowList.do?processDefId=${procDefId}&activityDefId=${userTask.id}&&activityDefName=${userTask.name}&targetActId=${item.targetRef}&targetActName=${item.targetRefName}','${item.sourceRefName}->${item.targetRefName}-输出线-变量配置','900px','600px')">变量配置</a> -->
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<!-- /.table-responsive -->
</div>
<!-- /span -->
</div>
</div>
</div>
</div>
</form>
</body>
</html>