feat: 迁移预警处理审核与备注附件流程

This commit is contained in:
Yvan
2026-11-03 20:40:16 +08:00
parent 7203c34409
commit 838c2c496f
36 changed files with 2312 additions and 13 deletions
+8
View File
@@ -41,6 +41,14 @@ type routeValue struct {
// Gin router files still bind handlers; tests keep those registrations aligned
// with this catalog while public, audit and API metadata live only here.
var routes = map[string]routeValue{
"GET /sw/alertRecord/list": {group: "预警记录", description: "查询预警列表及状态统计"},
"GET /sw/alertRecord/detail/:id": {group: "预警记录", description: "查询预警详情及操作记录"},
"POST /sw/alertRecord/startProcess": {group: "预警记录", description: "开始处理预警", audit: true},
"POST /sw/alertRecord/submitAudit": {group: "预警记录", description: "提交预警审核", audit: true},
"POST /sw/alertRecord/approve": {group: "预警记录", description: "审核通过预警", audit: true},
"POST /sw/alertRecord/reject": {group: "预警记录", description: "审核驳回预警", audit: true},
"POST /sw/alertRecord/reProcess": {group: "预警记录", description: "重新处理预警", audit: true},
"POST /sw/alertRecord/addNote": {group: "预警记录", description: "添加预警备注及附件", audit: true},
"GET /sw/alertRule/list": {group: "预警规则", description: "查询预警规则"},
"GET /sw/alertRule/ruleTypes": {group: "预警规则", description: "查询历史预警分类"},
"GET /sw/alertRule/:id": {group: "预警规则", description: "查询规则详情"},