<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('账号管理修改')" />
</head>
<body>
<div class="ui-layout-center">
    <form id="form-SXtszMdzhglAccountmanagement-edit" class="customize-search-form">

        <div class="customize-form-group-container">
            <input type="hidden" id="id" name="id" th:value="${id}">
                    <div class="customize-form-group">
                            <label>账号名:</label>
                        <input name="accountName" placeholder="账号名" th:value="${accountName}" class="styled-input" type="text">
                    </div>
                    <div class="customize-form-group">
                            <label>姓名:</label>
                        <input name="realName" placeholder="姓名" th:value="${realName}" class="styled-input" type="text">
                    </div>
                    <div class="customize-form-group">
                            <label>手机号码:</label>
                        <input name="mobileNumber" placeholder="手机号码" th:value="${mobileNumber}" class="styled-input" type="text">
                    </div>
                    <div class="customize-form-group">
                            <label>二维码:</label>
                        <input name="qrcodeUrl" placeholder="二维码" th:value="${qrcodeUrl}" class="styled-input" type="text">
                    </div>
        </div>
    </form>
</div>
<div class="main-content">
    <div class="col-sm-offset-5 col-sm-10">
        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
    </div>
</div>
<th:block th:include="include :: footer" />
</body>
</html>
<script>
    function submitHandler() {
        var prefix = ctx + "xtsz/sxtszmdzhglaccountmanagement";
        if ($.validate.form()) {
            var data = $("#form-SXtszMdzhglAccountmanagement-edit").serializeArray();
            $.operate.saveTab(prefix + "/sXtszMdzhglAccountmanagementEdit", data);
        }
    }
</script>
