yuan
2026-05-26 7c8d2cdb2f6f0013f15f1291c879fec389839b90
src/router/index.js
@@ -47,20 +47,6 @@
    component: () => import("@/views/register"),
    hidden: true,
  },
  // // 系统架构图
  // {
  //   path: "/system-architecture",
  //   component: Layout,
  //   redirect: "/system-architecture/index",
  //   children: [
  //     {
  //       path: "index",
  //       component: () => import("@/views/systemArchitecture/index.vue"),
  //       name: "SystemArchitecture",
  //       meta: { title: "系统架构图", icon: "tree" },
  //     },
  //   ],
  // },
  {
    path: "/:pathMatch(.*)*",
    component: () => import("@/views/error/404"),
@@ -82,6 +68,20 @@
        component: () => import("@/views/index"),
        name: "Index",
        meta: { title: "首页", icon: "dashboard", affix: true },
      },
    ],
  },
  // 系统架构图
  {
    path: "/system-architecture",
    component: Layout,
    redirect: "/system-architecture/index",
    children: [
      {
        path: "index",
        component: () => import("@/views/systemArchitecture/index.vue"),
        name: "SystemArchitecture",
        meta: { title: "系统架构图", icon: "tree" },
      },
    ],
  },
@@ -132,7 +132,7 @@
    ],
  },
  // 财务管理模块路由
  {
  /*{
    path: "/financial",
    component: Layout,
    hidden: false,
@@ -152,7 +152,7 @@
        name: "SalesReturn",
        meta: { title: "销售退货" },
      },
      {
        path: "invoice-apply",
        component: () => import("@/views/financialManagement/receivable/invoiceApply.vue"),
@@ -201,7 +201,7 @@
        name: "PaymentApply",
        meta: { title: "付款申请" },
      },
      {
        path: "payment",
        component: () => import("@/views/financialManagement/payable/payment.vue"),
@@ -251,7 +251,7 @@
        meta: { title: "科目明细帐" },
      },
    ],
  },
  },*/
];
// 动态路由,基于用户权限动态去加载