refactor: 重构项目模块结构与代码细节优化

1.  调整后端模块路由与插件文件结构,迁移部分模块代码至api/v1目录
2.  优化代码注释格式与文档字符串,简化冗余代码
3.  添加监控仪表盘、工单评论等新模块功能
4.  修复前端部分组件交互逻辑与类型定义
5.  清理冗余的初始化数据与废弃配置文件
6.  新增租户注册表单字段与国际化支持
7.  优化HTTP请求拦截器与快捷键功能
This commit is contained in:
zhangtao
2026-07-10 00:18:11 +08:00
parent 349ab7b525
commit 5ff72b086f
323 changed files with 7633 additions and 15306 deletions
+8 -84
View File
@@ -1,91 +1,15 @@
[
{
"name": "集团总公司",
"code": "GROUP",
"name": "平台租户",
"code": "DEFAULT",
"order": 1,
"status": 0,
"leader": "张总",
"phone": "13800138000",
"email": "ceo@example.com",
"description": "集团总部",
"leader": "管理员",
"phone": "15382112620",
"email": "948080782@qq.com",
"description": "平台默认部门",
"parent_id": null,
"tenant_id": 1,
"children": [
{
"name": "技术研发部",
"code": "TECH",
"order": 1,
"status": 0,
"leader": "李工",
"phone": "13800138001",
"email": "tech@example.com",
"description": "负责技术研发",
"parent_id": null,
"tenant_id": 1,
"children": [
{
"name": "后端开发组",
"code": "BACKEND",
"order": 1,
"status": 0,
"leader": "王工",
"phone": "13800138002",
"email": "backend@example.com",
"description": "后端技术开发",
"parent_id": null,
"tenant_id": 1,
"children": []
},
{
"name": "前端开发组",
"code": "FRONTEND",
"order": 2,
"status": 0,
"leader": "陈工",
"phone": "13800138003",
"email": "frontend@example.com",
"description": "前端技术开发",
"parent_id": null,
"tenant_id": 1,
"children": []
}
]
},
{
"name": "产品运营部",
"code": "PRODUCT",
"order": 2,
"status": 0,
"leader": "赵经理",
"phone": "13800138004",
"email": "product@example.com",
"description": "产品与运营",
"parent_id": null,
"tenant_id": 1,
"children": []
},
{
"name": "人力资源部",
"code": "HR",
"order": 3,
"status": 0,
"leader": "刘经理",
"phone": "13800138005",
"email": "hr@example.com",
"description": "人事管理",
"parent_id": null,
"tenant_id": 1,
"children": []
}
]
},
{
"name": "测试租户技术部",
"code": "TEST_TECH",
"order": 1,
"tenant_id": 2,
"parent_id": null,
"status": 0,
"description": "测试租户技术部门"
"children": []
}
]
]