统一详情页操作区模板(05-31-unify-business-detail-ant-design)
这个提交包含在:
@@ -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
|
||||
|
||||
在新工单中引用
屏蔽一个用户