批量优化产品和产品分类

This commit is contained in:
2026-09-12 00:44:13 +08:00
parent 184c604bee
commit 2b1874943f
33 changed files with 2595 additions and 59 deletions
+19
View File
@@ -54,6 +54,13 @@ const staticMainChildren = [
component: () => import("@/views/apps/cms/solution/type/index.vue"),
meta: { requiresAuth: true, title: "解决方案分类", modulePath: "/apps/cms" }
},
// CRM 产品管理(产品台账/目录):项目生成时自动写入产品参数
{
path: "/apps/crm/product",
name: "CrmProduct",
component: () => import("@/views/apps/crm/product/index.vue"),
meta: { requiresAuth: true, title: "产品管理", modulePath: "/apps/crm" }
},
// 兼容旧路径:articles/* -> article/*
{
path: "/apps/cms/articles",
@@ -63,6 +70,18 @@ const staticMainChildren = [
path: "/apps/cms/articles/category",
redirect: "/apps/cms/article/type"
},
// CRM 产品分类(用户自定义产品归类):产品表单的分类下拉取自该表
{
path: "/apps/crm/product/cate",
name: "CrmProductCategory",
component: () => import("@/views/apps/crm/product/cate.vue"),
meta: { requiresAuth: true, title: "产品分类", modulePath: "/apps/crm" }
},
// 兼容带 .vue 后缀的菜单路径
{
path: "/apps/crm/product/cate.vue",
redirect: "/apps/crm/product/cate"
},
{
path: "/user/userProfile",
name: "userProfile",