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

export default [
    {
        path: 'invoice',
        name: 'invoice',
        component: 'RouteViewLayout',
        meta: {
            icon: ProjectOutlined,
            title: '发票管理',
            isMenu: true,
            keepAlive: true,
            permission: '*',
        },
        children: [
            {
                path: 'invoiceReviewList',
                name: 'invoiceReviewList',
                component: 'invoice/invoiceReviewList/index.vue',
                meta: {
                    title: '待审核列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'invoicePendingList',
                name: 'invoicePendingList',
                component: 'invoice/invoicePendingList/index.vue',
                meta: {
                    title: '待开票列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'invoceBeSentList',
                name: 'invoceBeSentList',
                component: 'invoice/invoceBeSentList/index.vue',
                meta: {
                    title: '待寄送列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'invoceFailedList',
                name: 'invoceFailedList',
                component: 'invoice/invoceFailedList/index.vue',
                meta: {
                    title: '审核失败列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'invoicingFailedList',
                name: 'invoicingFailedList',
                component: 'invoice/invoicingFailedList/index.vue',
                meta: {
                    title: '开票失败列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'invoiceDeliveriesFailed',
                name: 'invoiceDeliveriesFailed',
                component: 'invoice/invoiceDeliveriesFailed/index.vue',
                meta: {
                    title: '寄送失败列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },
            {
                path: 'invoiceSuccessList',
                name: 'invoiceSuccessList',
                component: 'invoice/invoiceSuccessList/index.vue',
                meta: {
                    title: '已完成列表',
                    isMenu: true,
                    keepAlive: true,
                    permission: '*',
                },
            },

        ],
    },
]
