| | |
| | | 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"), |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | // 系统架构图 |
| | | { |
| | | 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: "/ai-industrial-brain", |
| | | component: Layout, |
| | | children: [ |
| | | { |
| | | path: "index", |
| | | component: () => import("@/views/aiIndustrialBrain/index.vue"), |
| | | name: "AiIndustrialBrain", |
| | | meta: { title: "AI工业大脑", icon: "skill" }, |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | path: "/user", |
| | | component: Layout, |
| | |
| | | name: "DeviceInfo", |
| | | meta: { title: "设备信息", icon: "monitor" }, |
| | | }, |
| | | // 添加项目详情页面路由配置 |
| | | { |
| | | path: "/oaSystem/projectManagement/projectDetail", |
| | | component: Layout, |
| | | hidden: true, |
| | | children: [ |
| | | { |
| | | path: ":projectId", |
| | | component: () => import("@/views/oaSystem/projectManagement/projectDetail.vue"), |
| | | name: "ProjectDetail", |
| | | meta: { title: "项目详情", activeMenu: "/oaSystem/projectManagement" }, |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | path: "/projectManagement/Management/detail", |
| | | component: Layout, |
| | |
| | | ], |
| | | }, |
| | | // 财务管理模块路由 |
| | | { |
| | | /*{ |
| | | path: "/financial", |
| | | component: Layout, |
| | | hidden: false, |
| | |
| | | name: "SalesReturn", |
| | | meta: { title: "销售退货" }, |
| | | }, |
| | | |
| | | |
| | | { |
| | | path: "invoice-apply", |
| | | component: () => import("@/views/financialManagement/receivable/invoiceApply.vue"), |
| | |
| | | name: "PurchaseIn", |
| | | meta: { title: "采购入库" }, |
| | | }, |
| | | |
| | | { |
| | | path: "purchase-return", |
| | | component: () => import("@/views/financialManagement/payable/purchaseReturn.vue"), |
| | | name: "PurchaseReturn", |
| | | meta: { title: "采购退货" }, |
| | | }, |
| | | { |
| | | path: "input-invoice", |
| | | component: () => import("@/views/financialManagement/payable/input-invoice.vue"), |
| | |
| | | name: "PaymentApply", |
| | | meta: { title: "付款申请" }, |
| | | }, |
| | | |
| | | |
| | | { |
| | | path: "payment", |
| | | component: () => import("@/views/financialManagement/payable/payment.vue"), |
| | |
| | | meta: { title: "科目明细帐" }, |
| | | }, |
| | | ], |
| | | }, |
| | | },*/ |
| | | ]; |
| | | |
| | | // 动态路由,基于用户权限动态去加载 |