<img id="f_btn" src="/web/dest/css/img/feeRate_btn.jpg" alt="" style="display: none" />
<!-- <nav class="navbar p-0 "> -->
<div class="top-msg clearfix">
    <div class="alert alert-warning alert-dismissible" role="alert" id="notify" style="display: none">
        <button type="button" class="close" aria-label="Close" onclick="$('#notify').hide();">
            <span aria-hidden="true">&times;</span>
        </button>
        <strong id="message"></strong>-
    </div>
</div>
<nav class="navbar navbar-expand-lg p-0 d-flex <%= versionName.includes('免费') ? 'free-version' : 'pro-version' %>">
    <% if(controller === 'boot' || controller === 'pm'){ %>
    <!--<a style="text-decoration: none" href="javascript:void(0);" class="header-logo">-->
    <% }else { %>
    <div class="mx-2"><a href="/pm" class="btn btn-sm" data-toggle="tooltip" title="返回项目管理"><i class="fa fa-angle-left" style="font-size:24px"></i></a></div>
        <!--<a style="text-decoration: none" href="/pm" class="header-logo">-->
    <% } %>
    <div class="header-logo">
        <div class="v-title"><%= compilationName %></div>
        <div class="p-title"><%= versionName %></div>
    </div>
    <!--</a>-->
    <div  class="navbar-text navbar-crumb px-1 mr-auto" id="fullpath">
    </div>
    <div class="navbar-text p-0 navbar-expand-sm">
        <!--大屏菜单-->
        <ul class="nav navbar-nav" id="fluid-menu">
            <!--<li class="nav-item" >-->
                <!--<a class="nav-link" href="#send2friends" data-toggle="modal" data-target="#send2friends" ><i class="fa fa-share-alt"></i> 推荐给朋友</a>-->
            <!--</li>-->
            <!--<li class="nav-item dropdown" id="showqqgroup" >-->
                <!--<a class="nav-link" href="#"><i class="fa fa-qq" ></i> 群</a>-->
                <!--<div class="dropdown-menu p-3 dropdown-menu-right" id="qqgroup" style="width: 200px;top:36px">-->
                    <!--<p class="text-center">-->
                        <!--<a href="https://jq.qq.com/?_wv=1027&k=5XivMJY" target="_blank" class="btn btn-sm btn-outline-primary">点击加入QQ交流群</a>-->
                    <!--</p>-->
                    <!--<p class="mb-0 text-center text-muted">-->
                        <!--<img src="/web/building_saas/img/qqgroupqrcode.png">-->
                        <!--扫码加QQ交流群-->
                    <!--</p>-->
                <!--</div>-->
            <!--</li>-->
            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" id="link_userName"><%= (sessionUser.company && sessionUser.real_name) ? (sessionUser.company + '（' + sessionUser.real_name + '）') : sessionUser.company ? sessionUser.company : sessionUser.real_name ? sessionUser.real_name : sessionUser.mobile %></a>
                <div class="dropdown-menu dropdown-menu-right">
                    <a class="dropdown-item" href="/user/info" target="_blank">企业资料</a>
                    <a class="dropdown-item" href="/user/safe" target="_blank">账号安全</a>
                    <a class="dropdown-item" href="/user/buy" target="_blank">产品激活</a>
                    <a class="dropdown-item" href="/user/preferences" target="_blank">登录设置</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="/logout">退出登录</a>
                </div>
            </li>
            <% if (!versionName.includes('免费')) {%>
              <li class="nav-item">
                <a href="/user/buy" target="_blank">
                    <% if (sessionUser.compilationLock === 1) { %>
                    <img width="38" src="/web/building_saas/img/vip2.png" data-toggle="tooltip" data-placement="bottom" data-original-title="借用">
                    <% } else if (sessionUser.compilationLock === 2) { %>
                    <img width="38" src="/web/building_saas/img/vip.png" data-toggle="tooltip" data-placement="bottom" data-original-title="购买">
                    <% } else if (sessionUser.compilationLock === 3) { %>
                    <img width="38" src="/web/building_saas/img/vip3.png" data-toggle="tooltip" data-placement="bottom" data-original-title="赠送">
                    <% } %>
                </a>
              </li>
             <% } %>
            <% if (action === 'index' && controller === 'main') {%>
            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-wrench" data-placement="bottom"></i> 工具</a>
                <div class="dropdown-menu dropdown-menu-right">
                    <a id="compleRationLib" class="dropdown-item compleRationLib" href=<%- "/complementaryRation/ration/" + userID %> target="_blank">定额库编辑器</a>
                    <a id="compleGljLib" class="dropdown-item compleGljLib" href=<%- "/complementaryGlj/" + userID %> target="_blank">人材机库编辑器</a>
                </div>
            </li>
            <% } %>
            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-question-circle-o" data-placement="bottom"></i> 帮助</a>
                <div class="dropdown-menu dropdown-menu-right">
                    <!--<a class="dropdown-item" href="#">帮助</a>
                    <a class="dropdown-item" href="#">升级说明</a>
                    <a class="dropdown-item" href="#">重庆市2008定额说明</a>-->
                    <!--<a class="dropdown-item" href="/web/common/html/pdfViewer.html?type=userGuide" target="_blank">用户手册</a>
                    <a class="dropdown-item" href="/web/common/html/pdfViewer.html?type=upgradeGuide" target="_blank">升级说明</a>-->
                    <a class="dropdown-item" href="http://doc.zhzdwd.com/docs/dsk_yhsc" target="_blank">用户手册</a>
                    <a class="dropdown-item" href="http://doc.zhzdwd.com/docs/dhjc" target="_blank">动画教程</a>
                    <a class="dropdown-item" href="http://yun.zhzdwd.com/docs" target="_blank">常见问题解答</a>
                    <a class="dropdown-item" href="http://doc.zhzdwd.com/docs/dasikongupdate" target="_blank">升级说明</a>
                    <a class="dropdown-item" href="http://zhzdwk.com/special/detail/36" target="_blank">计价依据</a>
                    <a class="dropdown-item" href="https://smartcost.com.cn/" target="_blank">纵横官网</a>
                    <!--  <a class="dropdown-item" href="#">动画教程</a>-->
                    <a id="customerService" class="dropdown-item" href="javascript:void(0);">联系客服</a>
                    <!--  <a class="dropdown-item" href="#">关于</a>-->
                </div>
            </li>
            <li class="nav-item">
                <a id="fullscreen-a" href="javascript:void(0);" class="nav-link" onclick="commonUtil.handleFullscreen()"><span><i class="fa fa-window-maximize "></i> 全屏</span></a>
            </li>
           <!-- <li class="nav-item">
                <a class="nav-link new-msg" data-toggle="modal" data-target="#msg" href="javacript:void(0);">
                    <i class="fa fa-envelope-o" aria-hidden="true"></i>&nbsp;2
                </a>
            </li>-->
        </ul>
        <!--小屏菜单-->
        <ul class="nav navbar-nav" id="min-menu">
            <li class="nav-item dropdown">
                <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" data-submenu="" aria-expanded="false">
                    <i class="fa fa-bars"></i>
                </a>
                <div class="dropdown-menu dropdown-menu-right">
                    <div class="dropdown dropleft dropdown-submenu">
                        <button class="dropdown-item dropdown-toggle" type="button" data-toggle="dropdown"><%= (sessionUser.company && sessionUser.real_name) ? (sessionUser.company + '（' + sessionUser.real_name + '）') : sessionUser.company ? sessionUser.company : sessionUser.real_name ? sessionUser.real_name : sessionUser.mobile %></button>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="/user/info" target="_blank">企业资料</a>
                            <a class="dropdown-item" href="/user/safe" target="_blank">账号安全</a>
                            <a class="dropdown-item" href="/user/buy" target="_blank">产品激活</a>
                            <a class="dropdown-item" href="/user/preferences" target="_blank">登录设置</a>
                            <div class="dropdown-divider"></div>
                            <a class="dropdown-item" href="/logout">退出登录</a>
                        </div>
                    </div>
                    <% if (action === 'index' && controller === 'main') {%>
                    <div class="dropdown dropleft dropdown-submenu">
                        <button class="dropdown-item dropdown-toggle" type="button" data-toggle="dropdown">工具</button>
                        <div class="dropdown-menu">
                            <a  class="dropdown-item compleRationLib" href="/complementaryRation/ration" target="_blank">定额库编辑器</a>
                            <a  class="dropdown-item compleGljLib" href="/complementaryGlj" target="_">人材机库编辑器</a>
                        </div>
                    </div>
                    <% } %>
                    <div class="dropdown dropleft dropdown-submenu">
                        <button class="dropdown-item dropdown-toggle" type="button" data-toggle="dropdown">帮助</button>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="https://smartcost.com.cn/" target="_blank">纵横官网</a>
                            <a id="customerService" class="dropdown-item" href="javascript:void(0);">联系客服</a>
                        </div>
                    </div>
                </div>
            </li>
        </ul>
    </div>
