<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('查看黑名单信息')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-hmdxx-edit" th:object="${tgjjHmdxx}">
            <input name="ID" th:field="*{ID}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">不良记录id：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.BLJLID}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">姓名：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.XINGMING}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">证件类型：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.ZJLX}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">证件号码：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.ZJHM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">不良信息分类：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.BLXXFL}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">不良信息等级：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.BLXXDJ}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">不良信息状态：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.BLXXZT}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">生效时间：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjHmdxx.startTime, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">失效时间：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjHmdxx.endTime, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">事由描述：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.SYMS}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中心编号：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.ZXBH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">连续逾期期数：</label>
                <div class="form-control-static" th:text="${tgjjHmdxx.LXYQQS}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最后更新时间戳：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjHmdxx.lastUpdateTime, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">处理类型：</label>
                <div class="form-control-static" th:if="${tgjjHmdxx.CLLX == 1}">插入</div>
                <div class="form-control-static" th:if="${tgjjHmdxx.CLLX == 2}">更新</div>
                <div class="form-control-static" th:if="${tgjjHmdxx.CLLX == 3}">删除</div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/hmdxx";
        $("#form-hmdxx-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-hmdxx-edit').serialize());
            }
        }

        $("input[name='startTime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='endTime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='lastUpdateTime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>