管道基础大数据平台系统开发-【前端】-新系統界面
1
Surpriseplus
2023-01-03 1294efd65f73504cd74d78fcaea180a5e20a881c
src/router/index.js
@@ -43,10 +43,12 @@
import authorityManage from '@/views/userManage/authorityManage.vue'; //用户管理-权限管理
import resourceManage from '@/views/userManage/resourceManage.vue'; //用户管理-资源管理
import userRoleAuthorization from '@/views/AuthorizationManagement/userRoleAuthorization.vue'; //系统管理-用户角色授权
import menuRoleAuthorization from '@/views/AuthorizationManagement/menuRoleAuthorization.vue'; //系统管理-菜单权限授权
import roleResAuthorization from '@/views/AuthorizationManagement/roleResAuthorization.vue'; //系统管理-角色资源授权
import roleMenuAuthorization from '@/views/AuthorizationManagement/roleMenuAuthorization.vue'; //系统管理-角色菜单授权
//包二
import WareInspection from '@/views/PackageTwo/WareInspection.vue'; //数据质检-入库质检
const originalPush = VueRouter.prototype.push;
@@ -70,6 +72,15 @@
    redirect: '/Synthesis',
    children: [
      {
        path: '/WareInspection',
        component: WareInspection,
        name: 'WareInspection',
        meta: {
          title: '入库质检',
          requireAuth: true, // 标识该路由是否需要登录
        },
      },
      {
        path: '/mochaitmo',
        component: mochaitmo,
        name: 'mochaitmo',