</nav>
<!--弹出补充定额库-->
<div class="modal fade" id="comple-ration" data-backdrop="static">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">定额库</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-auto-height">
                <table class="table table-hover table-bordered">
                    <thead><tr><th>定额库名称</th></tr></thead>
                    <tbody id="comple_ration_table">
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<!--弹出消息-->
<div class="modal fade" id="msg" data-backdrop="static">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title"><i class="fa fa-envelope-o"></i> 消息通知</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body modal-auto-height">
                <div id="message-loading" style="text-align: center; padding-top: 100px;"></div>
                <!--消息列表 默认显示10条-->
                <table class="table table-bordered" id="message-list" style="display: none;">
                    <thead>
                        <tr>
                            <th>标题<a href="javascript:void(0);" id="set-all-read" class="float-right btn btn-sm">设置全部已读</a></th>
                            <th width="120">发布时间</th>
                        </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
                <div id="message-content" style="display: none;">
                    <!--点击标题查看内容-->
                    <a href="javascript:void(0);" class="back">返回</a>
                    <h4 class="text-center title"></h4>
                    <p class="text-center time"></p>
                    <div class="mx-3 mb-5 content-area"></div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
<!--弹出警告-->
<div style="z-index: 1080;" class="modal fade" id="commonAlert" data-backdrop="false" style="display: none;" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content" style="box-shadow: 0px 0px 5px #888888; width: 450px; height: 140px; left: 50%; transform: translate(-50%, 0%); top: -15px;">
            <div class="modal-body">
                <h5 style="margin-left: 10px;">提示</h5>
                <p style="margin-top: 20px; margin-left: 10px; color: #757575; font-size: 14px"></p>
                <div style="margin-top: 10px; margin-left: 350px">
                    <button style="width: 65px; height: 30px; border-radius: 0.2rem; background: #4285F4; color: White; border: hidden; cursor:pointer" href="javascript: void(0);" data-dismiss="modal">确认</button>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="empty-modal" data-backdrop="static" style="display: none;" aria-hidden="true">
    <div class="modal-dialog" role="document">
    </div>
