<div class="panel-content">
    <div class="panel-title fluid">
        <div class="title-main d-flex justify-content-between">
            <div>
                <div class="d-inline-flex">
                    <a class="btn btn-primary btn-sm" href="#generate-data" data-toggle="modal" data-target="#generate-data">造价文件：0</a>
                </div>
                <div class="d-inline-flex pr-0">
                    <input type="text" class="form-control form-control-sm m-0" placeholder="输入指标节点编号或者名称" id="keyword" style="width:200px">
                </div>
                <div class="d-inline-flex">
                    <button class="btn btn-sm btn-primary " type="button" id="search">搜索</button>
                </div>
                <div class="d-inline-flex">
                    <div class="btn-group btn-group-sm" role="group" aria-label="Basic example">
                        <button id="index-zh" type="button" class="btn btn-primary" data='<%- JSON.stringify({indexClass: nodeConst.indexClass.zh}) %>'>综合指标</button>
                        <button id="index-fx" type="button" class="btn btn-primary" data='<%- JSON.stringify({indexClass: nodeConst.indexClass.fx}) %>'>分项指标</button><!--选中状态 btn-secondary-->
                        <div class="btn-group btn-group-sm" role="group">
                            <button id="index-dy" type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                单元指标
                            </button>
                            <div class="dropdown-menu" aria-labelledby="index-dy">
                                <% for (const dy of dyNames) { %>
                                <a class="dropdown-item" data='<%- JSON.stringify({indexClass: nodeConst.indexClass.dy, className: dy.name }) %>' href="javascript: void(0);"><%- dy.name %></a>
                                <% } %>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <a href="javascript: void(0)" class="btn btn-primary btn-sm pull-right" id="export-excel"><i class="fa fa-file-excel-o"></i> 导出Excel</a>
            </div>
        </div>
    </div>
    <div class="content-wrap">
        <div class="c-header p-0 col-12">
        </div>
        <div class="c-body">
            <div class="sjs-height-1" id="compare-spread" style="overflow:hidden; border:1px solid #dee2e6">
            </div>
        </div>
    </div>
</div>
<script src="/public/js/file-saver/FileSaver.js"></script>
<script src="/public/js/spreadjs/sheets/gc.spread.sheets.all.10.0.1.min.js"></script>
<script src="/public/js/spreadjs/sheets/pluggable/gc.spread.sheets.print.10.0.1.min.js"></script>
<script src="/public/js/spreadjs/sheets/interop/gc.spread.excelio.10.0.1.min.js"></script>
<script>
    GC.Spread.Sheets.LicenseKey = "559432293813965#A0y3iTOzEDOzkjMyMDN9UTNiojIklkI1pjIEJCLi4TPB9mM5AFNTd4cvZ7SaJUVy3CWKtWYXx4VVhjMpp7dYNGdx2ia9sEVlZGOTh7NRlTUwkWR9wEV4gmbjBDZ4ElR8N7cGdHVvEWVBtCOwIGW0ZmeYVWVr3mI0IyUiwCMzETN8kzNzYTM0IicfJye&Qf35VfiEzRwEkI0IyQiwiIwEjL6ByUKBCZhVmcwNlI0IiTis7W0ICZyBlIsIyNyMzM5ADI5ADNwcTMwIjI0ICdyNkIsIibj9SbvNmL4N7bjRnch56ciojIz5GRiwiI8+Y9sWY9QmZ0Jyp96uL9v6L0wap9biY9qiq95q197Wr9g+89iojIh94Wiqi";
</script>
<script src="/public/js/spreadjs_rela/spreadjs_zh<%= min %>.js"></script>
<script src="/public/js/compare<%= min %>.js"></script>