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

export default [
    {
        path: 'workorderMenu',
        name: 'workorderMenu',
        component: 'RouteViewLayout',
        meta: {
            icon: ProfileOutlined,
            title: '工单管理',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'mineWorderOrder/index.vue',
                name: 'mineWorderOrder',
                component: '/pages/workorderMenu/mineWorderOrder/index.vue',
                meta: {
                    title: '我的工单',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'invalidWWzorkOrder/index.vue',
                name: 'invalidWWzorkOrder',
                component: '/pages/workorderMenu/invalidWWzorkOrder/index.vue',
                meta: {
                    title: '无效工单',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'abnormalWorkOrder/index.vue',
                name: 'abnormalWorkOrder',
                component: '/pages/workorderMenu/abnormalWorkOrder/index.vue',
                meta: {
                    title: '异常工单',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'serviceWorkOrder/index.vue',
                name: 'serviceWorkOrder',
                component: '/pages/workorderMenu/serviceWorkOrder/index.vue',
                meta: {
                    title: '服务工单',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
        ],
    },
]
