Files
luo d3b5f55c64
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 3m41s
feat:更换企业授权
2026-06-22 10:36:33 +08:00

1.2 KiB

ADDED Requirements

Requirement: Enterprise Customer Asset Authorization Entry Removal

The enterprise customer management page SHALL NOT provide enterprise card or device authorization entry points, and the replaced “企业卡管理” and “企业设备列表” pages SHALL be removed because these operations move to the IoT card management and device management list pages.

Scenario: Enterprise customer action column no longer shows asset authorization

  • GIVEN 用户访问企业客户管理页面
  • WHEN the action column renders for an enterprise customer row
  • THEN the UI MUST NOT show “卡授权”
  • AND the UI MUST NOT show “设备授权”

Scenario: Replaced enterprise asset authorization pages are removed

  • GIVEN the application routes are registered
  • WHEN route configuration is loaded
  • THEN /asset-management/enterprise-cards MUST NOT be registered
  • AND /asset-management/enterprise-devices MUST NOT be registered
  • AND route aliases for EnterpriseCards and EnterpriseDevices MUST NOT remain
  • AND src/views/asset-management/enterprise-cards/index.vue MUST be deleted
  • AND src/views/asset-management/enterprise-devices/index.vue MUST be deleted