<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${data.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">统一社会信用代码：</label>
                            <div class="col-sm-8">
                                <input readonly id="dataSource" name="dataSource"
                                       th:value="${data.uniformSocialCreditCode}" 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 readonly id="dataType" name="dataType" th:value="${data.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 readonly id="dataSub" name="dataSub" th:value="${data.industry}"
                                       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 readonly id="dataAdjSub" name="dataAdjSub" th:value="${data.contacts}"
                                       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 readonly id="dataName" name="dataName" th:value="${data.mobile}"
                                       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 readonly id="dataLevel" name="dataLevel" th:value="${data.address}"
                                       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 readonly id="dataScope" name="dataScope" th:value="${data.email}"
                                       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 readonly name="dataScope" th:if="${data.state} eq 0" class="form-control"
                                       type="text" value="禁用">
                                <input readonly name="dataScope" th:if="${data.state} eq 1" class="form-control"
                                       type="text" value="正常">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">创建时间：</label>
                            <div class="col-sm-8">
                                <input readonly id="uploadTime" name="uploadTime"
                                       th:value="${#dates.format(data.createTime,'yyyy-MM-dd HH:mm:ss')}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                    </form>
                    <div style="text-align: center">
                        <button type="submit" class="btn btn-primary" id="go_back">返回</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/datas/data/edit.js">
</script>
</body>
</html>
