xiaoyong931011
2020-06-11 87a81e5696809b0cb2455bcca59aa9b7eab0084c
src/main/resources/templates/febs/views/modules/member/member.html
@@ -87,11 +87,11 @@
<script type="text/html" id="account-type">
    {{#
    var accountType = {
    2: {title: '正常账号'},
    1: {title: '测试账号'}
    2: {title: '正常账号' , color: 'green'},
    1: {title: '测试账号' , color: 'red'}
    }[d.accountType];
    }}
    <span>{{ accountType.title }}</span>
    <span class="layui-badge febs-tag-{{accountType.color}}">{{ accountType.title }}</span>
</script>
<script type="text/html" id="account-status">
    {{#
@@ -148,6 +148,8 @@
        });
        // 新增下拉组件
        /**
        dropdown.render({
            elem: $view.find('.action-more'),
            click: function (name, elem, event) {
@@ -217,6 +219,7 @@
                perms: 'user:export'
            }]
        });
         */
        // 下拉框选择器
        treeSelect.render({
@@ -281,8 +284,8 @@
                    {type: 'checkbox'},
                    {field: 'phone', title: '手机号', minWidth: 165},
                    {field: 'email', title: '邮箱', minWidth: 200},
                    {field: 'inviteId', title: '邀请码'},
                    {field: 'refererId', title: '上级邀请码'},
                    {field: 'inviteId', title: '邀请码UID'},
                    {field: 'refererId', title: '上级邀请码UID'},
                    {title: '账号类型', templet: '#account-type'},
                    {title: '账号状态', templet: '#account-status'},
                    {title: '审核状态', templet: '#certify-status'},