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

export default [
    {
        path: 'workorderYunying',
        name: 'workorderYunying',
        component: 'RouteViewLayout',
        meta: {
            icon: ProfileOutlined,
            title: '工单管理',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'mineWorderOrder/index.vue',
                name: 'mineWorderOrder',
                component: 'workorderYunying/mineWorderOrder/index.vue',
                meta: {
                    title: '我的工单',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'invalidWzorkOrder/index.vue',
                name: 'invalidWzorkOrder',
                component: 'workorderYunying/invalidWzorkOrder/index.vue',
                meta: {
                    title: '无效工单',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'abnormalWorkOrder/index.vue',
                name: 'abnormalWorkOrder',
                component: 'workorderYunying/abnormalWorkOrder/index.vue',
                meta: {
                    title: '异常工单',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'serviceWorkOrder/index.vue',
                name: 'serviceWorkOrder',
                component: 'workorderYunying/serviceWorkOrder/index.vue',
                meta: {
                    title: '服务工单',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'visitWorkOrder/index.vue',
                name: 'visitWorkOrder',
                component: 'workorderYunying/visitWorkOrder/index.vue',
                meta: {
                    title: '工单回访',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'visitHistory/index.vue',
                name: 'visitHistory',
                component: 'workorderYunying/visitHistory/index.vue',
                meta: {
                    title: '回访记录',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'waitWorkOrder/index.vue',
                name: 'waitWorkOrder',
                component: 'workorderMenu/waitWorkOrder/index.vue',
                meta: {
                    title: '待派单',
                    isMenu: true, 
                    keepAlive: true,
                    permission: '*',
                },
            }
        ],
    },
]
