feat(mid-section-defect): add TMTT reverse traceability analysis with paginated detail API

New page for tracing TMTT test station defects back to upstream machines,
stations, and workflows. Three-stage data pipeline (TMTT detection →
SPLITFROMID BFS + COMBINEDASSYLOTS merge expansion → upstream history),
6 KPI cards, 6 Pareto charts, daily trend, paginated LOT detail table.

Summary/detail API separation reduces response from 72 MB to ~16 KB summary
+ ~110 KB/page detail. Loss reasons cached in Redis with 24h TTL (205 types).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
egg
2026-02-10 08:24:04 +08:00
parent 720e190bc6
commit 8b1b8da59b
25 changed files with 3157 additions and 9 deletions

View File

@@ -78,6 +78,13 @@
"drawer_id": "queries",
"order": 5
},
{
"route": "/mid-section-defect",
"name": "中段製程不良追溯",
"status": "dev",
"drawer_id": "queries",
"order": 6
},
{
"route": "/admin/pages",
"name": "頁面管理",