feat: 完成MES工位终端系统全量功能迭代
本次提交包含以下核心变更: 1. 新增按钮级权限控制框架与前端权限校验 2. 新增工位管理、工艺流程、巡检终端等核心业务模块 3. 完善用户体系,支持工位终端专属登录权限 4. 新增文件上传下载、报表查询等配套功能 5. 修复多系统兼容性与交互体验问题 6. 完成所有文档与配置项的规范化更新
This commit is contained in:
@@ -96,7 +96,7 @@ func (s *Syncer) flushTorque(ctx context.Context) int {
|
||||
}
|
||||
|
||||
// flushQueue 上报未同步的离线缓存队列,payload 原样透传:
|
||||
// - kind=process_done → POST /api/internal/station/done
|
||||
// - kind=process_done → POST /api/internal/station/report
|
||||
// - kind=temp_store → POST /api/internal/station/checkin
|
||||
//
|
||||
// 成功标记 synced=1;失败 synced 保持 0 并累计 retry_count。
|
||||
@@ -118,7 +118,7 @@ func (s *Syncer) flushQueue(ctx context.Context) int {
|
||||
var path string
|
||||
switch it.Kind {
|
||||
case "process_done":
|
||||
path = "/api/internal/station/done"
|
||||
path = "/api/internal/station/report"
|
||||
case "temp_store":
|
||||
path = "/api/internal/station/checkin"
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user