feat(alarms): 完成 M06 报警中心与人工处理

落地正式异常创建/合并、三状态人工处置与控制台,关闭 M06 DONE_LOCAL(含 D40 认领文案「处理」)。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
unknownandCursor committed 2026-11-19 15:27:06 +08:00
1 parent df991417d7
commit 47d3b85a4b
88 files changed
+12658 -30

No files matched your search

+167
View File
@@ -38,6 +38,7 @@
"datasources": "Data sources",
"queries": "Queries",
"mappings": "Mappings & Rules",
"alarms": "Alarms",
"create": "New",
"detail": "Details",
"version": "Version v{no}"
@@ -453,5 +454,171 @@
"unsupported_engine": "This data source engine is not supported yet",
"unsupported_datasource": "This data source type is not supported yet"
}
},
"alarm": {
"list": {
"filterModule": "Module",
"filterScenario": "Scenario name",
"filterObject": "Object id",
"filterStatus": "Status",
"filterFrom": "Last seen from",
"filterTo": "Last seen to",
"filterSearch": "Search",
"filterReset": "Reset",
"loadFailed": "The alarm list could not be loaded",
"retry": "Retry",
"empty": "No alarms yet",
"emptyHint": "There are no alarms in the current handling scope.",
"noMatch": "No alarms match these filters",
"noMatchHint": "Change the filters, or reset them.",
"noScope": "No handling scope, so alarms stay hidden",
"noScopeHint": "This account has no subject that can see alarms. That does not mean the tenant has none.",
"forbidden": "No permission to view alarms",
"objectInvalid": "The object id must be a full id",
"timeOrder": "The start time cannot be later than the end time",
"resultSep": " · "
},
"columns": {
"module": "Module",
"scenario": "Scenario",
"object": "Object",
"lastOccurred": "Last seen",
"status": "Status",
"actions": "Actions"
},
"status": {
"pending": "Pending",
"processing": "In progress",
"closed": "Closed"
},
"closeResult": {
"resolved": "Handled",
"false_positive": "False positive"
},
"actions": {
"open": "Open",
"back": "Back to list",
"claim": "Handle",
"progress": "Add progress",
"close": "Close",
"submitting": "Submitting"
},
"role": {
"watchman-admin": "Admin",
"watchman-operator": "Operator",
"watchman-viewer": "Viewer"
},
"detail": {
"loading": "Loading alarm",
"loadFailed": "The alarm could not be loaded",
"sectionFailed": "Some sections did not load",
"notFound": "This alarm was not found",
"summary": "Summary",
"occurrences": "Observations",
"occurrencesHint": "Each observation shows only the time, cycle, and event returned by the API.",
"occurrencesEmpty": "No observations yet",
"evidence": "Basis",
"revisionEvidence": "Same-cycle revision basis",
"revisionEmpty": "No revision basis",
"closedBasis": "Basis after close",
"closedBasisEmpty": "No basis after close",
"closedBasisHint": "These records were kept after the alarm was closed. The alarm stays closed, and the last-seen time and observation count do not change because of them.",
"history": "Handling history",
"historyEmpty": "No handling history yet",
"fields": {
"status": "Status",
"scenario": "Scenario",
"module": "Module",
"scenarioKey": "Scenario key",
"object": "Object",
"count": "Observations",
"firstOccurred": "First seen",
"lastOccurred": "Last seen",
"handler": "Current handler",
"claimedAt": "Handling started at",
"closedAt": "Closed at",
"cycle": "Cycle",
"event": "Event",
"openedAt": "Opened at",
"updatedAt": "Updated at",
"previous": "Previous linked alarm",
"none": "None"
}
},
"occurrence": {
"observedAt": "Observed at",
"receivedAt": "Received at",
"cycle": "Cycle",
"event": "Event"
},
"evidenceCols": {
"receivedAt": "Received at",
"recordedAt": "Recorded at",
"observedAt": "Observed at",
"snapshotVersion": "Snapshot version",
"cycle": "Cycle",
"event": "Event"
},
"historyCols": {
"seq": "Seq",
"command": "Action",
"actor": "Actor",
"handler": "Handler",
"note": "Note",
"result": "Result",
"evidence": "Evidence ref",
"at": "Time"
},
"commandName": {
"claim": "Handle",
"progress": "Progress",
"close": "Close"
},
"progressDialog": {
"title": "Add progress",
"note": "Note",
"notePlaceholder": "What was done this time",
"evidence": "Evidence ref",
"evidencePlaceholder": "Optional",
"required": "A note is required",
"cancel": "Cancel",
"submit": "Save progress"
},
"closeDialog": {
"title": "Close alarm",
"result": "Close result",
"resultPlaceholder": "Choose a result",
"note": "Note",
"notePlaceholder": "Why it is being closed this way",
"evidence": "Evidence ref",
"evidencePlaceholder": "Optional",
"resultRequired": "Choose a close result",
"noteRequired": "A note is required",
"cancel": "Cancel",
"submit": "Confirm close"
},
"command": {
"claimed": "Handling started",
"progressSaved": "Progress saved",
"closed": "Closed",
"failed": "The action did not finish",
"conflictRefreshed": "The page was refreshed to the latest state"
},
"errors": {
"already_claimed": "This alarm already has a handler",
"not_current_handler": "Only the current handler can do this",
"illegal_transition": "This action is not available in the current state",
"already_closed": "This alarm is already closed",
"idempotency_payload_mismatch": "This submit id was already used for different content",
"handling_history_missing": "The handling record is incomplete. Refresh and try again",
"idempotency_key_required": "A submit id is missing. Try again",
"idempotency_key_too_long": "The submit id is too long",
"note_invalid": "The note is not valid",
"evidence_ref_invalid": "The evidence ref is not valid",
"close_result_invalid": "The close result is not valid",
"not_found": "This alarm was not found",
"forbidden": "Not allowed ({node})",
"forbiddenPlain": "Not allowed to finish this action"
}
}
}