<!DOCTYPE html>
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.w3.org/1999/xhtml">
|
<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-tgdata-edit" th:object="${sysTgdata}">
|
<input name="id" th:field="*{id}" type="hidden">
|
<div class="form-group" shiro:hasRole="admin">
|
<label class="col-sm-3 control-label is-required">手机号:</label>
|
<div class="col-sm-8">
|
<input name="uphone" th:field="*{uphone}" class="form-control" type="text" required>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-sm-3 control-label is-required">客户备注:</label>
|
<div class="col-sm-8">
|
<input name="uvifcode" th:field="*{uvifcode}" class="form-control" type="text" required>
|
</div>
|
</div>
|
<div class="form-group" shiro:hasRole="admin">
|
<label class="col-sm-3 control-label is-required">二次密码:</label>
|
<div class="col-sm-8">
|
<input name="agpass" th:field="*{agpass}" class="form-control" type="text" required>
|
</div>
|
</div>
|
<div class="form-group" shiro:hasRole="admin">
|
<label class="col-sm-3 control-label is-required">操作结果:</label>
|
<div class="col-sm-8">
|
<input name="ures" th:field="*{ures}" class="form-control" type="text" required>
|
</div>
|
</div>
|
<div class="form-group" shiro:hasRole="admin">
|
<label class="col-sm-3 control-label is-required">二维码:</label>
|
<div class="col-sm-8">
|
<textarea name="uqrcode" class="form-control" required>[[*{uqrcode}]]</textarea>
|
</div>
|
</div>
|
</form>
|
</div>
|
<th:block th:include="include :: footer" />
|
<script th:inline="javascript">
|
var prefix = ctx + "system/tgdata";
|
$("#form-tgdata-edit").validate({
|
focusCleanup: true
|
});
|
|
function submitHandler() {
|
if ($.validate.form()) {
|
$.operate.save(prefix + "/edit", $('#form-tgdata-edit').serialize());
|
}
|
}
|
</script>
|
</body>
|
</html>
|