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

export default [
    {
        path: 'trafficMgt',
        name: 'trafficMgt',
        component: 'RouteViewLayout',
        meta: {
            icon: DollarOutlined,
            title: '话务管理',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'myCallLog',
                name: 'myCallLog',
                component: 'trafficMgt/myCallLog/index.vue',
                meta: {
                    title: '我的通话记录',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'callLog',
                name: 'callLog',
                component: 'trafficMgt/callLog/index.vue',
                meta: {
                    title: '通话记录',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'missedCalls',
                name: 'missedCalls',
                component: 'trafficMgt/missedCalls/index.vue',
                meta: {
                    title: '未接来电',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'quality',
                name: 'quality',
                component: 'trafficMgt/quality/index.vue',
                meta: {
                    title: '质检管理',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'qualityLog',
                name: 'qualityLog',
                component: 'trafficMgt/qualityLog/index.vue',
                meta: {
                    title: '质检记录',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
        ],
    },
]
