feat: 菜单按业务域重排为7组 + 预警中心更名异常告警 + AGV独立权限码与齐套测算分账明细
This commit is contained in:
@@ -111,8 +111,8 @@ func RegisterHandlers(server *rest.Server, ctx *svc.ServiceContext) {
|
||||
// 出库(统一主表:备料出库 workorder / 通用出库 general,装箱信息落在同一张表)
|
||||
server.AddRoutes(
|
||||
[]rest.Route{
|
||||
{Method: http.MethodPost, Path: "/api/outbound/general", Handler: makeOutboundHandler(ctx, "general")},
|
||||
{Method: http.MethodPost, Path: "/api/outbound/project", Handler: makeOutboundHandler(ctx, "project")},
|
||||
{Method: http.MethodPost, Path: "/api/outbound/general", Handler: requirePerm(ctx, "outbound:general", makeOutboundHandler(ctx, "general"))},
|
||||
{Method: http.MethodPost, Path: "/api/outbound/project", Handler: requirePerm(ctx, "outbound:project", makeOutboundHandler(ctx, "project"))},
|
||||
{Method: http.MethodGet, Path: "/api/outbound/query", Handler: queryOutboundHandler(ctx)},
|
||||
{Method: http.MethodGet, Path: "/api/outbound/export", Handler: exportOutboundHandler(ctx)},
|
||||
// 出库库位联动:优先批次在库库位,其次该物料最近一次入库库位(客户诉求 一.9「出库相同」)
|
||||
@@ -335,7 +335,7 @@ func RegisterHandlers(server *rest.Server, ctx *svc.ServiceContext) {
|
||||
},
|
||||
)
|
||||
|
||||
// 预警中心(顶栏铃铛 + 预警列表):JWT 鉴权后注册
|
||||
// 异常告警(顶栏铃铛 + 告警列表):JWT 鉴权后注册
|
||||
server.AddRoutes(
|
||||
[]rest.Route{
|
||||
{Method: http.MethodGet, Path: "/api/alerts", Handler: listAlertsHandler(ctx)},
|
||||
|
||||
Reference in New Issue
Block a user