feat: 新增客户拜访、建筑、房间及项目全流程业务模块

本次提交新增了客户拜访、客户建筑、客户房间的完整业务模块,同时补充了项目勘察、项目方案、合同管理、项目验收、回访记录的全项目流程相关功能,包括:
1.  新增对应业务的实体类、DTO、控制器、服务层代码
2.  完善RBAC权限映射配置
3.  添加前端API、路由及页面菜单配置
4.  更新数据库种子数据补充菜单和权限绑定
This commit is contained in:
andyesfly committed 2026-08-26 14:08:08 +08:00
1 parent f61ade107b
commit 219091f864
53 files changed
+5990 -6

No files matched your search

+49 -1
View File
@@ -49,12 +49,60 @@ const routes: RouteRecordRaw[] = [
component: () => import("@/views/customer/account/index.vue"),
meta: { requiresAuth: true, title: "客户账号", permission: "customer:account" }
},
{
path: "customer/visit",
name: "CustomerVisit",
component: () => import("@/views/customer/visit/index.vue"),
meta: { requiresAuth: true, title: "客户拜访", permission: "customer:visit" }
},
{
path: "customer/building",
name: "CustomerBuilding",
component: () => import("@/views/customer/building/index.vue"),
meta: { requiresAuth: true, title: "客户建筑", permission: "customer:building" }
},
{
path: "customer/room",
name: "CustomerRoom",
component: () => import("@/views/customer/room/index.vue"),
meta: { requiresAuth: true, title: "客户房间", permission: "customer:room" }
},
{
path: "project",
name: "Project",
component: () => import("@/views/Placeholder.vue"),
redirect: "/project/survey",
meta: { requiresAuth: true, title: "项目管理", permission: "project:list" }
},
{
path: "project/survey",
name: "ProjectSurvey",
component: () => import("@/views/project/survey/index.vue"),
meta: { requiresAuth: true, title: "项目勘察", permission: "project:survey" }
},
{
path: "project/plan",
name: "ProjectPlan",
component: () => import("@/views/project/plan/index.vue"),
meta: { requiresAuth: true, title: "项目方案", permission: "project:plan" }
},
{
path: "project/contract",
name: "ProjectContract",
component: () => import("@/views/project/contract/index.vue"),
meta: { requiresAuth: true, title: "合同管理", permission: "project:contract" }
},
{
path: "project/acceptance",
name: "ProjectAcceptance",
component: () => import("@/views/project/acceptance/index.vue"),
meta: { requiresAuth: true, title: "项目验收", permission: "project:acceptance" }
},
{
path: "project/visit",
name: "ProjectVisit",
component: () => import("@/views/project/visit/index.vue"),
meta: { requiresAuth: true, title: "回访记录", permission: "project:visit" }
},
{
path: "dispatch",
name: "Dispatch",