update
This commit is contained in:
90
ebpm-process-manage/webapp/pages/dataObject/create.jsp
Normal file
90
ebpm-process-manage/webapp/pages/dataObject/create.jsp
Normal file
@@ -0,0 +1,90 @@
|
||||
|
||||
<%@ 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%>">
|
||||
<title>全局变量新增</title>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$("#myform").Validform({
|
||||
tiptype:4,
|
||||
datatype:{"objKey": /^\w+$/},
|
||||
btnSubmit:"#submitButton"
|
||||
});
|
||||
|
||||
//$('#objKey').keyup(trimkeyup);
|
||||
})
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form action="${ctx}/dataObject/save.do" method="post" id="myform">
|
||||
<div class="main-container" id="main-container">
|
||||
<div class="panel-heading">新增全局属性</div>
|
||||
<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="objScope" id="objScope" value="G" />
|
||||
<tr>
|
||||
<th>属性KEY<font color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="objKey" value="" id="objKey"
|
||||
datatype="objKey" nullmsg="请输入变量KEY!" errormsg="变量KEY只能输入字母、数字以及下划线!"
|
||||
class="input"
|
||||
onKeypress="javascript:if(event.keyCode == 32)event.returnValue = false;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>属性名称<font color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="objName" value="" id="objName"
|
||||
datatype="*1-12" nullmsg="请输入变量名称!" errormsg="变量名称不能超过12个汉字!"
|
||||
class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>属性值<font color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="objValue" value=""
|
||||
datatype="s1-500" nullmsg="请输入变量值!" errormsg="变量值不能超过500个字符!"
|
||||
id="objValue" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>属性类型<font color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="objType" value="" id="objType"
|
||||
datatype="s1-50" nullmsg="请输入变量类型!" errormsg="变量类型不能超过50个字符!"
|
||||
class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>备注:</th>
|
||||
<td><input type="text" name="objRemark" value=""
|
||||
id="objRemark" class="input" /></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<div class="col-md-offset-1 col-md-9" style="text-align: center;">
|
||||
<a class="btn btn-sm btn-primary" id="submitButton">保存
|
||||
<i class="ace-icon fa fa-save bigger-110"></i></a>
|
||||
<a class="btn btn-sm btn-primary"
|
||||
onclick="window.location='${ctx}/dataObject/list.do'">返回
|
||||
<i class="ace-icon fa fa-undo icon-on-right bigger-110"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user