/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const officialWebsiteManagement = {
    path: '/officialWebsiteManagement',
    component: Layout,
    redirect: 'noRedirect',
    name: 'officialWebsiteManagement',
    meta: {
        title: '官网管理',
        icon: 'guanwangguanli',
        checkIcon: 'checkguanwangguanli',
        module: 'changyuntong.sijiguanli',
    },
    alwaysShow: true,
    children: [{
            path: '/newInfo',
            name: 'newInfo',
            component: () =>
                import ('@/views/officialWebsiteManagement/newInfo'),
            meta: {
                title: '公告信息',
                icon: '',
                module: 'changyuntong.sijiguanli.view',
            }
        },
        {
            path: '/newsAdd',
            name: 'newsAdd',
            component: () =>
                import ('@/views/officialWebsiteManagement/newsAdd'),
            meta: {
                title: '公告信息新增',
                icon: '',
                module: 'changyuntong.sijiguanli.view'

            },
            hidden: true
        },
        {
            path: '/newsLook',
            name: 'newsLook',
            component: () =>
                import ('@/views/officialWebsiteManagement/newsLook'),
            meta: {
                title: '公告信息查看',
                icon: '',
                module: 'changyuntong.sijiguanli.view'
            },
            hidden: true
        },
        {
            path: '/newsEdit',
            name: 'newsEdit',
            component: () =>
                import ('@/views/officialWebsiteManagement/newsEdit'),
            meta: {
                title: '公告信息编辑',
                icon: '',
                module: 'changyuntong.sijiguanli.view'
            },
            hidden: true
        },
        {
            path: '/notice',
            name: 'notice',
            component: () =>
                import ('@/views/officialWebsiteManagement/notice'),
            meta: {
                title: '处理公示',
                icon: '',
                module: 'changyuntong.sijiguanli.view',
            },
        },
        {
            path: '/noticeAdd',
            name: 'noticeAdd',
            component: () =>
                import ('@/views/officialWebsiteManagement/noticeAdd'),
            meta: {
                title: '处理公示新增',
                icon: '',
                module: 'changyuntong.sijiguanli.view'
            },
            hidden: true
        },
        {
            path: '/noticeLook',
            name: 'noticeLook',
            component: () =>
                import ('@/views/officialWebsiteManagement/noticeLook'),
            meta: {
                title: '处理公示查看',
                icon: '',
                module: 'changyuntong.sijiguanli.view'
            },
            hidden: true
        },
        {
            path: '/noticeEdit',
            name: 'noticeEdit',
            component: () =>
                import ('@/views/officialWebsiteManagement/noticeEdit'),
            meta: {
                title: '处理公示编辑',
                icon: '',
                module: 'changyuntong.sijiguanli.view'
            },
            hidden: true
        },

        {
            path: '/publicity',
            name: 'publicity',
            component: () =>
                import ('@/views/officialWebsiteManagement/publicity'),
            meta: {
                title: '行业资讯',
                icon: '',
                module: 'changyuntong.sijiguanli.view',
            }
        },
        {
            path: '/publicityAdd',
            name: 'publicityAdd',
            component: () =>
                import ('@/views/officialWebsiteManagement/publicityAdd'),
            meta: {
                title: '行业资讯新增',
                icon: '',
                module: 'changyuntong.sijiguanli.view',
            },
            hidden: true
        },
        {
            path: '/publicityLook',
            name: 'publicityLook',
            component: () =>
                import ('@/views/officialWebsiteManagement/publicityLook'),
            meta: {
                title: '行业资讯查看',
                icon: '',
                module: 'changyuntong.sijiguanli.view',
            },
            hidden: true
        },
        {
            path: '/publicityEdit',
            name: 'publicityEdit',
            component: () =>
                import ('@/views/officialWebsiteManagement/publicityEdit'),
            meta: {
                title: '行业资讯编辑',
                icon: '',
                module: 'changyuntong.sijiguanli.view',
            },
            hidden: true
        },
    ]
}

export default officialWebsiteManagement