This commit is contained in:
hanjian
2024-08-14 15:17:51 +08:00
parent 20a221c1a2
commit b610f94b2e
3483 changed files with 650965 additions and 0 deletions

View File

@@ -0,0 +1,187 @@
<%@ page contentType="text/html;charset=UTF-8"%>
<%@page import="com.blueland.bpm.engine.config.model.*"%>
<%@ 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">
<%@ include file="/commons/meta.jsp"%>
<base href="<%=basePath%>">
<script>
$(document).ready(function() {
$("#submitButton").click(function() {
//用jquery中的ajax方法向服务器提交请求
//setMask("main-container");
jQuery.ajax({
type : "POST",
url : "${ctx}/actInfo/otherTask/editCallActivity.do",
data : $('#myform').serialize(),
success : function(resp) {
alert(resp);
art.dialog.close();
}
});
});
$("#deleteBtn").click(function() {
if (!hasOneChecked("sourceRefs")) {
alert('请选择要操作的对象!');
return;
}
if (!window.confirm('确定执行[删除]操作?')) {
return;
}
//用jquery中的ajax方法向服务器提交请求
jQuery.ajax({
type : "POST",
url : "${ctx}/actInfo/otherTask/deleteCallActProperty.do",
data : $('#myform').serialize(),
success : function(resp) {
alert(resp);
window.location.reload();
}
});
});
});
function procDefNameOnDbClick(name, value) {
$("#procDefName").val(name);
$("#calledElement").val(value);
}
</script>
<title>流程贯穿服务任务设置</title>
</head>
<body>
<form action="${ctx}/actInfo/otherTask/editCallActivity.do" method="post"
id="myform">
<div class="main-container" id="main-container">
<div class="panel panel-primary">
<div class="panel-body">
<table class='table table-bordered' border="0" cellspacing="0"
cellpadding="0" id="myTable">
<!-- 存放隐藏域的区域 -->
<input type="hidden" name="activityDefId"
value="${activityInfoConfig.activityDefId}" />
<input type="hidden" name="activityDefName"
value="${activityInfoConfig.activityDefName}" />
<input type="hidden" name="processDefId"
value="${activityInfoConfig.processDefId}" />
<input type="hidden" name="processDefName"
value="${activityInfoConfig.processDefName}" />
<!-- 存放表单的区域 -->
<tr>
<td width="10%">任务ID<font color="red">*</font>
</td>
<td><input style="width: 400px;" readonly type="text" name="name"
value="${callActivity.id}" id="name" /></td>
</tr>
<tr>
<td width="10%">任务名称<font color="red">*</font>
</td>
<td><input style="width: 400px;" readonly type="text" name="name"
value="${callActivity.name}" id="name" /></td>
</tr>
<tr>
<td>贯穿流程<font color="red">*</font>
</td>
<td><input style="width: 400px;" type="text"
<c:choose>
<c:when test="${not empty callProcDefModel.procDefName}">
value="${callProcDefModel.procDefName}"
</c:when>
<c:otherwise>
value="请选择"
</c:otherwise>
</c:choose>
name="procDefName" id="procDefName" readonly onclick="showMenu('procDefName','',''); return false;" />
<input style="width: 400px;" type="hidden"
name="calledElement" value="${callActivity.calledElement}" id="calledElement" />
</td>
</tr>
<tr>
<td>备注:</td>
<td><textarea style="width: 600px; height: 80px"
name="documentation" id="documentation">${callActivity.documentation}</textarea></td>
</tr>
</table>
<div class="panel panel-primary">
<div class="panel-heading">贯穿流程属性映射</div>
<div class="panel-body">
<div class="form-group well well-sm">
<table border="0" cellspacing="0" cellpadding="0"
class="table-search">
<tr>
<td colspan="7">
<button type="button" class="btn btn-xs btn-success"
onclick="showDiaLog('${ctx}/actInfo/otherTask/createProperty.do?processDefId=${activityInfoConfig.processDefId}&activityDefId=${activityInfoConfig.activityDefId}','新增扩展属性','500px','300px')" />
新 增
</button>
<button type="button" id="deleteBtn" class="btn btn-xs btn-danger">删 除
</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 style="width: 25px;"><input type="checkbox"
onclick="setAllCheckboxState('sourceRefs',this.checked)"></th>
<th style="width: 300px">源流程变量名</th>
<th>目标程变量名</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<c:forEach items="${dataInputAssociations}"
var="item" varStatus="status">
<tr class="${status.count % 2 == 0 ? 'odd' : 'even'}">
<td><input type="checkbox" name="sourceRefs" value="${item.sourceRef}"></td>
<td>${item.sourceRef}&nbsp;</td>
<td>${item.targetRef}&nbsp;</td>
<td><a href="javascript:void(0);"
onclick="showDiaLog('${ctx}/actInfo/otherTask/editProperty.do?sourceRef=${item.sourceRef}','修改扩展属性','500px','300px')">修改</a></td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="col-md-offset-1 col-md-9" style="text-align: center;">
<button id="submitButton" class="btn btn-sm btn-primary"
name="submitButton" type="button">
<span class="icon_save">保存</span>
<i class="ace-icon fa fa-save bigger-110"></i>
</button>
<button type="button" class="btn btn-sm btn-primary"
onclick="art.dialog.close()">
<span class="icon_back">关闭</span>
</button>
</div>
</div>
</div>
</div>
</form>
<jsp:include page="../../../pages/procDefMgr/procDefTree.jsp" flush="false" />
</body>
</html>

