feat: order-export,generation,status
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m45s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m45s
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Order Export Scene Support
|
||||
|
||||
The system SHALL support `scene="order"` for creating export tasks from the order management list.
|
||||
|
||||
#### Scenario: Create order export task from order management
|
||||
|
||||
- **GIVEN** 用户在订单管理页设置了列表检索条件
|
||||
- **AND** 当前用户具备订单导出权限
|
||||
- **WHEN** 用户确认创建导出任务
|
||||
- **THEN** 系统 MUST submit `scene="order"`
|
||||
- **AND** 系统 MUST submit the current order list filter conditions as `query`
|
||||
|
||||
### Requirement: Order Export in Export Task List
|
||||
|
||||
The admin frontend SHALL display "订单管理" as a selectable scene option when filtering export tasks.
|
||||
|
||||
#### Scenario: Filter export tasks by order scene
|
||||
|
||||
- **GIVEN** 用户打开导出列表页面
|
||||
- **WHEN** 用户选择「订单管理」作为场景筛选条件
|
||||
- **THEN** 系统 MUST call `GET /api/admin/export-tasks` with `scene=order`
|
||||
|
||||
## MODIFIED Requirements
|
||||
|
||||
### Requirement: Reusable Export Task Creation Dialog
|
||||
|
||||
The admin frontend already provides a reusable dialog for creating export tasks. This requirement adds the order scene to the scene name mapping.
|
||||
|
||||
#### Scenario: Display order scene name in dialog
|
||||
|
||||
- **GIVEN** 导出弹窗通过 `scene="order"` 打开
|
||||
- **WHEN** 弹窗渲染
|
||||
- **THEN** 弹窗 MUST display "订单管理" as the scene name
|
||||
Reference in New Issue
Block a user