Files
sexygoat 894aea0e74
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m56s
feat: 新增卡视角以及设备视角的实名同步时间,卡状态同步时间,流量同步时间
2026-05-18 12:23:35 +08:00

1.2 KiB

ADDED Requirements

Requirement: Device Batch Series Binding Range Allocation Hint

The device batch series binding dialog SHALL provide a derived allocation-count hint for device-number range selection.

The hint MUST appear immediately below the virtual_no_start and virtual_no_end inputs.

The count MUST be computed as 结束设备号 - 起始设备号 + 1 using the same numeric range values accepted by the dialog.

Scenario: Show allocation count for a valid device-number range

  • GIVEN 用户打开“批量设置设备套餐系列绑定”弹窗
  • AND 用户选择 selection_type="range"
  • WHEN 用户输入 virtual_no_startvirtual_no_end,且计算结果为正整数
  • THEN 弹窗 MUST 显示 共分配xxx台设备
  • AND xxx MUST 等于 结束设备号 - 起始设备号 + 1
  • AND 当任一端点变化时,提示 MUST 立即更新

Scenario: Hide count hint for incomplete or invalid device-number ranges

  • GIVEN 用户选择 selection_type="range"
  • WHEN 任一起止设备号为空、无法按有效数值范围计算,或计算结果小于 1
  • THEN 弹窗 MUST NOT 显示误导性的分配数量提示