增加档案功能

This commit is contained in:
2026-08-29 22:06:00 +08:00
parent 2dfc6d6aaf
commit 79217187ac
21 changed files with 2015 additions and 488 deletions
-59
View File
@@ -69,65 +69,6 @@ const staticMainChildren = [
component: () => import("@/views/user/userProfile.vue"),
meta: { requiresAuth: true, title: "用户中心" }
},
// 组织架构(组织 / 员工 / 职位)
// 进销存(erp)与办公自动化(oa)各有独立页面,但读写同一份组织数据。
{
path: "/apps/erp/organization",
name: "ErpOrganization",
component: () => import("@/views/apps/erp/organization/index.vue"),
meta: { requiresAuth: true, title: "组织架构", modulePath: "/apps/erp" }
},
{
path: "/apps/erp/employee",
name: "ErpEmployee",
component: () => import("@/views/apps/erp/employee/index.vue"),
meta: { requiresAuth: true, title: "员工管理", modulePath: "/apps/erp" }
},
{
path: "/apps/erp/position",
name: "ErpPosition",
component: () => import("@/views/apps/erp/position/index.vue"),
meta: { requiresAuth: true, title: "职位管理", modulePath: "/apps/erp" }
},
{
path: "/apps/oa/organization",
name: "Organization",
component: () => import("@/views/apps/organization/components/OrganizationPage.vue"),
props: { module: "oa" },
meta: { requiresAuth: true, title: "组织架构", modulePath: "/apps/oa" }
},
{
path: "/apps/oa/employee",
name: "Employee",
component: () => import("@/views/apps/organization/components/EmployeePage.vue"),
props: { module: "oa" },
meta: { requiresAuth: true, title: "人员管理", modulePath: "/apps/oa" }
},
{
path: "/apps/oa/position",
name: "Position",
component: () => import("@/views/apps/organization/components/PositionPage.vue"),
props: { module: "oa" },
meta: { requiresAuth: true, title: "职位管理", modulePath: "/apps/oa" }
},
{
path: "/apps/oa/employeefile",
name: "EmployeeFile",
component: () => import("@/views/apps/oa/employeefile/index.vue"),
meta: { requiresAuth: true, title: "员工档案", modulePath: "/apps/oa" }
},
{
path: "/apps/oa/schedule",
name: "OaSchedule",
component: () => import("@/views/apps/oa/schedule/index.vue"),
meta: { requiresAuth: true, title: "日程管理", modulePath: "/apps/oa" }
},
{
path: "/tools/passwordStore",
name: "BackendPasswordStore",
component: () => import("@/views/tools/passwordStore/index.vue"),
meta: { requiresAuth: true, title: "密码存储" }
},
// 兼容拼写错误的路径重定向
{
path: "/apps/erp/dashborad",