</div>
<!--激活产品 & 售后服务 & 联系客服-->
<!--办事处客服列表-->
<div class="modal fade z-index-3000" id="activ" data-backdrop="static" style="display: none; overflow: auto;" aria-hidden="true">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="upgrade-title">联系销售代表激活</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="row px-3" id="staffList">
                    <div class="col-4 mb-4">
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title">刘飞</h4>
                                <h6 class="card-subtitle mb-2 text-muted">广东办</h6>
                            </div>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="腾讯QQ"><i class="fa fa-qq"></i> 914630468</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="手机号码"><i class="fa fa-tablet"></i> 15812644017</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="固定电话"><i class="fa fa-phone"></i> 0756-3850891</li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-4 mb-4">
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title">姜栋</h4>
                                <h6 class="card-subtitle mb-2 text-muted">广东办</h6>
                            </div>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="腾讯QQ"><i class="fa fa-qq"></i> 914630468</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="手机号码"><i class="fa fa-tablet"></i> 15812644017</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="固定电话"><i class="fa fa-phone"></i> 0756-3850891</li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-4 mb-4">
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title">冯娟</h4>
                                <h6 class="card-subtitle mb-2 text-muted">广东办</h6>
                            </div>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="腾讯QQ"><i class="fa fa-qq"></i> 914630468</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="手机号码"><i class="fa fa-tablet"></i> 15812644017</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="固定电话"><i class="fa fa-phone"></i> 0756-3850891</li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-4 mb-4">
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title">何耀</h4>
                                <h6 class="card-subtitle mb-2 text-muted">广东办</h6>
                            </div>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="腾讯QQ"><i class="fa fa-qq"></i> 914630468</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="手机号码"><i class="fa fa-tablet"></i> 15812644017</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="固定电话"><i class="fa fa-phone"></i> 0756-3850891</li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-4 mb-4">
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title">杨克松</h4>
                                <h6 class="card-subtitle mb-2 text-muted">广东办</h6>
                            </div>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="腾讯QQ"><i class="fa fa-qq"></i> 914630468</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="手机号码"><i class="fa fa-tablet"></i> 15812644017</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="固定电话"><i class="fa fa-phone"></i> 0756-3850891</li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-4 mb-4">
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title">黄俊杰</h4>
                                <h6 class="card-subtitle mb-2 text-muted">广东办</h6>
                            </div>
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="腾讯QQ"><i class="fa fa-qq"></i> 914630468</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="手机号码"><i class="fa fa-tablet"></i> 15812644017</li>
                                <li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="固定电话"><i class="fa fa-phone"></i> 0756-3850891</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
