增加单位功能

This commit is contained in:
2026-09-14 00:09:58 +08:00
parent a8c09c1db5
commit 6f106e43af
22 changed files with 1473 additions and 128 deletions
+19
View File
@@ -82,6 +82,25 @@ const staticMainChildren = [
path: "/apps/crm/product/cate.vue",
redirect: "/apps/crm/product/cate"
},
// CRM 基本设置(单位设置等基础数据维护入口)
{
path: "/apps/crm/setting",
name: "CrmSetting",
component: () => import("@/views/apps/crm/setting/index.vue"),
meta: { requiresAuth: true, title: "基本设置", modulePath: "/apps/crm" }
},
// CRM 单位设置(产品等业务的「单位」下拉取自该表)
{
path: "/apps/crm/setting/unit",
name: "CrmSettingUnit",
component: () => import("@/views/apps/crm/setting/unit/index.vue"),
meta: { requiresAuth: true, title: "单位设置", modulePath: "/apps/crm" }
},
// 兼容带 .vue 后缀的菜单路径
{
path: "/apps/crm/setting/unit.vue",
redirect: "/apps/crm/setting/unit"
},
{
path: "/user/userProfile",
name: "userProfile",