| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 | <div class="panel-title">    <div class="title-main d-flex">        <% include ./list_sub_mini_menu.ejs %>        <div>            <div class="d-inline-block mr-2">                <% if (ctx.session.sessionUser.is_admin) { %>                <button href="#cate-set" class="btn btn-sm btn-light text-primary" data-toggle="modal" data-target="#cate-set"><i class="fa fa-sitemap fa-rotate-270"></i> 分类</button>                <% } else { %>                <button href="#cate-set-self" class="btn btn-sm btn-light text-primary" data-toggle="modal" data-target="#cate-set-self"><i class="fa fa-sitemap fa-rotate-270"></i> 自定义分类</button>                <% } %>            </div>            <div class="d-inline-block" id="show-level"></div>            <div class="d-inline-block">                <div class="btn-group btn-group-toggle group-tab" data-toggle="buttons">                    <label class="btn btn-sm btn-light <% if (ctx.url === `/sp/${ctx.subProject.id}/list`) { %>active<% } %>" onclick="window.location.href='/sp/<%= ctx.subProject.id %>/list'">                        <input type="radio" name="options" id="option1" autocomplete="off"> 标段列表                    </label>                    <label class="btn btn-sm btn-light <% if (ctx.url === `/sp/${ctx.subProject.id}/list/info`) { %>active<% } %>" onclick="window.location.href='/sp/<%= ctx.subProject.id %>/list/info'">                        <input type="radio" name="options" id="option1" autocomplete="off"> 金额概况                    </label>                    <label class="btn btn-sm btn-light  <% if (ctx.url === `/sp/${ctx.subProject.id}/list/progress`) { %>active<% } %>" onclick="window.location.href='/sp/<%= ctx.subProject.id %>/list/progress'">                        <input type="radio" name="options" id="option2" autocomplete="off"> 计量进度                    </label>                    <% if (userPermission !== null && userPermission.tender !== undefined && userPermission.tender.indexOf('1') !== -1) { %>                    <label class="btn btn-sm btn-light  <% if (ctx.url === `/sp/${ctx.subProject.id}/list/manage`) { %>active<% } %>" onclick="window.location.href='/sp/<%= ctx.subProject.id %>/list/manage'">                        <input type="radio" name="options" id="option2" autocomplete="off"> 管理标段                    </label>                    <% } %>                </div>            </div>            <!--<div class="d-inline-block ml-3">-->                <!--<div class="form-check-inline">-->                    <!--<label class="form-check-label" onclick="window.location.href='/list/manage'">-->                        <!--<input class="form-check-input" type="checkbox" <% if (ctx.url === `/sp/${ctx.subProject.id}/list/manage`) { %>checked="checked"<% } %>>-->                        <!--管理标段-->                    <!--</label>-->                <!--</div>-->            <!--</div>-->        </div>        <div class="ml-auto">            <% if (ctx.app.config.is_debug) { %>            <a href="/compare/tz" class="btn btn-sm btn-primary" target="_blank">统计分析</a>            <% } %>        </div>        <div class="ml-auto">            <a href="/sp/<%= ctx.subProject.id %>/list/info/finish" class="btn btn-sm btn-primary pull-right ml-1" target="_blank">完工标段</a>            <% if (userPermission !== null && userPermission.tender !== undefined && userPermission.tender.indexOf('1') !== -1) { %>            <a href="#add-bd" name="add" data-toggle="modal" data-target="#add-bd" class="btn btn-sm btn-primary pull-right">新建标段</a>            <% } %>        </div>    </div></div>
 |