import Layout from '@/layout/index.vue'
import { createNameComponent } from '../createNode'

const route = [
    {
        path: '/userModule',
        redirect: '/userModule/userList/index',
        component: Layout,
        meta: { title: '用户模块', icon: 'iconfont icon-user' },
        children: [
            /* {
                path: 'onlineList/index',
                name: 'OnlineList',
                component: createNameComponent(() => import('@/views/main/userModule/onlineList.vue')),
                meta: { title: '在线列表' },
            }, */
            {
                path: 'userList/index',
                name: 'UserList',
                component: createNameComponent(() => import('@/views/main/userModule/userList.vue')),
                meta: { title: '用户列表' },
            },
			{
			    path: 'userList/channelUser',
			    name: 'channelUser',
			    component: createNameComponent(() => import('@/views/main/userModule/channelUser.vue')),
			    meta: { title: '渠道用户' },
			},
            /* {
                path: 'relieveLogsList/index',
                name: 'RelieveLogsList',
                component: createNameComponent(() => import('@/views/main/userModule/relieveLogsList.vue')),
                meta: { title: '解封日志表' },
            }, */
          /*   {
                path: 'riskLogsList/index',
                name: 'RiskLogsList',
                component: createNameComponent(() => import('@/views/main/userModule/riskLogsList.vue')),
                meta: { title: '风控日志表' },
            }, */
        ],
    },
]

export default route