feat: 服务器批量导入全栈实现 + SQL审计模型修复 + 审批流程增强

服务器批量导入:
- 后端 BatchCreateServers handler: 逐条校验/查重/GB→MB转换/错误明细
- 前端 CSV 解析器 + IP校验 + 模板下载 + 真实API导入
- 删除孤立占位组件 BatchImport.tsx

SQL审计:
- 修复 TableName 字段与 GORM 接口冲突 → TargetTable
- 补全路由注册 + AutoMigrate + 种子数据

审批流程增强 + 告警/菜单微调

// Logan.Li
This commit is contained in:
attacker committed 2026-06-15 02:12:05 +08:00
1 parent 6545597412
commit 77c33a6fee
16 files changed
+863 -573

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@ const menuItems: MenuItem[] = [
{ id: 'agent-alerts', name: 'Agent告警', icon: AlertTriangle, path: '/agent-alerts' },
],
},
{ id: 'approval', name: '审批流程', icon: CheckSquare, path: '/approval' },
{ id: 'approval', name: '资源申请', icon: CheckSquare, path: '/approval' },
{ id: 'navigation', name: '站内导航', icon: Compass, path: '/navigation' },
{
id: 'automation',