View File

@@ -0,0 +1,67 @@
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ 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">
<%@ include file="/commons/meta.jsp"%>
<base href="<%=basePath%>">
<title>配置输出线</title>
<script type="text/javascript">
$(document).ready(function() {
$("#submitButton").click(function() {
//用jquery中的ajax方法向服务器提交请求
jQuery.ajax({
type : "POST",
url : "${ctx}/actInfo/otherTask/saveProperty.do",
data : $('#myform').serialize(),
success : function(resp) {
alert(resp);
art.dialog.opener.location.reload();
}
});
});
});
</script>
</head>
<body>
<form action="${ctx}/actInfo/otherTask/saveProperty.do"
method="post" id="myform">
<div class="main-container" id="main-container">
<div class="panel panel-primary">
<div class="panel-body">
<table class='table table-bordered' border="0" cellspacing="0"
cellpadding="0" id="myTable">
<!-- 存放隐藏域的区域 -->
<input type="hidden" name="dataObject.objScope" id="objScope" value="P" />
<input type="hidden" name="processDefId" id="processDefId" value="${dataObjectRelation.processDefId}" />
<input type="hidden" name="activityDefId" id="activityDefId" value="${dataObjectRelation.activityDefId}" />
<input type="hidden" name="targetActId" id="targetActId" value="${dataObjectRelation.targetActId}" />
<input type="hidden" name="dorType" id="dorType" value="through" />
<input type="hidden" name="dataObject.objType" id="objType" value="string" />
<!-- 存放表单的区域 -->
<tr>
<td><font color="red">*</font>源流程变量名称:</td>
<td><input name="dataObject.objKey" id="objKey" value="" /></td>
</tr>
<tr>
<td><font color="red">*</font>目标流程变量名称:</td>
<td><input name="dataObject.objValue" id="objValue" value="" /></td>
</tr>
</table>
<div class="col-md-offset-1 col-md-9" style="text-align: center;">
<input type="button" class="btn btn-sm btn-primary"
id="submitButton" value="保 存" />
</div>
</div>
</div>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,71 @@
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ 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">
<%@ include file="/commons/meta.jsp"%>
<base href="<%=basePath%>">
<title>配置输出线</title>
<script type="text/javascript">
$(document).ready(function() {
$("#submitButton").click(function() {
//用jquery中的ajax方法向服务器提交请求
jQuery.ajax({
type : "POST",
url : "${ctx}/actInfo/otherTask/updateProperty.do",
data : $('#myform').serialize(),
success : function(resp) {
alert(resp);
art.dialog.opener.location.reload();
}
});
});
});
</script>
</head>
<body>
<form action="${ctx}/actInfo/otherTask/updateProperty.do"
method="post" id="myform">
<div class="main-container" id="main-container">
<div class="panel panel-primary">
<div class="panel-body">
<table class='table table-bordered' border="0" cellspacing="0"
cellpadding="0" id="myTable">
<!-- 存放隐藏域的区域 -->
<input type="hidden" name="dataObject.objScope" id="objScope" value="P" />
<input type="hidden" name="processDefId" id="processDefId" value="${dataObjectRelation.processDefId}" />
<input type="hidden" name="activityDefId" id="activityDefId" value="${dataObjectRelation.activityDefId}" />
<input type="hidden" name="targetActId" id="targetActId" value="${dataObjectRelation.targetActId}" />
<input type="hidden" name="dorType" id="dorType" value="through" />
<input type="hidden" name="dataObject.objName" id="objName" value="string" />
<input type="hidden" name="dataObject.objId" id="objId" value="${dataObjectRelation.dataObject.objId}" />
<input type="hidden" name="dorId" id="dorId" value="${dataObjectRelation.dorId}" />
<input type="hidden" name="dataObject.objType" id="objType" value="${dataObjectRelation.dataObject.objType}" />
<!-- 存放表单的区域 -->
<tr>
<td><font color="red">*</font>源流程变量名称:</td>
<td><input name="dataObject.objKey" id="objKey" value="${dataObjectRelation.dataObject.objKey}" /></td>
</tr>
<tr>
<td><font color="red">*</font>目标流程变量名称:</td>
<td><input name="dataObject.objValue" id="objValue" value="${dataObjectRelation.dataObject.objValue}" /></td>
</tr>
</table>
<div class="col-md-offset-1 col-md-9" style="text-align: center;">
<input type="button" class="btn btn-sm btn-primary"
id="submitButton" value="保 存" />
</div>
</div>
</div>
</div>
</form>
</body>
</html>