## 新增服务模块 ### 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": "ebebaf26-9cb6-497e-8119-4c9fed4c597c",
|
|
"nodeName": "开始",
|
|
"permissionFlag": null,
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": null,
|
|
"listenerPath": null,
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[]",
|
|
"coordinate": "300,220|300,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "ebebaf26-9cb6-497e-8119-4c9fed4c597c",
|
|
"nextNodeCode": "e1b04e96-dc81-4858-a309-2fe945d2f374",
|
|
"coordinate": "320,220;350,220;350,220;340,220;340,220;370,220"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "1",
|
|
"nodeCode": "e1b04e96-dc81-4858-a309-2fe945d2f374",
|
|
"nodeName": "申请人",
|
|
"permissionFlag": "",
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": "",
|
|
"listenerPath": "",
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[{\"code\":\"ButtonPermissionEnum\",\"value\":\"back,termination,file\"}]",
|
|
"coordinate": "420,220|420,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "e1b04e96-dc81-4858-a309-2fe945d2f374",
|
|
"nextNodeCode": "3e743f4f-51ca-41d4-8e94-21f5dd9b59c9",
|
|
"coordinate": "470,220;535,220"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "4",
|
|
"nodeCode": "3e743f4f-51ca-41d4-8e94-21f5dd9b59c9",
|
|
"permissionFlag": null,
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": null,
|
|
"listenerPath": null,
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[]",
|
|
"coordinate": "560,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "3e743f4f-51ca-41d4-8e94-21f5dd9b59c9",
|
|
"nextNodeCode": "c80f273e-1f17-4bd8-9ad1-04a4a94ea862",
|
|
"coordinate": "560,245;560,320;650,320"
|
|
},
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "3e743f4f-51ca-41d4-8e94-21f5dd9b59c9",
|
|
"nextNodeCode": "1e3e8d3b-18ae-4d6c-a814-ce0d724adfa4",
|
|
"coordinate": "560,195;560,120;650,120"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "1",
|
|
"nodeCode": "c80f273e-1f17-4bd8-9ad1-04a4a94ea862",
|
|
"nodeName": "会签",
|
|
"permissionFlag": "role:1@@role:3",
|
|
"nodeRatio": "100.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": "",
|
|
"listenerPath": "",
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[{\"code\":\"ButtonPermissionEnum\",\"value\":\"back,termination,file,addSign,subSign\"}]",
|
|
"coordinate": "700,320|700,320",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "c80f273e-1f17-4bd8-9ad1-04a4a94ea862",
|
|
"nextNodeCode": "1a20169e-3d82-4926-a151-e2daad28de1b",
|
|
"coordinate": "750,320;860,320;860,245"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "4",
|
|
"nodeCode": "1a20169e-3d82-4926-a151-e2daad28de1b",
|
|
"permissionFlag": null,
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": null,
|
|
"listenerPath": null,
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[]",
|
|
"coordinate": "860,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "1a20169e-3d82-4926-a151-e2daad28de1b",
|
|
"nextNodeCode": "7a8f0473-e409-442e-a843-5c2b813d00e9",
|
|
"coordinate": "885,220;950,220"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "1",
|
|
"nodeCode": "7a8f0473-e409-442e-a843-5c2b813d00e9",
|
|
"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": "1000,220|1000,220",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "7a8f0473-e409-442e-a843-5c2b813d00e9",
|
|
"nextNodeCode": "03c4d2bc-58b5-4408-a2e4-65afb046f169",
|
|
"coordinate": "1050,220;1120,220"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nodeType": "2",
|
|
"nodeCode": "03c4d2bc-58b5-4408-a2e4-65afb046f169",
|
|
"nodeName": "结束",
|
|
"permissionFlag": null,
|
|
"nodeRatio": "0.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": null,
|
|
"listenerPath": null,
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[]",
|
|
"coordinate": "1140,220|1140,220",
|
|
"version": "1",
|
|
"skipList": []
|
|
},
|
|
{
|
|
"nodeType": "1",
|
|
"nodeCode": "1e3e8d3b-18ae-4d6c-a814-ce0d724adfa4",
|
|
"nodeName": "百分之60票签",
|
|
"permissionFlag": "${userList}",
|
|
"nodeRatio": "60.000",
|
|
"anyNodeSkip": null,
|
|
"listenerType": "",
|
|
"listenerPath": "",
|
|
"formCustom": "N",
|
|
"formPath": null,
|
|
"ext": "[{\"code\":\"ButtonPermissionEnum\",\"value\":\"back,termination,file,addSign,subSign\"}]",
|
|
"coordinate": "700,120|700,120",
|
|
"version": "1",
|
|
"skipList": [
|
|
{
|
|
"skipType": "PASS",
|
|
"skipCondition": null,
|
|
"skipName": null,
|
|
"nowNodeCode": "1e3e8d3b-18ae-4d6c-a814-ce0d724adfa4",
|
|
"nextNodeCode": "1a20169e-3d82-4926-a151-e2daad28de1b",
|
|
"nextNodeType": "4",
|
|
"coordinate": "750,120;860,120;860,195"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"flowCode": "leave5",
|
|
"flowName": "请假申请-并行会签网关",
|
|
"modelValue": "CLASSICS",
|
|
"category": "103",
|
|
"version": "1",
|
|
"formCustom": "N",
|
|
"formPath": "/workflow/leaveEdit/index",
|
|
"listenerType": null,
|
|
"listenerPath": null
|
|
}
|