21 lines
914 B
Markdown
21 lines
914 B
Markdown
## ADDED Requirements
|
|
|
|
### Requirement: IoT Card Management Gateway IMEI Column
|
|
|
|
The IoT card management page SHALL display `gateway_card_imei` from `GET /api/admin/iot-cards/standalone` as an `IMEI` column in the list.
|
|
|
|
#### Scenario: Show IMEI when standalone list returns gateway_card_imei
|
|
|
|
- **GIVEN** 用户正在使用 IoT 卡管理列表
|
|
- **AND** `GET /api/admin/iot-cards/standalone` 返回的某条卡记录包含 `gateway_card_imei`
|
|
- **WHEN** 页面渲染列表行数据
|
|
- **THEN** 页面 MUST 提供 `IMEI` 列
|
|
- **AND** 对应行 MUST 直接展示该条记录返回的 `gateway_card_imei`
|
|
|
|
#### Scenario: Show placeholder when gateway_card_imei is missing
|
|
|
|
- **GIVEN** 用户正在使用 IoT 卡管理列表
|
|
- **AND** `GET /api/admin/iot-cards/standalone` 返回的某条卡记录未返回有效 `gateway_card_imei`
|
|
- **WHEN** 页面渲染该列表行
|
|
- **THEN** 该行的 `IMEI` 列 MUST 显示 `-`
|