## 新增服务模块 ### 1. ERP服务 (hzhub-erp) - 新增独立的ERP数据适配服务 - 支持SQL Server 2008 R2数据源 - 提供动态API配置管理系统 - 包含客户管理、销售数据等业务接口 ### 2. 系统服务 (hzhub-system) - 新增独立的系统管理服务 - 用户、角色、权限、部门、菜单管理 - 租户管理、操作日志、在线用户监控 - 工作流引擎(warm-flow)集成 - 企业微信审批同步功能 ### 3. API网关 (hzhub-gateway) - 新增Spring Cloud Gateway网关服务 - JWT认证、路由分发、限流熔断 - XSS防护、请求日志记录 - 统一入口端口8080 ## 后台管理功能增强 ### ERP动态API管理 - 新增动态API配置管理界面 - API测试、文档预览、统计监控 - 错误日志查看、缓存管理 - 从数据库表自动导入API配置 ### 系统管理增强 - 企业微信配置管理 - 企业微信审批同步配置 - 部门和用户管理优化 ## 员工门户功能完善 ### 业务页面 - 审批中心:工作流审批、待办任务 - CRM管理:客户关系管理 - 经销商管理:经销商数据展示 - 供应链管理:采购、库存、销售 - BI报表:数据可视化分析 - ERP数据探索:SQL Server数据查询 ### 个人中心 - 基本设置:个人信息管理 - 安全设置:密码修改、登录日志 - 锁屏功能:自动锁屏、手动锁屏 ### 其他功能 - 标签页管理:多标签页导航 - 页面缓存:keepAlive缓存机制 - 会话超时:自动检测并提示 ## 经销商门户 ### 页面路由 - 新增经销商管理页面路由 - AI聊天界面完善 ## 文档更新 - ERP API数据库初始化指南 - ERP API前端完整实现文档 - ERP API测试和验证指南 - Gateway路由迁移计划 - 项目配置文档更新 ## 部署脚本 - 统一启动/停止/重启脚本 - Docker Compose配置优化 - Nginx配置文件更新 ## 技术栈 - 后端: Spring Boot 3.5.8, Java 17 - 前端: Vue 3, TypeScript, Element Plus, Vben Admin - 工作流: warm-flow 1.8.2 - 网关: Spring Cloud Gateway - 数据库: MySQL 8.0, SQL Server 2008 R2 - 缓存: Redis 7 - 向量库: Weaviate 1.25.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
212 lines
6.1 KiB
JSON
Executable File
212 lines
6.1 KiB
JSON
Executable File
{
|
|
"nodeList": [
|
|
{
|
|
"nodeType": "0",
|
|
"nodeCode": "a80ecf9f-f465-4ae5-a429-e30ec5d0f957",
|
|
"nodeName": "开始",
|
|
"permissionFlag": null,
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": null,
|
|
"listenerPath": null,
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[]",
|
|
"coordinate": "380,220|380,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "a80ecf9f-f465-4ae5-a429-e30ec5d0f957",
|
|
"nextNodeCode": "b7bbb571-06de-455c-8083-f83c07bf0b99",
|
|
"coordinate": "400,220;470,220"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "1",
|
|
"nodeCode": "b7bbb571-06de-455c-8083-f83c07bf0b99",
|
|
"nodeName": "申请人",
|
|
"permissionFlag": "",
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": "",
|
|
"listenerPath": "",
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[{\"code\":\"ButtonPermissionEnum\",\"value\":\"back,termination,file\"}]",
|
|
"coordinate": "520,220|520,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "b7bbb571-06de-455c-8083-f83c07bf0b99",
|
|
"nextNodeCode": "84d7ed24-bb44-4ba1-bf1f-e6f5092d3f0a",
|
|
"coordinate": "570,220;655,220"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "4",
|
|
"nodeCode": "84d7ed24-bb44-4ba1-bf1f-e6f5092d3f0a",
|
|
"permissionFlag": null,
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": null,
|
|
"listenerPath": null,
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[]",
|
|
"coordinate": "680,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "84d7ed24-bb44-4ba1-bf1f-e6f5092d3f0a",
|
|
"nextNodeCode": "4b7743cd-940c-431b-926f-e7b614fbf1fe",
|
|
"coordinate": "680,195;680,140;750,140"
|
|
},
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "84d7ed24-bb44-4ba1-bf1f-e6f5092d3f0a",
|
|
"nextNodeCode": "762cb975-37d8-4276-b6db-79a4c3606394",
|
|
"coordinate": "680,245;680,300;750,300"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "1",
|
|
"nodeCode": "4b7743cd-940c-431b-926f-e7b614fbf1fe",
|
|
"nodeName": "市场部",
|
|
"permissionFlag": "role:1",
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": "",
|
|
"listenerPath": "",
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[{\"code\":\"ButtonPermissionEnum\",\"value\":\"back,termination,file,transfer,trust,copy\"}]",
|
|
"coordinate": "800,140|800,140",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "4b7743cd-940c-431b-926f-e7b614fbf1fe",
|
|
"nextNodeCode": "b66b6563-f9fe-41cc-a782-f7837bb6f3d2",
|
|
"coordinate": "850,140;920,140;920,195"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "4",
|
|
"nodeCode": "b66b6563-f9fe-41cc-a782-f7837bb6f3d2",
|
|
"permissionFlag": null,
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": null,
|
|
"listenerPath": null,
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[]",
|
|
"coordinate": "920,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "b66b6563-f9fe-41cc-a782-f7837bb6f3d2",
|
|
"nextNodeCode": "23e7429e-2b47-4431-b93e-40db7c431ce6",
|
|
"coordinate": "945,220;975,220;975,220;960,220;960,220;990,220"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "1",
|
|
"nodeCode": "23e7429e-2b47-4431-b93e-40db7c431ce6",
|
|
"nodeName": "CEO",
|
|
"permissionFlag": "1",
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": "",
|
|
"listenerPath": "",
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[{\"code\":\"ButtonPermissionEnum\",\"value\":\"back,termination,file,transfer,trust,copy\"}]",
|
|
"coordinate": "1040,220|1040,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "23e7429e-2b47-4431-b93e-40db7c431ce6",
|
|
"nextNodeCode": "f5ace37f-5a5e-4e64-a6f6-913ab9a71cd1",
|
|
"coordinate": "1090,220;1140,220"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "2",
|
|
"nodeCode": "f5ace37f-5a5e-4e64-a6f6-913ab9a71cd1",
|
|
"nodeName": "结束",
|
|
"permissionFlag": null,
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": null,
|
|
"listenerPath": null,
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[]",
|
|
"coordinate": "1160,220|1160,220",
|
|
"version": "1",
|
|
"skipList": []
|
|
},
|
|
{
|
|
"nodeType": "1",
|
|
"nodeCode": "762cb975-37d8-4276-b6db-79a4c3606394",
|
|
"nodeName": "综合部",
|
|
"permissionFlag": "role:3@@role:4",
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": "",
|
|
"listenerPath": "",
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[{\"code\":\"ButtonPermissionEnum\",\"value\":\"back,termination,file,transfer,trust,copy\"}]",
|
|
"coordinate": "800,300|800,300",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "762cb975-37d8-4276-b6db-79a4c3606394",
|
|
"nextNodeCode": "b66b6563-f9fe-41cc-a782-f7837bb6f3d2",
|
|
"nextNodeType": "4",
|
|
"coordinate": "850,300;920,300;920,245"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"flowCode": "leave3",
|
|
"flowName": "请假申请-并行网关",
|
|
"modelValue": "CLASSICS",
|
|
"category": "103",
|
|
"version": "1",
|
|
"formCustom": "N",
|
|
"formPath": "/workflow/leaveEdit/index",
|
|
"listenerType": null,
|
|
"listenerPath": null
|
|
}
|