wangfei
2025-11-04 fe7095395f8454bdf5a817f7d5c612af5b83fbd9
UI-Project/src/router/index.js
@@ -54,7 +54,7 @@
            path: '/Returns/upreturns2',
            name: 'upreturns2',
            component: () => import('../views/Returns/upreturns2.vue')
          },
          }
        ]
      },
      /*----------- 掰片/识别 ----------------*/
@@ -132,7 +132,11 @@
    name: 'slicecage',
    component: () => import('../views/Slicecage/slicecage.vue')
  },
   {
    path: '/Slicecage/slicecageTwo',
    name: 'slicecageTwo',
    component: () => import('../views/Slicecage/slicecageTwo.vue')
  },
]
// {
@@ -221,6 +225,16 @@
      path: '/User/permissions',
      name: 'permissions',
      component: () => import('../views/User/permissions.vue')
    },
    {
      path: '/User/userpageNo',
      name: 'userpageNo',
      component: () => import('../views/User/userpageNo.vue')
    },
    {
      path: '/User/alarmLog',
      name: 'alarmLog',
      component: () => import('../views/User/alarmLog.vue')
    }
  ]
 },
@@ -264,6 +278,20 @@
      },
    ]
  },
  /*----------- 工程排产 ----------------*/
  {
    path: 'engineerScheduling',
    name: 'engineerScheduling',
    component: () => import('../views/EngineerScheduling/engineerScheduling.vue'),
    children: [
      {
        path: '/EngineerScheduling/engineerScheduling',
        name: 'engineerScheduling',
        component: () => import('../views/EngineerScheduling/engineerScheduling.vue')
      },
    ]
  },
        /*----------- 中空 ----------------*/
        {
          path: 'hollow',
@@ -281,6 +309,11 @@
              component: () => import('../views/hollow/hollowequipmenttwo.vue')
            },
            {
              path: '/hollow/hollowequipmenthree',
              name: 'hollowequipmenthree',
              component: () => import('../views/hollow/hollowequipmenthree.vue')
            },
            {
              path: '/hollow/hollowslicecage',
              name: 'hollowslicecage',
              component: () => import('../views/hollow/hollowslicecage.vue')
@@ -289,6 +322,21 @@
              path: '/hollow/hollowaluminum',
              name: 'hollowaluminum',
              component: () => import('../views/hollow/hollowaluminum.vue')
            },
            {
              path: '/hollow/hollowaluminumtwo',
              name: 'hollowaluminumtwo',
              component: () => import('../views/hollow/hollowaluminumtwo.vue')
            },
            {
              path: '/hollow/hollowaluminumthree',
              name: 'hollowaluminumthree',
              component: () => import('../views/hollow/hollowaluminumthree.vue')
            },
            {
              path: '/hollow/hollowsitwo',
              name: 'hollowsitwo',
              component: () => import('../views/hollow/hollowsitwo.vue')
            },
          ]
        },
@@ -351,6 +399,42 @@
           ]
          },
          {
             path: '/hellowquiphistory',
              name: 'hellowquiphistory',
              component: () => import('../views/hollow/hellowquiphistory.vue'),
              children: [
                {
                 path: '/hollow/hellowquiphistory',
                 name: 'hellowquiphistory',
                 component: () => import('../views/hollow/hellowquiphistory.vue')
                },
              ]
             },
             {
                path: '/hellowquiptwohistory',
                 name: 'hellowquiptwohistory',
                 component: () => import('../views/hollow/hellowquiptwohistory.vue'),
                 children: [
                   {
                    path: '/hollow/hellowquiptwohistory',
                    name: 'hellowquiptwohistory',
                    component: () => import('../views/hollow/hellowquiptwohistory.vue')
                   },
                 ]
                },
                {
                   path: '/hellowquipthreehistory',
                    name: 'hellowquipthreehistory',
                    component: () => import('../views/hollow/hellowquipthreehistory.vue'),
                    children: [
                      {
                       path: '/hollow/hellowquipthreehistory',
                       name: 'hellowquipthreehistory',
                       component: () => import('../views/hollow/hellowquipthreehistory.vue')
                      },
                    ]
                   },
          {
             path: '/cachingbeforehistory',
              name: 'cachingbeforehistory',
              component: () => import('../views/Caching/cachingbeforehistory.vue'),
@@ -410,6 +494,54 @@
                    },
                  ]
                 },
                 {
                  path: '/upreturnhistory2',
                   name: 'upreturnhistory2',
                   component: () => import('../views/Returns/upreturnhistory2.vue'),
                   children: [
                     {
                      path: '/Returns/upreturnhistory2',
                      name: 'upreturnhistory2',
                      component: () => import('../views/Returns/upreturnhistory2.vue')
                     },
                   ]
                  },
                  {
                   path: '/statistics',
                    name: 'statistics',
                    component: () => import('../views/largescreendisplay/statistics.vue'),
                    children: [
                      {
                       path: '/largescreendisplay/statistics',
                       name: 'statistics',
                       component: () => import('../views/largescreendisplay/statistics.vue')
                      },
                    ]
                   },
                   {
                    path: '/productionstatistics',
                     name: 'productionstatistics',
                     component: () => import('../views/largescreendisplay/productionstatistics.vue'),
                     children: [
                       {
                        path: '/largescreendisplay/productionstatistics',
                        name: 'productionstatistics',
                        component: () => import('../views/largescreendisplay/productionstatistics.vue')
                       },
                     ]
                    },
                    {
                    path: '/timeaxis',
                     name: 'timeaxis',
                     component: () => import('../views/largescreendisplay/timeaxis.vue'),
                     children: [
                       {
                        path: '/largescreendisplay/timeaxis',
                        name: 'timeaxis',
                        component: () => import('../views/largescreendisplay/timeaxis.vue')
                       },
                     ]
                    }
  ]
})
// 导航守卫