统一详情页操作区模板(05-31-unify-business-detail-ant-design)

这个提交包含在:
2026-05-31 12:21:42 +08:00
父节点 7b5476a70e
当前提交 2bcd9012f7
共修改 11 个文件,包含 513 行新增和 178 行删除
@@ -326,6 +326,19 @@ matrices and actions explicit in each page.
lists, prefer `BusinessListToolbar`, `BusinessTable`, `BusinessTableFrame`,
`BusinessMobileList` and shared empty states from
`client/src/components/patterns/BusinessListTemplate.tsx`.
- For PC business detail pages, prefer the thin components in
`client/src/components/patterns/BusinessDetailTemplate.tsx`:
`BusinessDetailWorkspace`, `BusinessDetailMain`, `BusinessDetailAside`,
`BusinessDetailActionPanel`, `BusinessDetailFactGrid` and
`BusinessDetailFact`. They define the Ant Design Pro style coordinates only:
main facts/evidence/history on the left, status/actions/compact summary on
the right. Keep the page's business fields, permission checks, state
conditions and API calls explicit in the page component.
- `BusinessDetailActionPanel` is the default PC detail operation surface.
Use one primary action for save/create when the detail owns editing; use a
horizontal action bar for approval actions; move low-frequency actions into
`更多` or a clearly named grouped section. Do not add a second page-local
`操作` card or a separate `摘要` card under the same right column.
- Do not create a configuration-driven page generator for reimbursement,
procurement, contracts, projects, assets, payments, AP or invoices. These
pages have different permissions, state transitions, attachment rules and