70 lines
2.5 KiB
HTML
70 lines
2.5 KiB
HTML
|
|
<!DOCTYPE HTML>
|
||
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<head th:include="include :: header"></head>
|
||
|
|
<body class="white-bg">
|
||
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||
|
|
<form class="form-horizontal m" id="form-vipUserCertificate-edit" th:object="${vipUserCertificate}">
|
||
|
|
<input id="id" name="id" th:field="*{id}" type="hidden">
|
||
|
|
<div class="form-group">
|
||
|
|
<label class="col-sm-3 control-label">会员代码:</label>
|
||
|
|
<div class="col-sm-8">
|
||
|
|
<input id="vipUserId" name="vipUserId" th:field="*{vipUserId}" class="form-control" type="text">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label class="col-sm-3 control-label">证书名称:</label>
|
||
|
|
<div class="col-sm-8">
|
||
|
|
<input id="name" name="name" th:field="*{name}" class="form-control" type="text">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label class="col-sm-3 control-label">证书照片:</label>
|
||
|
|
<div class="col-sm-8">
|
||
|
|
<input id="image" name="image" th:field="*{image}" class="form-control" type="text">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label class="col-sm-3 control-label">生效日期:</label>
|
||
|
|
<div class="col-sm-8">
|
||
|
|
<div class="input-group date"> <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||
|
|
<input type="text" id="startDate" th:field="*{startDate}" name="startDate" class="form-control" >
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label class="col-sm-3 control-label">截止日期:</label>
|
||
|
|
<div class="col-sm-8">
|
||
|
|
<div class="input-group date"> <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||
|
|
<input type="text" id="endDate" th:field="*{endDate}" name="endDate" class="form-control" >
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label class="col-sm-3 control-label">备注信息:</label>
|
||
|
|
<div class="col-sm-8">
|
||
|
|
<input id="remarks" name="remarks" th:field="*{remarks}" class="form-control" type="text">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
<div th:include="include::footer"></div>
|
||
|
|
<script type="text/javascript">
|
||
|
|
var prefix = ctx + "vip/vipUserCertificate"
|
||
|
|
$("#form-vipUserCertificate-edit").validate({
|
||
|
|
rules:{
|
||
|
|
xxxx:{
|
||
|
|
required:true,
|
||
|
|
},
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
function submitHandler() {
|
||
|
|
if ($.validate.form()) {
|
||
|
|
$.operate.save(prefix + "/edit", $('#form-vipUserCertificate-edit').serialize());
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
</html>
|