<!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="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="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="dataAdjSub" name="dataAdjSub" th:value="${data.connectName}"
                                       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.connectPhone}"
                                       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.connectAddress}"
                                       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.connectEmail}"
                                       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="effectiveTimeBeige" name="uploadTime"
                                       th:value="${#dates.format(data.effectiveTimeBeige,'yyyy-MM-dd HH:mm:ss')}"
                                       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="effectiveTimeEnd" name="uploadTime"
                                       th:value="${#dates.format(data.effectiveTimeEnd,'yyyy-MM-dd HH:mm:ss')}"
                                       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="filePath" name="dataScope" th:value="${data.filePath}"
                                       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.caStatus} eq 0" class="form-control"
                                       type="text" value="已删除">
                                <input readonly name="dataScope" th:if="${data.caStatus} eq 1" class="form-control"
                                       type="text" value="已申请">
                                <input readonly name="dataScope" th:if="${data.caStatus} eq 2" class="form-control"
                                       type="text" value="通过(已生成证书)">
                                <input readonly name="dataScope" th:if="${data.caStatus} eq 3" 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.crateTime,'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>
