
    {{#  if(d.type == 0){ }}
    <span class="layui-badge layui-bg-blue">字典类别</span>
    {{# } else if(d.type == 1) { }}
    <span class="layui-badge layui-bg-orange">字典项</span>
    {{# } }}
</script>
<script type="text/html" id="statusTpl">
    {{#  if(d.status == 0){ }}
    <span class="layui-badge layui-bg-green">有效</span>
    {{# } else if(d.status == 1) { }}
    <span class="layui-badge layui-bg-gray">无效</span>
    {{# } }}
</script>
<!--表格列格式化模板 end-->

<script t