docs: align aftersales README and AGENTS conventions
This commit is contained in:
@@ -104,6 +104,16 @@ src/
|
||||
- `PublicQuery` auto-redirects scanned `zjbf-sh-*` serials to `/aftersales/:serialNumber`
|
||||
- Shared public-page chrome (logo + 备案 footer) lives in `components/PublicLayout.tsx`
|
||||
|
||||
### Aftersales Conventions
|
||||
- Aftersales serial format is `zjbf-sh-YYMMDDNN` (daily sequence), e.g. `zjbf-sh-26052801`.
|
||||
- Service type values must use `software` / `hardware` / `maintenance`:
|
||||
- `software`: 软件故障
|
||||
- `hardware`: 硬件故障
|
||||
- `maintenance`: 售后维保
|
||||
- Use label text `问题描述反馈` for `issueDescription` in create/detail/public-confirm views.
|
||||
- In admin detail page, use `工单分配` as the UI label for reassign action.
|
||||
- Signature display text should be `客户确认签名`.
|
||||
|
||||
### State Management
|
||||
- Use React hooks (`useState`, `useEffect`) for local component state
|
||||
- Authentication state persisted in localStorage via authApi
|
||||
|
||||
Reference in New Issue
Block a user