无人机管理后台前端(已迁走)
张含笑
2025-05-06 b4984463aaec6b307167e69de6796ccc752ae47e
登录跳转到事件工单
4 files modified
38 ■■■■ changed files
src/assets/images/ht-sfbg.png patch | view | raw | blame | history
src/config/website.js 6 ●●●●● patch | view | raw | blame | history
src/router/page/index.js 14 ●●●● patch | view | raw | blame | history
src/router/views/index.js 18 ●●●●● patch | view | raw | blame | history
src/assets/images/ht-sfbg.png

src/config/website.js
@@ -32,8 +32,10 @@
    menu: true,
  },
  fistPage: {
    name: '首页',
    path: '/wel/index',
    name: '事件工单',
    // path: '/wel/index',
    path: '/tickets/ticket',
  },
  //配置菜单的属性
  menu: {
src/router/page/index.js
@@ -64,9 +64,15 @@
      isAuth: false,
    },
  },
  // {
  //   path: '/',
  //   name: '主页',
  //   // redirect: '/wel',
  //   redirect:'/tickets/ticket',
  // },
  {
    path: '/',
    name: '主页',
    redirect: '/wel',
  },
     path: '/',
     name: '主页',
     redirect: '/tickets/ticket',
     },
];
src/router/views/index.js
@@ -27,6 +27,24 @@
      },
    ],
  },
  // 事件工单
  {
     path: '/tickets',
    component: () =>
     Store.getters.isMacOs ? import('@/mac/index.vue') : import('@/page/index/index.vue'),
     redirect: '/tickets/ticket',
     children: [
     {
     path: 'ticket',
   name: '事件工单',
     meta: {
     i18n: 'dashboard',
    },
    component: () => import(/* webpackChunkName: "views" */ '@/views/tickets/ticket.vue'),
     },
    ],
     },
  {
    path: '/test',
    component: Layout,