管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-02-10 03e5e6dbf617b3557936b7ba80c625beea7f48af
src/router/index.js
@@ -36,6 +36,7 @@
import addStyle from '../views/datamanage/addStyle.vue'; //数据管理-样式管理-添加样式
import ExportMap from '../views/exportMap/index.vue'; //在线制图
import userInfoManage from '../views/userManage/userInfoManage.vue'; // 用户管理模块
import templateManage from '../views/userManage/templateManage.vue'; // 模板管理
import orgManage from '../views/userManage/orgManage.vue'; // 用户管理模块
import userAuditing from '../views/userManage/userAuditing.vue'; // 用户管理模块
import roleManage from '../views/userManage/roleManage.vue'; // 用户管理模块
@@ -49,7 +50,7 @@
//包二
import WareInspection from '@/views/PackageTwo/WareInspection.vue'; //数据质检-入库质检
import QualityInspection from '@/views/PackageTwo/index.vue'; //数据质检-入库质检
const originalPush = VueRouter.prototype.push;
VueRouter.prototype.push = function push(location) {
@@ -66,6 +67,12 @@
    component: login,
  },
  {
    path: '/Thematic',
    name: 'Thematic',
    component: Thematic,
  },
  {
    path: '/',
    name: 'Home',
    component: Home,
@@ -75,6 +82,15 @@
        path: '/WareInspection',
        component: WareInspection,
        name: 'WareInspection',
        meta: {
          title: '入库质检',
          requireAuth: true, // 标识该路由是否需要登录
        },
      },
      {
        path: '/QualityInspection',
        component: QualityInspection,
        name: 'QualityInspection',
        meta: {
          title: '入库质检',
          requireAuth: true, // 标识该路由是否需要登录
@@ -125,15 +141,7 @@
          requireAuth: true, // 标识该路由是否需要登录
        },
      },
      {
        path: '/Thematic',
        name: 'Thematic',
        component: Thematic,
        meta: {
          title: '专题地图',
          requireAuth: true, // 标识该路由是否需要登录
        },
      },
      {
        path: '/Archive',
        name: 'Archive',
@@ -356,6 +364,15 @@
        },
      },
      {
        path: '/templateManage',
        component: templateManage,
        name: 'templateManage',
        meta: {
          title: '模板管理',
          requireAuth: true, // 标识该路由是否需要登录
        },
      },
      {
        path: '/orgManage',
        component: orgManage,
        name: 'orgManage',