zhongrj
2024-03-27 cc1c0a396698648256c350f6f0fe2cb2f0b02c7e
src/router/views/index.js
@@ -177,6 +177,20 @@
        }]
    },
    {
        path: '/securityGuardManagement',
        redirect: '/securityGuardManagement/registerOnce',
        component: Layout,
        children: [{
            path: 'registerOnce',
            name: '公司保安员详情',
            meta: {
                i18n: 'registerOnce',
            },
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/securityGuardManagement/registerOnce')
        }]
    },
    {
        path: '/desk',
        component: Layout,
        redirect: '/desk/notice',
@@ -203,34 +217,36 @@
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/resource/uploadNotice')
        }]
    }, {
        path: '/workreport',
        component: Layout,
        redirect: '/workreport/workreport',
        children: [{
            path: 'workreport',
            name: '发起的汇报',
            meta: {
                i18n: 'dict'
            },
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/workreport/workreport')
        }]
    },
    // {
    //     path: '/workreport',
    //     component: Layout,
    //     redirect: '/workreport/workreport',
    //     children: [{
    //         path: 'workreport',
    //         name: '发起的汇报',
    //         meta: {
    //             i18n: 'dict'
    //         },
    //         component: () =>
    //             import( /* webpackChunkName: "views" */ '@/views/workreport/workreport')
    //     }]
    // },
    // {
    //     path: '/workreport',
    //     component: Layout,
    //     redirect: '/workreport/workreply',
    //     children: [{
    //         path: 'workreply',
    //         name: '接收的汇报',
    //         meta: {
    //             i18n: 'dict'
    //         },
    //         component: () =>
    //             import( /* webpackChunkName: "views" */ '@/views/workreport/workreply')
    //     }]
    // },
    {
        path: '/workreport',
        component: Layout,
        redirect: '/workreport/workreply',
        children: [{
            path: 'workreply',
            name: '接收的汇报',
            meta: {
                i18n: 'dict'
            },
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/workreport/workreply')
        }]
    }, {
        path: '/management',
        redirect: '/management/index',
        component: Layout,
@@ -262,7 +278,7 @@
        component: Layout,
        children: [{
            path: 'index',
            name: '保安详细资料',
            name: '保安公司详细资料',
            meta: {
                i18n: 'index',
            },
@@ -314,7 +330,7 @@
                import( /* webpackChunkName: "views" */ '@/views/qualificationExamination/registrationTrainingQuery')
        }]
    },
    {  //报错  到不到vue文件
    { //报错  到不到vue文件
        path: '/securityUnitOperation/operationTable',
        redirect: '/securityUnitOperation/operationTable/index',
        component: Layout,
@@ -327,7 +343,7 @@
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/securityUnitOperation/operationTable')
        }]
    },
    },
    // {
    //     path: '/securityUnitOperation/economicTable',
    //     redirect: '/securityUnitOperation/economicTable/index',
@@ -425,5 +441,31 @@
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/statisticalQueryManagement/securityGuardDetail')
        }]
    }, {
        path: '/attachOnce',
        redirect: '/resource/attachOnce',
        component: Layout,
        children: [{
            path: 'index',
            name: '附件查阅',
            meta: {
                i18n: 'index',
            },
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/resource/attachOnce')
        }]
    }, {
        path: '/talk',
        redirect: '/talk/talk',
        component: Layout,
        children: [{
            path: 'index',
            name: '心理咨询',
            meta: {
                i18n: 'index',
            },
            component: () =>
                import( /* webpackChunkName: "views" */ '@/views/talk/talk')
        }]
    }
]