import { UserOutlined } from '@ant-design/icons-vue'

export default [
    {
        path: 'userManagement',
        name: 'userManagement',
        component: 'RouteViewLayout',
        meta: {
            icon: UserOutlined,
            title: '客户管理',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'allList',
                name: 'allList',
                component: 'userManagement/allList/index.vue',

                meta: {
                    title: '全部列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'tourList',
                name: 'tourList',
                component: 'userManagement/tourList/index.vue',

                meta: {
                    title: '游客列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'clientList',
                name: 'clientList',
                component: 'userManagement/clientList/index.vue',
                meta: {
                    title: '业主列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'potentialclientsList',
                name: 'potentialclientsList',
                component: 'userManagement/potentialclientsList/index.vue',
                meta: {
                    title: '意向客户',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'intermediaryAgentList',
                name: 'intermediaryAgentList',
                component: 'userManagement/intermediaryAgentList/index.vue',
                meta: {
                    title: '中介列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'houseList',
                name: 'houseList',
                component: 'userManagement/houseList/index.vue',
                meta: {
                    title: '购房记录',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
        ],
    },
]
