js层是这么完成页面页面的布局展布的

/**
 *Created by zmj on 2018/8/29
 */
import Main from '@/views/scene-common/main-page/Main.vue';

export const projectDetail = {
    name: '六方云智',
    scene: '企业内网态势感知'
};

export const router = [
    {
        title: '首页',
        children: [
            {
                path: '/main_page',
                title: '首页',
                icon: 'icon-keshihua1',
                name: 'main_page',
                component: Main,
                children: [
                    {
                        path: 'index_intrusion',
                        title: '大屏总览',
                        name: 'overview_screen',
                        //@/views/scene-clouddc/global_perspective/sa_sec/sec_big.vue
                        component: () => import('@/views/scene-intranet/big_screen/overview_screen.vue')
                    },
                ]}
        ]
    },

    {
        title: '资产画像',
        children: [
            {
                path: '/access',
                icon: 'icon-zichanhuaxiang-',
                name: 'access',
                title: '资产定义',
                component: Main,
                children: [
                    {
                        path: 'index_group',
                        title: '资产分组',
                        name: 'asset_group',
                        component: () => import('@/views/scene-clouddc/asset/group.vue')
                    },
                    {
                        path: 'index_server',
                        title: '业务/服务器',
                        name: 'service_server',
                        component: () => import('@/views/scene-clouddc/asset/server.vue')
                    },
                    {
                        path: 'index_vm',
                        title: '终端',
                        name: 'asset_virtual',
                        component: () => import('@/views/scene-clouddc/asset/vm.vue')
                    },
                    {

                        path: 'index_branch',
                        title: '分支管理',
                        name: 'branch_mgr',
                        component: () => import('@/views/scene-clouddc/asset/branch.vue')
                    },
                ]
            },
            {
                path: '/productVulnerability',
                icon: 'icon-cuiruoxingfenxi-',
                title: '资产脆弱性',
                name: 'product_vulnerability',
                // access: 0,
                component: Main,
                children: [
                    {
                        path: 'productLoopholeTask',
                        title: '引擎追踪',
                        name: 'product_loophole_task',
                        // access: 0,
                        component: () => import('@/views/scene-clouddc/product_vulnerability/product_loophole_task/product_loophole_task.vue')
                    },
                    {
                        path: 'loopholeTask2',
                        title: '引擎周期',
                        name: 'productLoopholeTask2',
                        component: () => import('@/views/scene-clouddc/product_vulnerability/product_loophole_task/product_loophole_task_cfg.vue')
                    },
                    {
                        path: 'productResultVisibility',
                        title: '漏扫结果可视化',
                        name: 'product_result_visibility',
                        hideInMenu: true,
                        // access: 0,
                        component: () => import('@/views/scene-clouddc/product_vulnerability/product_result_visibility/product_result_visibility.vue')
                    },
                    {
                        path: 'taskDetail',
                        title: '任务详情',
                        name: 'task_detail',
                        // access: -1,
                        hideInMenu: true,
                        notCache: true,
                        component: () => import('@/views/scene-clouddc/product_vulnerability/task_detail/task_detail.vue')
                    },
                    {
                        path: 'report',
                        title: '报告',
                        name: 'report',
                        // access: -1,
                        hideInMenu: true,
                        notCache: true,
                        component: () => import('@/views/scene-clouddc/product_vulnerability/report/report.vue')
                    },
                    {
                        path: 'reportDetail',
                        title: '报告详情',
                        name: 'report_detail',
                        // access: -1,
                        hideInMenu: true,
                        notCache: true,
                        component: () => import('@/views/scene-clouddc/product_vulnerability/report_detail/report_detail.vue')
                    },
                    {
                        path: 'result',
   
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值