Bug1 — 任务总数与进度条不匹配: tasks_total 从全库历史总数改为 PENDING+WIP+COMPLETED(时段)+REJECTED(时段) 确保进度条4段之和 = 显示的总数, 不再出现11≠9的缺口 Bug2 — 在制品排序混乱: 移除DB层order_by, 改为Python统一按duration_hours降序 无视status, 纯数值排序, 滞留最久排最前 取limit*2条后在Python中排序再截断 Bug3 — 留言板产品显示割裂: [Tag:SN] 物料名 → 物料名 (SN: A1B2C3D4...) 物料名加粗, SN等宽灰色, 阅读更顺畅
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the Oxlint configuration
If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["react", "typescript", "oxc"],
"options": {
"typeAware": true
},
"rules": {
"react/rules-of-hooks": "error",
"react/only-export-components": ["warn", { "allowConstantExport": true }]
}
}
See the Oxlint rules documentation for the full list of rules and categories.