<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>企业资料-大司空云计价</title>
    <link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/web/building_saas/css/main.css">
    <link rel="stylesheet" href="/lib/font-awesome/font-awesome.min.css">
    <link rel="shortcut icon" href="/web/building_saas/css/favicon.ico">
    <link rel="icon" type="image/gif" href="/web/building_saas/css/animated_favicon1.gif">
</head>

<body>
<div class="header">
    <%include ../../common/html/header.html %>
</div>
<div class="main">
    <div class="poj-manage container-fluid">
        <div class="row">
            <div class="col-lg-2">
                <div class="mt-3">
                    <ul class="nav nav-pills flex-column">
                        <li class="nav-item">
                            <a class="nav-link active" href="/user/info">企业资料</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="/user/safe">账号安全</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="/user/buy">产品激活</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="/user/preferences">登录设置</a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-lg-10">
                <div class="col-lg-4">
                    <legend class="my-3">企业资料</legend>
                    <form id="info-form" method="post" action="/user/info">
                        <div class="form-group">
                            <label class="form-control-label">企业名称</label>
                            <input class="form-control" value="<%= userData.company %>" placeholder="输入您的企业名称" id="company" name="company" autocomplete="off">
                        </div>
                        <div class="form-group">
                            <label class="form-control-label">企业所在地区</label>
                            <select class="form-control" name="province" id="province">
                                <% provinceList.forEach(function(province, index) {%>
                                <option value="<%= index %>" <% if(index === userData.province) {%>selected="selected"<% } %>><%= province %></option>
                                <% })%>
                            </select>
                        </div>
                        <div class="form-group">
                            <label class="form-control-label">企业类型</label>
                            <select class="form-control" name="company_type">
                                <% companyTypeList.forEach(function(company_type, index) {%>
                                <option value="<%= index %>" <% if(index === userData.company_type) {%>selected="selected"<% } %>><%= company_type %></option>
                                <% })%>
                            </select>
                        </div>
                        <div class="form-group">
                            <label class="form-control-label">企业规模</label>
                            <select class="form-control" name="company_scale">
                                <% companyScaleList.forEach(function(company_scale, index) {%>
                                <option value="<%= index %>" <% if(index === userData.company_scale) {%>selected="selected"<% } %>><%= company_scale %></option>
                                <% })%>
                            </select>
                        </div>
                        <div class="form-group">
                            <label class="form-control-label">账号姓名</label>
                            <input class="form-control" value="<%= userData.real_name %>" placeholder="输入您的姓名" id="name" name="real_name" autocomplete="off">
                        </div>
                        <div class="form-group">
                            <label class="form-control-label">当前管理账号（登录账号）</label>
                            <input class="form-control" value="<%= userData.mobile %>" readonly>
                        </div>
                    <!--    <div class="form-group">
                            <label class="form-control-label">企业类型</label>
                            <select class="form-control" name="company_type">
                                <option value="">请选择企业类型</option>
                                <% companyTypeList.forEach(function(companyType, index) {%>
                                <option value="<%= index %>" <% if(index === userData.company_type) {%>selected="selected"<% } %>><%= companyType %></option>
                                <% })%>
                            </select>
                        </div>
                        <div class="form-group">
                            <label class="form-control-label">企业规模</label>
                            <select class="form-control" name="company_scale">
                                <option value="">请选择企业规模</option>
                                <% companyScaleList.forEach(function(companyScale, index) {%>
                                <option value="<%= index %>" <% if(index === userData.company_scale) {%>selected="selected"<% } %>><%= companyScale %></option>
                                <% })%>
                            </select>
                        </div>-->
                        <div class="form-group mt-3">
                            <button class="btn btn-primary" type="submit">确认</button>
                        </div>
                    </form>

                </div>
            </div>
        </div>
    </div>
</div>
<!-- JS. -->
<script src="/web/building_saas/js/global.js"></script>
<script src="/web/users/js/user.js"></script>
</body>
<script type="text/javascript">
    autoFlashHeight();
</script>

</html>
