68 lines
2.4 KiB
Plaintext
68 lines
2.4 KiB
Plaintext
<%@ 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>
|