feat: 新增产线看板功能并优化多端系统体验

1. 新增SSE看板广播机制,业务操作后主动推送刷新事件
2. 新增产线工序横道图与工位状态展示面板
3. 移除dashboard无用的three.js依赖
4. 重构WMS客户端布局与WMS前端资源哈希
5. 新增工位终端时钟图标与大屏自适应布局
6. 新增系统截图脚本与说明书生成工具
7. 修复多处代码细节与空值处理逻辑
This commit is contained in:
SunYF
2026-09-04 17:31:18 +08:00
parent b6799c9de4
commit 92f0439d89
64 changed files with 2263 additions and 633 deletions
+2
View File
@@ -97,6 +97,7 @@ func (s *Service) GenerateMaterialRequest(ctx context.Context, planDate string,
}
}
s.ctx.EventLog.Write(ctx, "material.request.generate", "", operator, "material_request", planDate, "按日排产自动生成备料单", map[string]any{"planDate": planDate, "count": created})
s.notifyDashboard()
return created, nil, nil
}
@@ -127,5 +128,6 @@ func (s *Service) SetMaterialRequestStatus(ctx context.Context, requestNo, statu
if n == 0 {
return errors.New("备料单不存在")
}
s.notifyDashboard()
return nil
}