56 lines
2.2 KiB
HTML
56 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||
<head>
|
||
<th:block 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-manager-edit" th:object="${insuranceManager}">
|
||
<input 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 name="companyName" th:field="*{companyName}" 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 name="insuranceName" th:field="*{insuranceName}" class="form-control" type="text">
|
||
</div>
|
||
</div>
|
||
<div class="form-group">
|
||
<label class="col-sm-3 control-label is-required">保险费用:</label>
|
||
<div class="col-sm-8">
|
||
<input name="insuranceAmount" th:field="*{insuranceAmount}" class="form-control" type="text" required>
|
||
</div>
|
||
</div>
|
||
<div class="form-group">
|
||
<label class="col-sm-3 control-label">保险条例url:</label>
|
||
<div class="col-sm-8">
|
||
<textarea name="insuranceUrl" class="form-control">[[*{insuranceUrl}]]</textarea>
|
||
</div>
|
||
</div>
|
||
<div class="form-group">
|
||
<label class="col-sm-3 control-label">备注:</label>
|
||
<div class="col-sm-8">
|
||
<input name="remark" th:field="*{remark}" class="form-control" type="text">
|
||
</div>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
<th:block th:include="include :: footer" />
|
||
<script th:inline="javascript">
|
||
var prefix = ctx + "goods/manager";
|
||
$("#form-manager-edit").validate({
|
||
focusCleanup: true
|
||
});
|
||
|
||
function submitHandler() {
|
||
if ($.validate.form()) {
|
||
$.operate.save(prefix + "/edit", $('#form-manager-edit').serialize());
|
||
}
|
||
}
|
||
</script>
|
||
</body>
|
||
</html> |