<!--推荐给朋友-->
<div class="modal fade" id="send2friends" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">推荐给朋友</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="input-group mb-3">
                    <input type="text" class="form-control " value="https://yun.smartcost.com.cn" disabled>
                    <div class="input-group-append">
                        <button class="btn btn-outline-secondary" id="copy_link">复制链接</button>
                    </div>
                </div>
                <div id="show_share_msg" style="display: none" class="alert alert-success">地址复制成功，快去发给朋友试试吧。</div>
            </div>
        </div>
    </div>
</div>
<div style="display: none">
    <%include dataStatistics.html %>
</div>
<!-- inject:js -->
<script src="/lib/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="/lib/jquery-ui/jquery-ui.min.js"></script>
<script src="/lib/popper/popper.min.js"></script>
<script src="/lib/bootstrap/bootstrap.min.js"></script>
<script src="/lib/bootstrap/bootstrap-submenu.js"></script>
<script type="text/javascript" src="/web/building_saas/js/moment.min.js"></script>
<script type="text/javascript" src="/web/building_saas/js/message.js"></script>
<script type="text/javascript" src="/public/common_util.js"></script>
<script type="text/javascript" src="/public/web/scMathUtil.js"></script>
<script type="text/javascript" src="/public/web/gljUtil.js"></script>
<script type="text/javascript" src="/public/web/PerfectLoad.js"></script>
<script type="text/javascript" src="/lib/lodash/lodash.js"></script>
<script type="text/javascript" src="/public/web/commonAlert.js"></script>
<script type="text/javascript" src="/public/web/headerOpr.js"></script>
<script type="text/javascript" src="/public/common_util.js"></script>
<script src="/public/common_constants.js"></script>
<script type="text/javascript" src="/lib/jquery-editable-select/jquery.editable-select.min.js"></script>
<!-- endinject -->
