update
This commit is contained in:
@@ -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>
|
||||
@@ -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 class="white-page">
|
||||
<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 form-table' 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>
|
||||
Reference in New Issue
Block a user