1
陈婷婷
2025-11-12 532ff11cc85e0a577ea0a102748861ebe17ed6d0
src/store/modules/permission.js
@@ -133,13 +133,57 @@
                  //     icon: "build",
                  //     link: null,
                  //     noCache: false,
                  //     title: "生产仓库列表",
                  //     title: "生产资料列表",
                  //   },
                  //   component: () => import('@/views/basic/gyWarehouse/index.vue'),
                  //   component: () =>
                  //     import("@/views/basic/production/gySource.vue"),
                  //   hidden: false,
                  //   name: "GyWarehouse",
                  //   path: "gyWarehouse",
                  // },
                  //   name: "GySource",
                  //   path: "gySource",
                  // }
                ],
              },
            ],
          },{
            alwaysShow: true,
            component: "Layout",
            meta: {
              icon: "build",
              link: null,
              noCache: false,
              title: "系统管理",
            },
            hidden: false,
            name: "System",
            path: "/system",
            redirect: "noRedirect",
            children: [
              {
                meta: {
                  icon: "build",
                  link: null,
                  noCache: false,
                  title: "用户管理",
                },
                hidden: false,
                name: "User",
                path: "user",
                redirect: "noRedirect",
                component: "Layout",
                children: [
                  {
                    meta: {
                      icon: "build",
                      link: null,
                      noCache: false,
                      title: "用户列表",
                    },
                    component: () =>
                      import("@/views/system/user/xtUserList.vue"),
                    hidden: false,
                    name: "XtUserList",
                    path: "xtUserList",
                  },
                ],
              },
            ],
@@ -154,7 +198,6 @@
        rewriteRoutes.push({ path: "*", redirect: "/404", hidden: true });
        router.addRoutes(asyncRoutes);
        commit("SET_ROUTES", rewriteRoutes);
        commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes));
        commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes));
        commit("SET_DEFAULT_ROUTES", sidebarRoutes);
        commit("SET_TOPBAR_ROUTES", sidebarRoutes);