jinlin
2024-01-31 9025b9cf7ec8610003d445a31d93e35e7bd73c2e
web/src/router.js
@@ -14,26 +14,7 @@
  if (onResolve || onReject) return originalPush.call(this, location, onResolve, onReject)
  return originalPush.call(this, location).catch(err => err)
}
/*// 首页
pageRoutes.push({
  path: '/TestDjxlHome',
  name: 'TestDjxlHome',
  meta: {title: '登录页', isTab: true},
  component: () => import('./views/pages/TestDjxlHome')
})
pageRoutes.push({
  path: '/szDjxlHome',
  name: 'szDjxlHome',
  meta: {title: '登录页', isTab: true},
  component: () => import('./views/pages/szDjxlHome')
})
// 登录页
pageRoutes.push({
  path: '/index',
  name: 'index',
  meta: {title: '登录页', isTab: true},
  component: () => import('./views/pages/login')
})
// 视频播放页
pageRoutes.push({
  path: '/userHelp',
@@ -41,44 +22,7 @@
  meta: {title: '帮助页', isTab: true},
  component: () => import('./views/modules/userHelp/userHelp')
})
// 登录页
pageRoutes.push({
  path: '/login',
  name: 'login',
  meta: {title: '首页', isTab: true},
  component: () => import('./views/pages/login')
})
// 登录页
pageRoutes.push({
  path: '/single',
  name: 'single',
  meta: {title: '首页', isTab: true},
  component: () => import('./views/pages/single-sign')
})
pageRoutes.push({
  path: '/auth',
  name: 'auth',
  meta: {title: 'SSO登录', isTab: true},
  component: () => import('./views/pages/auth')
})
// pageRoutes.push({
//   path: '/index',
//   component: () => import('./views/modules/index'),
//   name: 'index',
//   meta: {
//     title: '门户',
//     isTab: true
//   }
// })
pageRoutes.push({
  path: '/dashboard',
  component: () => import('./views/modules/index/dashboard'),
  name: 'dashboard',
  meta: {
    title: '态势感知',
    isTab: true
  }
})*/
// 登录页
pageRoutes.push({
  path: '/login',
@@ -111,48 +55,7 @@
      component: () => import('./views/modules/sys/task/taskCenter'),
      name: 'home',
      meta: {title: '首页', isTab: true}
    },
/*    {path: '/single',
      component: () => import('./views/modules/home'),
      name: 'single',
      meta: {title: '首页', isTab: true}
    },*/
    /*{
      path: '/miantainHome-home',
      component: () => import('./views/modules/home'),
      name: 'home_wx',
      meta: {title: '首页', isTab: true}
    },
    {
      path: '/replaceProblemHome-home',
      component: () => import('./views/modules/replaceProblemHome/home'),
      name: 'home_ghz',
      meta: {title: '首页', isTab: true}
    },
    {
      path: '/technology-home',
      component: () => import('./views/modules/sys/sysPage/technology-home'),
      name: 'home_jszt',
      meta: {title: '首页', isTab: true}
    },
    {
      path: '/repair-outline',
      component: () => import('./views/modules/prevent/repair-outline'),
      name: 'home_yfxwx',
      meta: {title: '大纲', isTab: true}
    },*/
    // {
    //   path: '/eqmmt-index',
    //   component: () => import('./views/modules/eqmmt/home/home'),
    //   name: 'home_qc',
    //   meta: {title: '首页', isTab: true}
    // },
    // {
    //   path: '/train-home',
    //   component: () => import('./views/modules/sys/sysPage/train-home'),
    //   name: 'home_qc',
    //   meta: {title: '首页', isTab: true}
    // }
    }
  ]
}