<!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/users/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/bootstrap/themes.css">
    -->
    <link rel="stylesheet" href="/web/maintain/report/css/main.css">
    <link rel="stylesheet" href="/lib/font-awesome/font-awesome.min.css">
    <link rel="stylesheet" href="/lib/font-zy/iconfont.css">
    <!--spread-->
    <link rel="stylesheet" href="/lib/spreadjs/sheets/css/gc.spread.sheets.sc.css">
    <!--zTree-->
    <link rel="stylesheet" href="/lib/ztree/css/zTreeStyle.css" type="text/css">
    <style type="text/css">
        .ztree li a input.individualRename {height:14px; width:260px; padding:0; margin:0;
            font-size:12px; border:1px #7EC4CC solid; *border:0px}
    </style>
    <style type="text/css">
        .ztree li span.button.add{margin-right:2px;background-position:-144px 0;vertical-align:top;*vertical-align:middle}
    </style>
    <script>
        // 这里的变量供页面调用
        let userAccount = '<%- userAccount %>';
        let userID = '<%- userID %>';
    </script>
</head>

<body>
    <div class="header">
        <nav class="navbar navbar-toggleable-lg navbar-light bg-faded p-0 ">
            <span class="header-logo px-2">Smartcost</span>
            <div class="navbar-text"><a>报表模板库</a> > <a id="rpt_tpl_display_label">...</a></div>
        </nav>
        <nav class="navbar navbar-toggleable-lg justify-content-between navbar-light p-0">
            <div>
            <ul class="nav nav-tabs" role="tablist">
                <li class="nav-item">
                    <a class="nav-link px-3" ><select class="form-control form-control-sm" id="compilations" onchange="zTreeOprObj.getReportTemplateTreeEx(this)"></select></a>
                </li>
                <li class="nav-item" style="display:none">
                    <a class="nav-link px-3" ><select class="form-control form-control-sm" id="engineerIds"></select></a>
                </li>
            </ul>
            </div>
            <!--
            -->
            <div class="p-2">
                <label id="id_after_saved_lbl" style="color:yellowgreen;font-weight:bold">...</label>
                <button class="btn btn-primary btn-sm" onclick="tplHelper.saveRptTpl(false)">保存</button>
            </div>
        </nav>
    </div>
    <div class="main">
        <div class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="main-side col-lg-3 p-0">
                        <%include ./rpt_tpl_tree.html %>
                    </div>
                    <div class="main-content col-lg-9 p-0">
                        <div class="container-fluid">
                            <div class="row">
                                <!-- 报表设置 -->
                                <%include ./rpt_tpl_dtl.html %>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--弹出新建模板-->
    <%include ./rpt_tpl_popup.html %>
    <!-- JS. -->

    <script src="/lib/spreadjs/sheets/gc.spread.sheets.all.11.1.2.min.js"></script>
    <script>GC.Spread.Sheets.LicenseKey =  '<%- LicenseKey %>';</script>
    <script src="/lib/jquery/jquery.min.js"></script>
    <script src="/lib/tether/tether.min.js"></script>
    <script src="/lib/bootstrap/bootstrap.min.js"></script>
    <script src="/web/maintain/report/js/global.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_main.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_cfg_helper.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_band.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_field_map.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_calculation.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_helper.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_data_map.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_vis_common.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_field_location.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_vis_sum.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_vis_jumbo.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_pre_handle.js"></script>
    <script src="/web/maintain/report/js/cfg_const.js"></script>
    <script src="/web/maintain/report/js/rpt_tpl_preview_util.js"></script>
    <script src="/web/maintain/report/js/jpc_output.js"></script>
    <!-- zTree -->
    <script type="text/javascript" src="/public/web/date_util.js"></script>
    <script type="text/javascript" src="/lib/ztree/jquery.ztree.core.js"></script>
    <script type="text/javascript" src="/lib/ztree/jquery.ztree.excheck.js"></script>
    <script type="text/javascript" src="/lib/ztree/jquery.ztree.exedit.js"></script>
    <script type="text/javascript" src="/public/web/storageUtil.js"></script>
    <script type="text/javascript" src="/public/web/rpt_tpl_def.js"></script>
    <script type="text/javascript" src="/public/web/common_ajax.js"></script>
    <script type="text/javascript" src="/public/web/treeDataHelper.js"></script>
    <script type="text/javascript" src="/public/web/ztree_common.js"></script>
    <script type="text/javascript" src="/public/web/rpt_value_define.js"></script>
    <script type="text/javascript" src="/public/web/string_util_light.js"></script>
</body>
<script type="text/javascript">
    autoFlashHeight();
    rptTplObj.iniPage();
</script>

</html>
