cff6982613
## 停用的 8 套直接删了 上一个提交把老方案(按 3 段配的)改名停用没删,理由是「万一新内容有问题 还能翻回去看」。你要求删掉,删了。 走 service 的 DeleteTemplate 而不是直接删主表:明细要跟着一起清。 复查孤儿明细 0 条。剩 10 套(5 阶段 × 2 物种,各一套)。 已套用出去的计划节点不受影响 —— 套用时就展开成实体行、和模板断开了。 ## 按猫狗分 tab 混在一起 10 套要上下找,而且阶段名两边一样(幼年期/青年期…),扫一眼分不清 哪套是猫的。tab 上带条数,「阶段」列不再重复物种。 顺带两处: 行按阶段顺序排 —— 数据库按 sort 排,但 sort 是全局的,分物种看时会跳号 新建时默认跟当前 tab 的物种,省一步点击 品种管理页本来就有猫狗 tab;记录事项页不分物种(记录类型猫狗共用)。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.