<%@ page contentType="text/html;charset=UTF-8" %>
|
<%@ include file="/webpage/include/taglib.jsp"%>
|
<html>
|
<head>
|
<title>注册成功管理</title>
|
<meta name="decorator" content="default"/>
|
<script type="text/javascript">
|
var validateForm;
|
function doSubmit(){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
if(validateForm.form()){
|
$("#inputForm").submit();
|
return true;
|
}
|
|
return false;
|
}
|
$(document).ready(function() {
|
validateForm = $("#inputForm").validate({
|
submitHandler: function(form){
|
loading('正在提交,请稍等...');
|
form.submit();
|
},
|
errorContainer: "#messageBox",
|
errorPlacement: function(error, element) {
|
$("#messageBox").text("输入有误,请先更正。");
|
if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
|
error.appendTo(element.parent().parent());
|
} else {
|
error.insertAfter(element);
|
}
|
}
|
});
|
|
});
|
</script>
|
</head>
|
<body>
|
<form:form id="inputForm" modelAttribute="formsignuser" action="${ctx}/signuserreg/formsignuser/save" method="post" class="form-horizontal">
|
<form:hidden path="id"/>
|
<sys:message content="${message}"/>
|
<table class="table table-bordered table-condensed dataTables-example dataTable no-footer">
|
<tbody>
|
<tr>
|
<td class="width-15 active"><label class="pull-right">学号:</label></td>
|
<td class="width-35">
|
<form:input path="suserid" htmlEscape="false" maxlength="64" class="form-control "/>
|
</td>
|
<td class="width-15 active"><label class="pull-right">姓名:</label></td>
|
<td class="width-35">
|
<form:input path="suername" htmlEscape="false" maxlength="64" class="form-control "/>
|
</td>
|
</tr>
|
<tr>
|
<td class="width-15 active"><label class="pull-right">一卡通编号:</label></td>
|
<td class="width-35">
|
<form:input path="cardid" htmlEscape="false" maxlength="64" class="form-control "/>
|
</td>
|
<td class="width-15 active"><label class="pull-right">性别:</label></td>
|
<td class="width-35">
|
<form:radiobuttons path="susersex" items="${fns:getDictList('sex')}" itemLabel="label" itemValue="value" htmlEscape="false" class="i-checks "/>
|
</td>
|
</tr>
|
<tr>
|
<td class="width-15 active"><label class="pull-right">部门/年级:</label></td>
|
<td class="width-35">
|
<sys:treeselect id="office" name="office.id" value="${formsignuser.office.id}" labelName="office.name" labelValue="${formsignuser.office.name}"
|
title="部门" url="/sys/office/treeData?type=2" cssClass="form-control " allowClear="true" notAllowSelectParent="true"/>
|
</td>
|
<td class="width-15 active"><label class="pull-right">类型:</label></td>
|
<td class="width-35">
|
<form:select path="susertype" class="form-control ">
|
<form:option value="" label=""/>
|
<form:options items="${fns:getDictList('user_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
</form:select>
|
</td>
|
</tr>
|
<tr>
|
<td class="width-15 active"><label class="pull-right">状态:</label></td>
|
<td class="width-35">
|
<form:select path="suserstatus" class="form-control ">
|
<form:option value="" label=""/>
|
<form:options items="${fns:getDictList('user_status')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
</form:select>
|
</td>
|
<td class="width-15 active"><label class="pull-right">其他信息:</label></td>
|
<td class="width-35">
|
<form:textarea path="suserother" htmlEscape="false" rows="4" maxlength="64" class="form-control "/>
|
</td>
|
</tr>
|
</tbody>
|
</table>
|
</form:form>
|
</body>
|
</html>
|