const JDBiCatListTpl = `
    <div class="cd-bi-config-wrapper">
        <div class="cd-bi-header">
            <div class="cd-bi-title-wrapper">
                <span class="cd-bi-title">BI分类</span>
                <span class="cd-bi-subTitle">(最多可添加{{maxAddCat}}类)</span>
            </div>
            <a href="javascript:;" class="cd-add-cat J_addCat">+添加</a>
        </div>
        <div class="cd-bi-cat-list J_bi_cat_list"></div>
    </div>
`;
const JDBiCatItemTpl = `
{{if moduleData.length == 0}}
    <div  class="cd-cat-item J_cat_item">
        <div class="cd-select cd-select-cate J_cate"></div>
        <a href="javascript:;" class="cd-icons cd-icons-link-del J_cate_del"></a>
    </div>
{{else}}
{{each moduleData as module}}
    <div  class="cd-cat-item J_cat_item">
        <div class="cd-select cd-select-cate J_cate">{{module.firstCateId}}</div>
        <a href="javascript:;" class="cd-icons cd-icons-link-del J_cate_del"></a>
    </div>
{{/each}}
{{/if}}
`;
export {JDBiCatListTpl, JDBiCatItemTpl};